robot framework selenium 指定浏览器版本启动
来源:互联网 发布:飞鹰网络电视apk 编辑:程序博客网 时间:2024/06/04 23:57
*** Settings ***
Suite Setup open browser http://x.zhihuiya.com ${BROWSER} desired_capabilities=version:52.0.2 remote_url=http://192.168.146.129:4444/wd/hub
Suite Teardown close browser
Library Selenium2Library
Library Collections
*** Variables ***
${BROWSER} firefox
*** Test Cases ***
测试一下
comment input text id=kw 中国人
comment click element id=su
comment sleep 2
comment page should contain 中国人
click element //a[@class="subject-link"]
sleep 4
${text} get text //a[@class="active haschild"] #类名相同class active
Run Keyword And Continue On Failure should be equal ${text} 专代考试
sleep 4 #中文
Suite Setup open browser http://x.zhihuiya.com ${BROWSER} desired_capabilities=version:52.0.2 remote_url=http://192.168.146.129:4444/wd/hub
Suite Teardown close browser
Library Selenium2Library
Library Collections
*** Variables ***
${BROWSER} firefox
*** Test Cases ***
测试一下
comment input text id=kw 中国人
comment click element id=su
comment sleep 2
comment page should contain 中国人
click element //a[@class="subject-link"]
sleep 4
${text} get text //a[@class="active haschild"] #类名相同class active
Run Keyword And Continue On Failure should be equal ${text} 专代考试
sleep 4 #中文
阅读全文
0 0
- robot framework selenium 指定浏览器版本启动
- Sikuli Selenium Robot Framework Integration
- 解决Jenkins运行robot framework selenium脚本不打开浏览器的问题
- robot framework 初学--打开浏览器
- Robot Framework-Mac版本安装
- Robot Framework-Windows版本安装
- Robot Test Framework + Selenium 的几个坑
- Robot Framework + Selenium 怎么选择下来框
- Robot Framework + Selenium library + IEDriver环境搭建
- Maven: Selenium 启动浏览器
- Selenium 启动浏览器
- robot framework 使用三:浏览器兼容性自动化
- Robot framework中支持360浏览器测试
- Robot Framework自动化测试-切换浏览器窗口
- Robot Framework自动化测试-切换浏览器
- Robot Framework 安装Tips (windows版本)
- 安装指定版本Selenium命令
- Robot Framework自动化测试(三)---Selenium API
- 287
- Idesignspec寄存器提取工具
- 288
- 289
- 第三章 高级装配
- robot framework selenium 指定浏览器版本启动
- Android 更换壁纸 代码
- [翻译]扫描线算法(Line Sweep Algorithm)(1)
- [Python] wxPython 编辑框组件学习总结 (原创)
- 矩阵压缩
- HDU 2853 Assignment(二分图最优匹配:优先用原匹配边)
- [Linux]--标准文件 IO 基本操作
- nrf51822/nrf52832开发过程中一些常用的API函数
- 如何正确使用Bundle