2016-04-26 75 views
1

我是Appium Mobile Automation工具的新手。我在线学习了几个教程,并且能够使用Mac机器上的Appium的“记录”功能记录测试。但是,我的要求是在Windows机器上生成测试用例。我正在寻找在Appium和偶然发现了这个 link如何在Windows上运行Appium Inspector?

我想我的本地Windows机器上运行,这一点,但有下列错误

Uncaught ReferenceError: require is not defined 
file:///C:/browser/icons/style.css Failed to load resource: net::ERR_FILE_NOT_FOUND 
file:///C:/browser/styles/style.css Failed to load resource: net::ERR_FILE_NOT_FOUND 
file:///C:/node_modules/angular-ui-layout/src/ui-layout.css Failed to load resource: net::ERR_FILE_NOT_FOUND 
file:///C:/node_modules/angular-material/angular-material.min.css Failed to load resource: net::ERR_FILE_NOT_FOUND 
http://localhost:35729/livereload.js Failed to load resource: net::ERR_CONNECTION_REFUSED 

任何人都可以指导我如何能得到这个运行我Windows机器?

回答

1

您必须使用uiautomator查看器来查找识别元素的路径,因为Windows中的记录器不起作用。

+0

检查员是否与录像机不同? –

+1

检查员是搜索图标,当你点击它时,打开的窗口提供记录选项,如果你点击记录你的脚本将被生成 – Emna

+1

好吧,但是我在这里关于这个https://github.com/ appium中的appium/appium-inspector库 –