摘要: 1> 安装python3.6可能使用的依赖 yum install openssl-devel bzip2-devel expat-devel gdbm-devel readline-devel sqlite-devel 2> 到python官网找到下载路径, 用wget下载 wget https: 阅读全文
posted @ 2018-06-02 12:12 小猪爱jshell 阅读(188) 评论(0) 推荐(0) 编辑
摘要: Robot Framework 框架是基于 Python 语言开发的,所以,它本质上是 Python 的一个库。 运行结果: 阅读全文
posted @ 2018-05-19 16:13 小猪爱jshell 阅读(2175) 评论(0) 推荐(0) 编辑
摘要: 将重复性动作进行封装为keyword,在测试用例中调用keyword。 运行结果: 阅读全文
posted @ 2018-05-19 15:33 小猪爱jshell 阅读(1250) 评论(0) 推荐(0) 编辑
摘要: 1. 打开浏览器 Open Browser htpp://www.testclass.net chrome 2. 关闭浏览器 Close Browsers Close All Browser 3. 浏览器最大化 Maximize Browser Window 4. 设置浏览器窗口宽、高 Set Wi 阅读全文
posted @ 2018-05-19 15:28 小猪爱jshell 阅读(3134) 评论(0) 推荐(0) 编辑
摘要: *** Settings ***Library Selenium2Library *** Test Cases ***Open baidu with Chrome Open Browser http://www.baidu.com Chrome Input text id=kw selenium C 阅读全文
posted @ 2018-05-19 15:10 小猪爱jshell 阅读(349) 评论(0) 推荐(0) 编辑
摘要: 1. Set Variable 定义:Returns the given values which can then be assigned to a variables. 示例1: ${a} Set Variable 50 示例2: 2. Create List 定义:Returns a list 阅读全文
posted @ 2018-05-19 14:38 小猪爱jshell 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 1. Variables |- Set variable |- Create list |- Evaluate |- Get Variable Value 2. Conditional |- Run Keyword If |- Run Keyword And Continue On Failure 阅读全文
posted @ 2018-05-19 13:46 小猪爱jshell 阅读(127) 评论(0) 推荐(0) 编辑
摘要: 注意robot的case格式 查看运行结果: 阅读全文
posted @ 2018-05-19 10:33 小猪爱jshell 阅读(376) 评论(0) 推荐(0) 编辑
摘要: http://robotframework.org/ 阅读全文
posted @ 2018-05-19 10:27 小猪爱jshell 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 一、配置python 环境 1. 设置pydev库 打开Help -> Install New Software, 点击'Add',设置Name为“Pydev”,Location为“http://pydev.org/updates”。 2. 安装 在此界面点击select ALL,点击next,之后 阅读全文
posted @ 2018-05-19 10:25 小猪爱jshell 阅读(362) 评论(0) 推荐(0) 编辑