随笔分类 -  selenium

selenium automation Test Framework testng
摘要:appium是一个开源框架,相对来说还不算很稳定。转载请注明出处!!!!前些日子,配置好了appium测试环境,至于环境怎么搭建,参考:http://www.cnblogs.com/tobecrazy/p/4562199.html接下来我们研究一下测试知乎Android客户端。自行下载配置目录如下:... 阅读全文
posted @ 2015-06-16 01:07 to be crazy 阅读(34744) 评论(1) 推荐(2) 编辑
摘要:今天,总结一下selenium怎么操作web页面常见的元素。主要有:上传alter dialogpromptdialogconfirmdialogselect listradio boxinput boxcheckBox测试页面如下: 1 2 3 selenium处理基本页面元... 阅读全文
posted @ 2015-06-13 23:35 to be crazy 阅读(89960) 评论(2) 推荐(8) 编辑
摘要:selenium grid 阅读全文
posted @ 2015-06-09 23:32 to be crazy 阅读(15510) 评论(1) 推荐(3) 编辑
摘要:log4j 日志 测试 测试框架 阅读全文
posted @ 2015-06-07 00:27 to be crazy 阅读(12788) 评论(3) 推荐(3) 编辑
摘要:selenium测试框架 阅读全文
posted @ 2015-06-04 23:57 to be crazy 阅读(28829) 评论(21) 推荐(5) 编辑
摘要:testng Jenkins Webdriver 框架 ANT 阅读全文
posted @ 2015-05-25 23:51 to be crazy 阅读(18423) 评论(3) 推荐(2) 编辑
摘要:selenium sikuli 右键下载 webdriver 阅读全文
posted @ 2015-05-22 21:18 to be crazy 阅读(3450) 评论(0) 推荐(0) 编辑
摘要:selenium sikuli webdriver 测试 automation gui 阅读全文
posted @ 2015-05-20 23:44 to be crazy 阅读(5063) 评论(2) 推荐(0) 编辑
摘要:String URL="http://www.amap.com/"; WebDriver driver = new FirefoxDriver(profile); driver.get(URL); driver... 阅读全文
posted @ 2015-05-12 20:59 to be crazy 阅读(2150) 评论(1) 推荐(1) 编辑
摘要:之前在一个项目组,写了两次粗浅的自动化方面的思考关于自动化测试的一些思考(一)http://www.cnblogs.com/tobecrazy/archive/2012/12/18/2824248.html关于自动化测试的一些思考(二)http://www.cnblogs.com/tobecrazy... 阅读全文
posted @ 2015-04-06 14:42 to be crazy 阅读(4255) 评论(3) 推荐(1) 编辑
摘要:一般的日期控件都是input标签下弹出来的,如果使用webdriver 去设置日期,1. 定位到该input2. 使用sendKeys 方法比如:但是,有的日期控件是readonly的比如12306的这个这个时候,没法调用WebElement的sendKeys()方案一:使用JS remove re... 阅读全文
posted @ 2015-01-07 23:46 to be crazy 阅读(27461) 评论(1) 推荐(0) 编辑
摘要:爬虫 另类 遍历页面内容 阅读全文
posted @ 2014-11-23 21:40 to be crazy 阅读(9847) 评论(0) 推荐(1) 编辑
摘要:public static void type(WebElement e,String str) throws InterruptedException { String[] singleCharacters = str.split(""); // Interva... 阅读全文
posted @ 2014-11-17 17:16 to be crazy 阅读(1670) 评论(0) 推荐(0) 编辑
摘要:首先,html table是由 table 元素以及一个或多个 tr、th 或 td 元素组成。for example:这是一个简单的html table:源码如下:for selenium test table head: ... 阅读全文
posted @ 2014-10-26 15:50 to be crazy 阅读(16585) 评论(1) 推荐(0) 编辑
摘要:FF firebug 阅读全文
posted @ 2014-10-21 13:17 to be crazy 阅读(2682) 评论(1) 推荐(0) 编辑
摘要:首先这次使用的webDriver for Firefox的由于项目的原因,需要在测试的时候加载Firebug和使用vpn,加载代理Firefox 加载代理,可以从FF菜单上看,代理分为好几种我这里使用的是type 为2 的情况FirefoxProfile profile = new FirefoxP... 阅读全文
posted @ 2014-09-27 22:26 to be crazy 阅读(5319) 评论(0) 推荐(0) 编辑
摘要:selenium webdriver 操作cookie 实现简便登陆 阅读全文
posted @ 2014-09-21 23:13 to be crazy 阅读(40521) 评论(3) 推荐(2) 编辑
摘要:selenium rightclick http://forumsqa.com/question/how-to-click-the-option-of-the-menu-which-the-right-click-pop-up/ 阅读全文
posted @ 2014-09-13 00:41 to be crazy 阅读(28482) 评论(3) 推荐(4) 编辑
摘要://should set firefox path //FirefoxBinary binary=new FirefoxBinary(new File("C:\\Program Files (x86)\\Mozilla Firefox\\firefox.exe")); ... 阅读全文
posted @ 2014-09-07 01:14 to be crazy 阅读(11976) 评论(1) 推荐(0) 编辑
摘要:testng reportng 阅读全文
posted @ 2014-09-03 23:59 to be crazy 阅读(2567) 评论(0) 推荐(0) 编辑