1: waitForCondition(contidtion, timeout)
2:selenium.browserbot.getCurrentWindow().document
下面是sample 用法
req_rsvn_01 |
open |
/itr/secure/index.jsp |
|
clickAndWait |
link=Request & Manage Reservations (Week at a Glance) |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.forms[0].originIndex.options.length>1 |
10000 |
select |
originIndex |
label=!!Test Location Y - Test Y Town, NE |
waitForCondition |
selenium.browserbot.getCurrentWindow().document.forms[0].destIndex.options.length>1||selenium.browserbot.getCurrentWindow().document.forms[0].destIndex.options[0].text!=’Select
One’ |
10000 |
select |
destIndex |
label=!!Test location Z - Test Z town , NE |
waitForCondition |
selenium.browserbot.getCurrentWindow().document.forms[0].eqmtIndex.options.length>1||selenium.browserbot.getCurrentWindow().document.forms[0].eqmtIndex.options[0].text!=’Select
One’ |
10000 |
select |
eqmtIndex |
label=Container |
clickAndWait |
submitBtn |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById(’testCheck0′)!=null |
10000 |
click |
id=testCheck0 |
|
waitForCondition |
selenium.browserbot.getCurrentWindow().document.getElementById(’id[0].newStandbyCount’)!=null |
10000 |
type |
id[0].newStandbyCount |
1 |
keyUp |
id[0].newStandbyCount |
|
clickAndWait |
requestButton |
|
分享到:
相关推荐
python selenium 测试报告
资源名称:Selenium测试实践-基于电子商务平台内容简介:自动化测试已经不是一个新名词,随着一些自动化测试工具的出现并且进入国内,自动化测试行业的发展很快。《Selenium测试实践:基于电子商务平台》对开源自动化...
Selenium测试工具研究报告,一款适合软件测试的工具
selenium测试脚本编写详细说明大全
selenium+junit+TestNg 测试环境搭建
selenium测试工具搭建,web测试详细讲解
selenium测试所需的jar包
Selenium是现在使用最为广泛的一款开源自动化测试工具,也是非商业支持的稳定性易用性最好的一款自动化测试工具。和由HP提供强大商业支持的QTP相比,selenium不仅在软件投资上有比较大的优势,在针对web测试的稳定性...
Selenium自动录制脚本,java版本;所需要的jar包。包含(Selenium-client.jar,selenium-server.jar;junit.jar)
Laravel-Selenium, Laravel 5的selenium 测试 关键点:你不需要下载除这里软件包之外的任何内容。这里软件包默认下载 selenium 独立服务器 v3.11.0,并且 Chrome 驱动程序将基于操作系统下载。基于浏览器测试工具包...
selenium-builder, 在浏览器中,创建 selenium 测试 selenium-生成器在浏览器中创建 selenium 测试。网站安装在 Firefox 服务器上邮件列表维护者) ( zarkonnen 电子邮件贡献者David Stark ( zarkonnen ))
Selenium 是 ThoughtWorks 专门为 Web 应用程序编写的一个验收测试工具。据 Selenium 主页所说,与其他测试工具相比,使用 Selenium 的最大好处是: Selenium 测试直接在浏览器中运行,就像真实用户所做的一样。...
软件测试丛书 Selenium自动化测试指南,欢迎下载,1111
selenium测试工具的基本原理和方法 selenium IDE测试报告
基于Selenium 2的自动化测试 完整版 selenium 自动化 测试
Selenium是一个主要用于Web应用程序自动化测试的工具集合,在行业内已经得到广泛的应用。本书介绍了如何用Python语言调用Selenium WebDriver接口进行自动化测试。主要内容为:基于Python 的 Selenium WebDriver 入门...
[Selenium测试实践-基于电子商务平台].关春银等.扫描版
火狐插件,做 Selenium测试必备!
闲,所以有幸接触到 QTP、Selenium 等自动化测试工具,由于当时水平有限,学习也只停留在录制与回放的水 平上。再次学习 Selenium 是时隔一年之后,笔者有幸跳槽到一家互联网公司继续做 web 软件测试,发现项目适 合...