07 2017 档案

摘要:目录 1 Peach是什么.................................................................................................................. 4 1.1 Peach的历史........ 阅读全文
posted @ 2017-07-31 18:51 baoyu7yi 阅读(11966) 评论(0) 推荐(1)
摘要:DesiredCapabilities ieCapabilities = DesiredCapabilities.internetExplorer();ieCapabilities.setCapability(InternetExplorerDriver.INTRODUCE_FLAKINESS_BY 阅读全文
posted @ 2017-07-26 23:30 baoyu7yi 阅读(272) 评论(0) 推荐(0)
摘要:TestNG 优点 漂亮的HTML格式测试报告 支持并发测试 参数化测试更简单 支持输出日志 支持更多功能的注解 test-output 1、点击工具条中Run,选择Edit Configurations,弹出运行配置对话框; 2、在左侧选择要设置运行的test,在左侧选择Configuration 阅读全文
posted @ 2017-07-17 23:22 baoyu7yi 阅读(256) 评论(0) 推荐(0)
摘要:单元测试 单元测试WebDriver脚本 阅读全文
posted @ 2017-07-11 23:04 baoyu7yi 阅读(399) 评论(0) 推荐(0)
摘要:Firefox各版本下载地址; http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/ Selenium Jar 包下载地址: http://selenium-release.storage.googleapis.com/index.html 阅读全文
posted @ 2017-07-08 19:15 baoyu7yi 阅读(347) 评论(0) 推荐(0)
摘要:/** * rewrite the get method, adding user defined log</BR> * 地址跳转方法,使用WebDriver原生get方法,加入失败重试的次数定义。 * * @param url the url you want to <span id="2_nwp 阅读全文
posted @ 2017-07-08 19:06 baoyu7yi 阅读(1990) 评论(0) 推荐(0)
摘要:使用moveToElement可是实现定位焦点,尝试后测试通过,代码如下 //鼠标单击前商品信息被隐藏,我们需要手动除展示商品标签的隐藏属性 JavascriptExecutor removeAttribute = (JavascriptExecutor)driver; removeAttribut 阅读全文
posted @ 2017-07-05 15:47 baoyu7yi 阅读(1986) 评论(0) 推荐(0)
摘要:显示等待 WebDriverWait 超时抛出TimeOutException,默认500毫秒 ExpectedCondition 隐式等待 查找WebDriver无法使用的元素时等待,默认0,生命周期整个WebDriver 阅读全文
posted @ 2017-07-05 00:07 baoyu7yi 阅读(302) 评论(0) 推荐(0)
摘要:没有 相似提示 出现控件 搜索结果是列表 搜索结果是网格 url为.com或.html 阅读全文
posted @ 2017-07-02 23:01 baoyu7yi 阅读(105) 评论(0) 推荐(0)
摘要:流程: 分析自动化测试需求→制定自动化测试计划→设计自动化测试用例→搭建环境→编写脚本→分析结果→维护脚本 框架: 线性测试、模块化测试、数据驱动、关键字驱动 阅读全文
posted @ 2017-07-02 22:56 baoyu7yi 阅读(334) 评论(0) 推荐(0)
摘要:1鼠标变粗:setting→1.打开设置 点击 plugins 输入ideavim 把 这个勾去掉!这个是插件的配置问题。 2.editor->appearance 去掉 use block 阅读全文
posted @ 2017-07-01 17:05 baoyu7yi 阅读(149) 评论(0) 推荐(0)