1、提交settings中的Advanced的用例和关键字,2、提交Administration模块的用例和关键字

This commit is contained in:
lyf
2020-12-09 18:10:46 +08:00
parent 796ccfa3de
commit a59f81b1db
12 changed files with 161 additions and 195 deletions

View File

@@ -76,34 +76,23 @@ User-Edit
sleep 2
Ui-User-Search-Name
[Arguments] ${name}
[Arguments] ${name} ${type}
sleep 2
Wait Until Page Contains Element id=one-input 20
click element id=one-input
Wait Until Page Contains Element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div/input 20
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div/input
sleep 2
click element id=input_list_li2
run keyword if "${type}"=="Name" run keywords click element xpath=/html/body/div/div[1]/div[1]/ul/li[3]
... AND sleep 1
run keyword if "${type}"=="User Name" run keywords click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
... AND sleep 1
sleep 2
input text id=sreach_input ${name}
input text //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${name}
sleep 2
click element id=select_new_search_btn
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/i
sleep 2
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
sleep 2
Ui-User-Search-Username
[Arguments] ${name}
sleep 2
#Wait Until Page Contains Element id=one-input 10
click element id=one-input
sleep 3
click element id=input_list_li1
sleep 2
input text id=sreach_input ${name}
sleep 2
click element id=select_new_search_btn
sleep 2
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table
sleep 2
login
Input Text xpath=//*[@id="app"]/div/div[2]/div/div[2]/div/input sjy