上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 54 下一页
摘要: 1.通过性验证:首先肯定要保证这个接口功能是好使的,也就是正常的通过性测试,按照接口文档上的参数,正常传入,是否可以返回正确的结果。 2.参数组合:现在有一个操作商品的接口,有个字段type,传1的时候代表修改商品,商品id、商品名称、价格有一个是必传的,type传2的时候是删除商品, 3.商品id 阅读全文
posted @ 2020-01-20 15:10 燕十三丶 阅读(1366) 评论(0) 推荐(0) 编辑
摘要: HTTP首部 阅读全文
posted @ 2020-01-20 14:36 燕十三丶 阅读(156) 评论(0) 推荐(0) 编辑
摘要: AppiumLibrary Library version: 1.5.0.3 Library scope: global Named arguments: supported Introduction AppiumLibrary is a Mobile App testing library for 阅读全文
posted @ 2020-01-20 14:15 燕十三丶 阅读(187) 评论(0) 推荐(0) 编辑
摘要: 1、*** Settings *** :引入测试库,资源文件和变量文件 2、*** Variables *** :定义测试数据变量 3、*** Keywords *** :用户自定义关键字 4、*** Test Cases *** :通过可用关键字创建测试用例 阅读全文
posted @ 2020-01-20 14:10 燕十三丶 阅读(206) 评论(0) 推荐(0) 编辑
摘要: 如何打tag 打tag的方式有三种 1、在文件夹下打tag,这样文件夹下的所有用例都已经自动打上该tag。 2、在suite下打tag,这样suit下的测试用例都加上了tag号suite下打tag分为两种:一种是Force Tags,一种是Default Tags。Force Tags:suite下 阅读全文
posted @ 2020-01-20 14:09 燕十三丶 阅读(601) 评论(0) 推荐(0) 编辑
摘要: 自动化测试项目源代码目录结构规范 root/ projectA/ projectB/ ... projectN/ doc/ api/ ui/ Common/ Common.robot Resources/ ModuleA/ ModuleACommon.robot FeatureA.robot Fea 阅读全文
posted @ 2020-01-20 13:57 燕十三丶 阅读(581) 评论(0) 推荐(0) 编辑
摘要: Set Global Variable 使用范围:在所有测试套件中都可以使用该关键字定义的变量。 Set Suite Variable 使用范围:使用此关键字设置的变量在当前执行的测试套件的范围内随处可用。 Set Test Variable 使用范围:使用此关键字设置的变量在当前执行的测试用例的范 阅读全文
posted @ 2020-01-13 16:20 燕十三丶 阅读(1964) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2020-01-10 14:49 燕十三丶 阅读(1146) 评论(0) 推荐(0) 编辑
摘要: 出错后退出 在默认情况下,当一个测试用例中的某个关键字返回错误时,这个测试用例就停止执行剩余的关键字。RF会继续执行下一个用例。这么做的好处是节省时间--反正这里出问题要返回来看了,再继续执行剩下的关键字也没有用了。 出错后继续执行 但是,有时候,我们却需要执行用例中的所有关键字,例如:要获取更多的 阅读全文
posted @ 2020-01-10 13:49 燕十三丶 阅读(1465) 评论(0) 推荐(0) 编辑
摘要: Keywords KeywordArgumentsDocumentation Add New Sheet newsheetname Creates and appends new Excel worksheet using the new sheet name to the current work 阅读全文
posted @ 2020-01-09 18:18 燕十三丶 阅读(548) 评论(0) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 54 下一页
AmazingCounters.com