提交优化策略关键字

This commit is contained in:
lyf
2021-02-19 18:02:10 +08:00
parent 26d91859d5
commit 9b7f2d64c5
4 changed files with 9 additions and 8 deletions

View File

@@ -178,7 +178,7 @@ Proxy-TCP-Options-Search
sleep 1
#判断是使用name搜索还是id搜索
run keyword if "${search}"=="Name" run keywords sleep 1
... AND click element xpath=/html/body/div/div[1]/div[1]/ul/li[3] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input
... AND click element xpath=/html/body/div/div[1]/div[1]/ul/li[3]
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... ELSE IF "${search}"=="ID" run keywords sleep 1
... AND click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]