1.修改关键字名称及内容 2.修改ResponsePageCase标签名增加新用例 3.添加新html为你佳能

This commit is contained in:
byb11
2020-12-24 18:10:19 +08:00
parent 81f529defb
commit 36ec2eb497
5 changed files with 218 additions and 27 deletions

View File

@@ -537,7 +537,7 @@ Edit-Insert Scripts
sleep 1
click id=insertAddOk1 #点击ok提交
Create-Response Pages
CreateResponsePages
[Arguments] ${name} ${file} ${search}
[Documentation] 引用次关键字,填入必填参数
... 必填参数:
@@ -563,7 +563,7 @@ Create-Response Pages
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span #获取点击后页面文本信息
Should Be Equal As Strings ${text1} ${name} #断言
Edit-Response Pages
Edit-Response-Pages
[Arguments] ${id-name} ${name1} ${file} ${search}
[Documentation] 引用关键字,填入必填参数
... 必填参数:
@@ -588,7 +588,10 @@ Edit-Response Pages
sleep 1
click id=responseAddOk1
Sleep 1
Settings-Search ${name1} ${search} #搜索框的关键字
run keyword if "${search}"=="id" run keywords sleep 1
... AND Settings-Search ${id-name} ${search} #搜索框的关键字
... ELSE IF "${search}"=="name" run keywords sleep 1
... AND Settings-Search ${name1} ${search} #搜索框的关键字
Sleep 1
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span #获取点击后页面文本信息
Should Be Equal As Strings ${text1} ${name1} #断言