调整Ui自动化代码
This commit is contained in:
@@ -486,7 +486,7 @@ CreateResponsePages
|
||||
sleep ${sleep_min}
|
||||
click id=sidebarProxy_Profiles #点击二级目录Proxy Profiles
|
||||
sleep ${sleep}
|
||||
click id=respinseAdd #Response Pages点击Create
|
||||
click id=responseAdd #Response Pages点击Create
|
||||
sleep ${sleep}
|
||||
input id=responsepages_profileName1 ${name} #输入name
|
||||
sleep ${sleep}
|
||||
@@ -1090,9 +1090,9 @@ SSLFingerprintImportJA3
|
||||
sleep ${sleep_min}
|
||||
click id=objectImport
|
||||
sleep ${sleep}
|
||||
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[1]/div[2]/div[2]/div/div[1]/div/div/div[1]/div/form/div[1]/div/div/div[1]/input ${file}
|
||||
Choose File xpath=/html/body/div[3]/div/div[1]/div/div/div[1]/div/form/div[1]/div/div/div[1]/input ${file}
|
||||
sleep ${sleep}
|
||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[1]/div[2]/div[2]/div/div[1]/div/div/div[1]/div/form/div[2]/div/button
|
||||
click xpath=/html/body/div[3]/div/div[1]/div/div/div[1]/div/form/div[2]/div/button
|
||||
sleep ${sleep}
|
||||
|
||||
|
||||
@@ -2463,7 +2463,7 @@ UploadFilesSize
|
||||
... AND sleep ${sleep_min}
|
||||
... AND click id=sidebarProxy_Profiles #点击二级目录Proxy Profiles
|
||||
... AND sleep ${sleep}
|
||||
... AND click id=respinseAdd #Response Pages点击Create
|
||||
... AND click id=responseAdd #Response Pages点击Create
|
||||
... AND sleep ${sleep}
|
||||
... AND input id=responsepages_profileName1 ${name} #输入name
|
||||
... AND sleep ${sleep}
|
||||
@@ -2670,7 +2670,7 @@ ResponsrPageCreateAndEdit
|
||||
OpenPages sidebarProxy_Profiles profilesTabs_Profile_ResponsePages
|
||||
${id} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span
|
||||
run keyword if "${CreateOrEdit}" == "Create" run keywords sleep ${sleep_min}
|
||||
... AND click id=respinseAdd
|
||||
... AND click id=responseAdd
|
||||
... AND sleep ${sleep}
|
||||
... AND input id=responsepages_profileName1 ${Name}
|
||||
run keyword if "${CreateOrEdit}" == "Edit" run keywords sleep ${sleep_min}
|
||||
@@ -2696,7 +2696,7 @@ ResponsrPageCreateAndEdit
|
||||
|
||||
ResponsrPageCreateAssert
|
||||
[Arguments] ${search} ${Name} ${id}
|
||||
Wait Until Element Is Enabled id=respinseAdd ${sleep_Wait}
|
||||
Wait Until Element Is Enabled id=responseAdd ${sleep_Wait}
|
||||
run keyword if "${search}"=="id" run keywords sleep ${sleep_min}
|
||||
... AND Settings-Search ${id} ${search} #搜索框的关键字
|
||||
... ELSE IF "${search}"=="name" run keywords sleep ${sleep_min}
|
||||
|
||||
Reference in New Issue
Block a user