我正在尝试自动测试一个移动应用程序,这是嵌入在本地应用程序框架中的HTML5。我使用以下代码来获取Instrument中的元素
UIALogger.logStart("Log elements in the landing page");
UIATarget.localTarget().logElementTree();
UIALogger.logPass("done");
它会将HTML5组件显示为UIAWebView。但是,例如,如果HTML中有一个链接,而我想要单击,我只能通过位置知道它。有没有什么方法可以调用来获取HTML5中的标签?
非常感谢!
I created one html5 application and generated war file and deployed it into tomcat server .
After that I tried to use tomcat url to run in android emulator, but it is not working . Showing that webpage is not available.
Can you please help on this issue.