随笔分类 - robotframework
摘要:#字符应该等于 Should Be Equal As Strings ${resp.status_code} 200 #字典里包含 Dictionary Should Contain Value ${resp.json()} Bulkan Savun Evcimen #变量里面是否包含1.0 sho
阅读全文
摘要:resource.robot文件 (用例文件可以调这个文件 引用里面的变量 和函数) suit01_Header.robot文件 __init__文件
阅读全文
摘要:*** Settings *** Library requestsResource resource.robotLibrary CollectionsLibrary RequestsLibrary*** Test Cases ***Test ${dict} Create Dictionary use
阅读全文
摘要:先要安装requests,再安装requestsLibrary pip install requests pip install robotframework-requestsgithub地址 https://github.com/bulkan/robotframework-requests
阅读全文
摘要:执行命令 执行一个用例 执行一个用例 robot -t “testcase_name“ data_test.robot 按用例文件执行 按用例文件执行 robot data_test.robot或者robot --suite “prjxx.robot.data test" test_director
阅读全文
摘要:1、使用robot 用例绝对路径 可执行用例 2、robot --h 可以查看命令用法 3、 创建字典 *** Settings *** Library Collections *** Test Cases *** Test ${dict} Create Dictionary username li
阅读全文
摘要:折腾来一下午,遇到了好多坑 坑 1.不要用pip 下载wxpython 2.不要用mac自带的python 3.不要自己下载wxpython 步骤: 1. 安装homebrew, 2. 通过homebrew安装python2.6或2.7, 理由是robotframework ride只支持2.6-2
阅读全文
摘要:学习网站 http://robotframework.org/ http://www.testtao.cn/?cat=43 https://www.jianshu.com/c/483e8ffcbc79 用户手册 原版:http://robotframework.org/robotframework/
阅读全文
摘要:搭建robot_framework 环境 找不到 wxPython2.8.12.1的解决方法 1.mac终端pip安装robotframework-ride后 启动ride.py报: wxPython not found. You need to install wxPython 2.8.12.1
阅读全文