上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 26 下一页
摘要: java 多个listener 监听方法 在class 名称上一行添加@Listeners 括号中用逗号隔开 @Listeners({com.example.MyListener.class,com.example.MyMethodInterceptor.class})的注释也可以有同样效果 tes 阅读全文
posted @ 2016-11-30 15:37 testway 阅读(2813) 评论(0) 推荐(0)
摘要: [Redis] redis-cli 命令总结 [Redis] redis-cli 命令总结 Redis提供了丰富的命令(command)对数据库和各种数据类型进行操作,这些command可以在Linux终端使用。 在编程时,比如使用Redis 的Java语言包,这些命令都有对应的方法。下面将Redi 阅读全文
posted @ 2016-11-28 15:38 testway 阅读(311) 评论(0) 推荐(0)
摘要: tobecrazy Selenium automation test framework https://github.com/tobecrazy/Demo Smartphone Test Farm https://github.com/openstf/stf testng retry failue 阅读全文
posted @ 2016-11-24 09:33 testway 阅读(197) 评论(0) 推荐(0)
摘要: java 实例化时调用了抽象方法或者class里面某个方法,如果子类有重写改方法,实际运行的是子类重写方法 运行结果: from childA classfrom childB classfrom Father class 阅读全文
posted @ 2016-11-18 11:22 testway 阅读(2487) 评论(0) 推荐(0)
摘要: 接口示例 示例二 来源:http://blog.sina.com.cn/s/blog_48c0812c0101alaz.html 阅读全文
posted @ 2016-11-16 20:10 testway 阅读(394) 评论(0) 推荐(0)
摘要: 1、新建一个maven项目,pom文件为: http://blog.csdn.net/yan1234abcd/article/details/49300995 阅读全文
posted @ 2016-11-13 22:37 testway 阅读(610) 评论(1) 推荐(0)
摘要: 启动ie代码: 启动ie报错: Started InternetExplorerDriver server (64-bit)2.44.0.0Listening on port 10375FAILED: fff2org.openqa.selenium.remote.SessionNotFoundExc 阅读全文
posted @ 2016-11-07 10:20 testway 阅读(11494) 评论(1) 推荐(3)
摘要: 在自动化测试过程中会遇到如下windows安全认证,需要输入账号和密码,这个认证对话框不属于element元素。无法用selenium操作,需要用autoitv3操作,输入账号密码后,再进行web元素操作。 有2中方式: 第一种:编写autoitv3脚本,生成autoitv3 可执行程序,再用jav 阅读全文
posted @ 2016-11-05 17:14 testway 阅读(4866) 评论(0) 推荐(0)
摘要: 新建一个截图监听类ScreenShotListener ,重写onTestFailure方法,里面定义了 监听的driver ,截图文件路径和名称 测试用例的实现 执行后截图文件名: 20161101151840_com.fsssc.htsgl.testcases.DevTest.testCase. 阅读全文
posted @ 2016-11-01 16:04 testway 阅读(2562) 评论(0) 推荐(0)
摘要: 安装nodejs后会有npm命令 npm 可以安装node插件 cnpm使用的是淘宝网的镜像http://npm.taobao.org 安装命令提示符执行:npm install cnpm -g --registry=https://registry.npm.taobao.org 这样cnpm也可以 阅读全文
posted @ 2016-10-30 10:50 testway 阅读(7444) 评论(0) 推荐(1)
上一页 1 ··· 16 17 18 19 20 21 22 23 24 ··· 26 下一页