
自动化测试
Justin_1011
这个作者很懒,什么都没留下…
展开
-
Selenium+webDriver 启动IE11 浏览器报错“org.openqa.selenium.NoSuchWindowException”
Selenium2+webDriver 启动IE11报错 org.openqa.selenium.NoSuchWindowException: Unable to get browser (WARNING: The server did not provide any stacktrace information) Command duration or timeout: 17 millisec原创 2016-07-07 15:33:45 · 8066 阅读 · 0 评论 -
AutoItX运行报错"com.jacob.com.ComFailException: Can't co-create object"
在java调用AutoItx 时候 加载dll 总是出现下面错误: com.jacob.com.ComFailException: Can't co-create object at com.jacob.com.Dispatch.createInstanceNative(Native Method) at com.jacob.com.Dispatch.(Dispatch.java:9原创 2016-08-16 10:28:43 · 4157 阅读 · 1 评论 -
Selenium 点击button 出现Windows窗口时候Selenium会Hang住!!!
1. 问题描述 使用Selenium webDriver 点击页面一个按钮,出现Print windows窗口,这时候 程序会挂住在Click操作上. 解决办法: 使用线程结合AutoItX.jar去关闭windows窗口,这样Selenium就会继续执行下面的测试脚本. 具体实现代码: // Click the Print button in the Document原创 2016-08-12 17:44:56 · 2637 阅读 · 0 评论 -
Appium 结合 SafariLuancher曲线救国启动IOS(真机) 自带Safari浏览器做自动化测试.
1. 环境介绍: Mac OS : 10.10.5 , Xcode 6.4, iPhone 4s, Appium 1.5.3(对应iPhone 版本与Mac OS ,Xcode 版本请自行查阅资料.) 开发者账号(必须). 本例子中由于公司提供了开发者证书. 这里只需要安装相应的证书即可. 提示: 配置本Mac系统对应开发者账号–方法一:登录开发者网站,为本机申请新的开发者证书方法二:把已原创 2016-09-20 14:49:29 · 2260 阅读 · 0 评论 -
Selenium自动化Chrome浏览器 在windows/Mac/Linux下窗口最大化
For MAC or Linux: ChromeOptions chromeOptions = new ChromeOptions(); chromeOptions.addArguments("--kiosk"); driver = new ChromeDriver(chromeOptions); For Windows: ChromeOptions chromeOpti原创 2017-04-12 14:44:48 · 8596 阅读 · 4 评论