上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 47 下一页

2015年6月4日

摘要: Description:Need to turn page by operating scroll bar and find out the element in the current page.Previous page will not exist in DOM structure when ... 阅读全文
posted @ 2015-06-04 18:04 张缤分 阅读(410) 评论(0) 推荐(0)

2015年5月29日

摘要: //@author jzhang6 public void dragAndDropOffset(WebDriver driver,WebElement dragableEl, WebElement dropableEl, int offsetX, int offsetY){ Actions act... 阅读全文
posted @ 2015-05-29 09:18 张缤分 阅读(735) 评论(0) 推荐(0)

2015年5月28日

摘要: 等待元素出现之后再消失,界面上的loading icon都属于这种类型,之前的方法总是卡死,换这种方法目前还好用的/** * Check if the element present with customized timeout * @param driver * @par... 阅读全文
posted @ 2015-05-28 14:34 张缤分 阅读(909) 评论(0) 推荐(0)
摘要: 界面上如果有一个对话框可能弹出来,也可能不弹出,我们都要认为是正常,应该怎么处理呢?/** * check if release notes dialog present * @author j */ public boolean isReleaseNotesDialogPresent(){ ... 阅读全文
posted @ 2015-05-28 12:53 张缤分 阅读(283) 评论(0) 推荐(0)
摘要: 对不可见元素进行操作时,如果通过普通的方式不可行,可以尝试用Javascript Scroll hidden element into view Click hidden element Get text of hidden element 阅读全文
posted @ 2015-05-28 12:50 张缤分 阅读(1028) 评论(0) 推荐(0)
摘要: 在升级Selenium的版本之前,写了一段拖拽的代码,Drag and Drop 都好使的, 但是,将Selenium的版本升级到2.45.0之后,图标拖拽可以成功,释放不生效。试了N多种解决方案都不管用,后来发现下面这种办法可行。一开始在界面可以看得见的,用来进行拖拽的图标是dragable的,在... 阅读全文
posted @ 2015-05-28 09:00 张缤分 阅读(469) 评论(0) 推荐(0)

2015年5月20日

摘要: 界面上有些元素是要先等它出现,再等它消失,譬如loading icon这个是等多个loading icon出现后消失/** * Wait for loading icon disappear in dialog and Widgets * @author jz */ public void w... 阅读全文
posted @ 2015-05-20 13:51 张缤分 阅读(2418) 评论(1) 推荐(0)

2015年3月12日

摘要: 做问卷调查,推荐一个好工具,免费的SurveyMonkey : it's free, quick & easy!https://www.surveymonkey.com/ 阅读全文
posted @ 2015-03-12 16:33 张缤分 阅读(264) 评论(0) 推荐(0)
摘要: ColorPix是一款绿色的小软件,可以取到杂志图表所用到的颜色。下载地址: http://www.colorschemer.com/colorpix_info.php 阅读全文
posted @ 2015-03-12 09:58 张缤分 阅读(369) 评论(0) 推荐(0)

2015年1月5日

摘要: SELECT t.name AS table_name,c.name AS column_nameFROM XOIFundData.sys.tables AS tINNER JOIN XOIFundData.sys.columns c ON t.OBJECT_ID = c.OBJECT_IDWHE... 阅读全文
posted @ 2015-01-05 20:13 张缤分 阅读(245) 评论(0) 推荐(0)
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 47 下一页

导航