对SettingsUi自动化代码进行修改

This commit is contained in:
byb11
2021-04-23 10:34:42 +08:00
parent b3850ac1fc
commit 0df38e620a
15 changed files with 204 additions and 205 deletions

View File

@@ -26,47 +26,47 @@ ui-login
Settings-Search
[Arguments] ${value} ${search}
sleep ${sleep}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div/div[1]/input #点击搜索框
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div/input #点击搜索框
sleep ${sleep_min}
#判断是使用name搜索还是id搜索
run keyword if "${search}"=="name" run keywords sleep ${sleep_min}
... AND click xpath=/html/body/div/div[1]/div[1]/ul/li[3]
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... ELSE IF "${search}"=="id" run keywords sleep ${sleep_min}
... AND click xpath=/html/body/div/div[1]/div[1]/ul/li[2]
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... ELSE IF "${search}"=="Issuer" run keywords sleep ${sleep_min}
... AND click xpath=/html/body/div/div[1]/div[1]/ul/li[4]
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... ELSE IF "${search}"=="CommonName" run keywords sleep ${sleep_min}
... AND click xpath=/html/body/div/div[1]/div[1]/ul/li[5]
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... ELSE IF "${search}"=="CertificateFingerprint" run keywords sleep ${sleep_min}
... AND click xpath=/html/body/div/div[1]/div[1]/ul/li[6]
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... ELSE IF "${search}"=="Source Website" run keywords sleep ${sleep_min}
... AND click xpath=/html/body/div/div[1]/div[1]/ul/li[3]
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... ELSE IF "${search}"=="JA3Hash" run keywords sleep ${sleep_min}
... AND click xpath=/html/body/div/div[1]/div[1]/ul/li[3]
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... ELSE IF "${search}"=="GeoName" run keywords sleep ${sleep_min}
... AND click xpath=/html/body/div/div[1]/div[1]/ul/li[2]
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... ELSE IF "${search}"=="CountryandRegion" run keywords sleep ${sleep_min}
... AND click xpath=/html/body/div/div[1]/div[1]/ul/li[3]
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... ELSE IF "${search}"=="City" run keywords sleep ${sleep_min}
... AND click xpath=/html/body/div/div[1]/div[1]/ul/li[4]
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... ELSE IF "${search}"=="ip" run keywords sleep ${sleep_min}
... AND click xpath=/html/body/div/div[1]/div[1]/ul/li[4]
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... ELSE IF "${search}"=="port" run keywords sleep ${sleep_min}
... AND click xpath=/html/body/div/div[1]/div[1]/ul/li[5]
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
sleep ${sleep}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/i #点击搜索按钮
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/i #点击搜索按钮
sleep ${sleep}
CreateSNATIPPools
@@ -91,8 +91,8 @@ CreateSNATIPPools
... AND SANTIPIF ${j} ${ip} #判断是添加一个ip还是多个ip
... AND click id=wan_reach_test #点击可达性测试按钮
... AND Wait Until Element Is Enabled id=edit_0 ${sleep_Wait} #等待时间,等待元素出现后在进行后续操作
run keyword if "${type}"=="2" run keywords sleep ${sleep_min}
... AND click id=active-ip #点击 History Active IP按钮
run keyword if "${type}"=="2" run keywords sleep ${sleep}
... AND click id=IPPool1_Setting_WannatDetail4_Home0_App0_anonymousComponent-1_active-ip #点击 History Active IP按钮
... AND sleep ${sleep_min}
... AND input xpath=//*[@id="remoteInput"]/div/div/input ${ip}[0] #搜索输入框输入
... AND sleep ${sleep_min}
@@ -217,8 +217,8 @@ SearchHistoryActiveIP
# 获取History Active IP内存在的IP并返回
OpenPages sidebarSetting_Wannat ip
click id=app_create
sleep ${sleep_min}
click id=active-ip
sleep ${sleep}
click id=IPPool3_Setting_WannatDetail4_Home0_App0_anonymousComponent-1_active-ip
sleep ${sleep_min}
input text xpath=//*[@id="remoteInput"]/div/div/input 192.168.50
sleep ${sleep_min}
@@ -370,7 +370,7 @@ CreateInsertScripts
Settings-Search ${name} ${search} #搜索框的关键字
log psssssssssssssssssssssssssss
Sleep ${sleep_min}
${text1} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
${text1} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
#//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span #获取点击后页面文本信息
Should Be Equal As Strings ${text1} ${name} #断言
@@ -421,7 +421,7 @@ CreateTrafficMirrorProfiles
Wait Until Element Is Enabled id=trafficMirrorAdd ${sleep_Wait}
Settings-Search ${name} ${search} #搜索框的关键字
Sleep ${sleep}
${text1} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span #获取点击后页面文本信息
${text1} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span #获取点击后页面文本信息
Should Be Equal As Strings ${text1} ${name} #断言
@@ -440,7 +440,7 @@ EditInsertScripts
click id=profilesTabs_Profile_Insert #点击Insert files按钮
Settings-Search ${id-name} ${search} #搜索框的关键字
sleep ${sleep_min}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr[1] #点击搜素到的列表
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr[1] #点击搜素到的列表
sleep ${sleep_min}
click id=insertEdit #点击Edit
sleep ${sleep_min}
@@ -468,7 +468,7 @@ EditInsertScripts
... ELSE IF "${search}"=="name" run keywords sleep ${sleep_min}
... AND Settings-Search ${name1} ${search} #搜索框的关键字
sleep ${sleep_min}
${text1} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span #获取点击后页面文本信息
${text1} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span #获取点击后页面文本信息
Should Be Equal As Strings ${text1} ${name1} #断言
@@ -595,7 +595,7 @@ EditTrafficMirrorProfiles
sleep ${sleep_min}
Settings-Search ${id-name} ${search} #搜索框的关键字
sleep ${sleep_min}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] #点击搜素到的列表
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] #点击搜素到的列表
sleep ${sleep_min}
click id=trafficMirrorEdit #点击Edit
sleep ${sleep_min}
@@ -618,7 +618,7 @@ EditTrafficMirrorProfiles
... ELSE IF "${search}"=="name" run keywords sleep ${sleep_min}
... AND Settings-Search ${name1} ${search} #搜索框的关键字
sleep ${sleep_min}
${text1} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span #获取点击后页面文本信息
${text1} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span #获取点击后页面文本信息
Should Be Equal As Strings ${text1} ${name1} #断言
importTrustedCertificateAuthorities
@@ -771,17 +771,17 @@ DecryptionKeyringsErrorVerification
DecryptionKeyringsSearch
[Arguments] ${id} ${name}
sleep ${sleep}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[1]/span/div/div/div[2]/div/div/div[1]/input
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[1]/span/div/div/div[2]/div/div/div[1]/input
sleep ${sleep_min}
click xpath=/html/body/div/div[1]/div[1]/ul/li[2]
input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${id}
input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${id}
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
sleep ${sleep_min}
click xpath=/html/body/div/div[1]/div[1]/ul/li[2]
input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[1]/span/div/div/div[2]/div/div[2]/div[3]/div/input ${name}
input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[1]/span/div/div/div[2]/div/div[2]/div[3]/div/input ${name}
sleep ${sleep_min}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[1]/span/div/i
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[1]/span/div/i
sleep ${sleep}
CreateSSLDecryptionExclusion
@@ -1059,9 +1059,9 @@ SSLFingerprintImportUserAgent
sleep ${sleep}
click xpath=//*[@id="proxyTabs"]/div/ul/li[5] #点击SSL Fingerprint
sleep ${sleep_min}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[1]/span[2]/button
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[1]/span[2]/button
sleep ${sleep}
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[4]/div/div/div[2]/div/div[1]/input ${file}
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[4]/div/div/div[2]/div/div[1]/input ${file}
sleep ${sleep}
click id=Import_ua_Ok
sleep 5
@@ -1069,7 +1069,7 @@ SSLFingerprintImportUserAgent
sleep ${sleep}
Mouse Over xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/div/span/div/span
sleep 3
run keyword if "${USQuantity}" >= "4" run keywords sleep ${sleep_min}
run keyword if "${USQuantity}" >= "4" run keywords sleep ${sleep}
... AND click xpath=/html/body/div[last()]/ul/li/div[2]/span[2]/span[4]
... AND sleep ${sleep}
${text} Get Text xpath=${USXpath}
@@ -1089,9 +1089,9 @@ SSLFingerprintImportJA3
sleep ${sleep_min}
click id=objectImport
sleep ${sleep}
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/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=//*[@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}
sleep ${sleep}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[1]/div[2]/div[2]/div/div[1]/div/div/div[1]/div/form/div[2]/div/button
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
sleep ${sleep}
@@ -1309,11 +1309,11 @@ Min_max_version
... ELSE log 错误
sleep ${sleep}
click id=decryption-ok
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span ${sleep_Wait}
Wait Until Element Is Enabled id=profilesTabs_Profile_DecryptionProfile ${sleep_Wait}
sleep ${sleep_min}
Settings-Search ${name} ${search} #搜索框的关键字
sleep ${sleep}
${name1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span
${name1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span
Should Be Equal As Strings ${name1} ${name}
@@ -1339,8 +1339,8 @@ EditDecryptionProfile
click id=profilesTabs_Profile_DecryptionProfile #点击Decryption Profile
sleep ${sleep_min}
Settings-Search ${id-name} ${search} #搜索框的关键字
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span ${sleep_Wait}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span #点击搜索列表
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span ${sleep_Wait}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span #点击搜索列表
sleep ${sleep_min}
click id=insertEdit #点击Edit
sleep ${sleep}
@@ -1402,14 +1402,14 @@ EditDecryptionProfile
click id=decryption-ok
Wait Until Element Is Enabled id=profilesTabs_Profile_DecryptionProfile ${sleep_Wait}
Settings-Search ${id-name} ${search} #搜索框的关键字
${name1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span
${name1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span
Should Be Equal As Strings ${name1} ${name}
DecryptionProfileButtonVerification
[Arguments] ${dict1} ${id-name} ${search} ${xpath1}=//*[@id="policy_Manipulation_create8"]/div[2]/form/div/div/label[contains(text(), "
... ${xpath2}=")]/following-sibling::div/div
... ${open}=el-switch is-checked
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span
sleep ${sleep_min}
click id=insertEdit
sleep ${sleep_min}
@@ -1489,32 +1489,32 @@ Policy_Verify
... ELSE input id=SubscriberID ${Subscriber-ID}
sleep ${sleep}
${APP-ID} Set Variable ${APP-ID1}
Run Keyword If "${Select-Test}"=="Security Policy Match" and "${APP-ID}"=="Protocol-HTTP" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
Run Keyword If "${Select-Test}"=="Security Policy Match" and "${APP-ID}"=="Protocol-HTTP" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
... AND sleep ${sleep}
... AND Policy_Verify_Switch ${APP-ID}
... AND click id=Protocol-HTTPhttp
... AND sleep ${sleep}
... ELSE IF "${Select-Test}"=="Security Policy Match" and "${APP-ID}"=="Protocol-SSL" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
... ELSE IF "${Select-Test}"=="Security Policy Match" and "${APP-ID}"=="Protocol-SSL" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
... AND sleep ${sleep}
... AND Policy_Verify_Switch ${APP-ID}
... AND click id=Protocol-SSLssl
... ELSE IF "${Select-Test}"=="Security Policy Match" and "${APP-ID}"=="Protocol-DNS" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
... ELSE IF "${Select-Test}"=="Security Policy Match" and "${APP-ID}"=="Protocol-DNS" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
... AND sleep ${sleep}
... AND Policy_Verify_Switch ${APP-ID}
... AND click id=Protocol-DNSdns
... ELSE IF "${Select-Test}"=="Security Policy Match" and "${APP-ID}"=="Protocol-MAIL" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
... ELSE IF "${Select-Test}"=="Security Policy Match" and "${APP-ID}"=="Protocol-MAIL" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
... AND sleep ${sleep}
... AND Policy_Verify_Switch ${APP-ID}
... AND click id=Protocol-MAILmail
... ELSE IF "${Select-Test}"=="Security Policy Match" and "${APP-ID}"=="Protocol-FTP" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
... ELSE IF "${Select-Test}"=="Security Policy Match" and "${APP-ID}"=="Protocol-FTP" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
... AND sleep ${sleep}
... AND Policy_Verify_Switch ${APP-ID}
... AND click id=Protocol-FTPftp
... ELSE IF "${Select-Test}"=="Proxy Policy Match" and "${APP-ID}"=="Protocol-HTTP" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
... ELSE IF "${Select-Test}"=="Proxy Policy Match" and "${APP-ID}"=="Protocol-HTTP" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
... AND sleep ${sleep}
... AND Policy_Verify_Switch ${APP-ID}
... AND click id=Protocol-HTTPhttp
... ELSE IF "${Select-Test}"=="Proxy Policy Match" and "${APP-ID}"=="Protocol-DoH" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
... ELSE IF "${Select-Test}"=="Proxy Policy Match" and "${APP-ID}"=="Protocol-DoH" Run Keywords click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div/div[1]/div[1]/form/div[9]/div/div
... AND sleep ${sleep}
... AND Policy_Verify_Switch ${APP-ID}
... AND click id=Protocol-DoHDoH
@@ -2180,7 +2180,7 @@ PacketCaptureEffectiveDevices
PacketCaptureSerch
[Arguments] ${status}
sleep ${sleep_min}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/div/div[2]/div/div/div[1]/input #点击搜索框
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[1]/input #点击搜索框
sleep ${sleep_min}
click xpath=/html/body/div/div[1]/div[1]/ul/li[6]
sleep ${sleep_min}
@@ -2189,7 +2189,7 @@ PacketCaptureSerch
... ELSE IF "${status}"=="Invalid" run keywords sleep ${sleep_min}
... AND click xpath=/html/body/div/div[1]/div[1]/ul/li[2]/span
sleep ${sleep_min}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/i
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/i
Switch_Geographic_Locations
@@ -2236,25 +2236,25 @@ DeleteIPLibraries
Switch_IP_Libraries
[Arguments] ${type} ${value} ${GeoName}
sleep ${sleep}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[1]/span/div/div/div[2]/div/div/div/input
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[1]/span/div/div/div[2]/div/div/div/input
sleep ${sleep}
run keyword if "${type}"=="Geo Name" Run Keywords click xpath=/html/body/div/div[1]/div[1]/ul/li[2]
... AND sleep ${sleep_min}
... AND input 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}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
run keyword if "${type}"=="Country and Region" Run Keywords click xpath=/html/body/div/div[1]/div[1]/ul/li[3]
... AND sleep ${sleep_min}
... AND input 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}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
run keyword if "${type}"=="City" Run Keywords click xpath=/html/body/div/div[1]/div[1]/ul/li[4]
... AND sleep ${sleep_min}
... AND input 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}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
run keyword if "${type}"=="Operator" Run Keywords click xpath=/html/body/div/div[1]/div[1]/ul/li[5]
... AND sleep ${sleep_min}
... AND input 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}
... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${value}
... AND sleep ${sleep_min}
... AND click xpath=/html/body/div[2]/div[1]/div[1]/ul/li[1]
sleep ${sleep_min}
sleep ${sleep_min}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[1]/span/div/i
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[1]/span/div/i
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
sleep ${sleep_min}
@@ -2301,7 +2301,7 @@ TurnPage
sleep ${sleep}
${text4} get text xpath=${AssertXpath}
run keyword if "${lastpage}" == "null" run keywords sleep ${sleep_min}
... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[last()]/div/ul/li[last()]
... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[last()]/div/ul/li[last()]
... ELSE click xpath=${lastxpath}
sleep ${sleep}
${text5} get text xpath=${AssertXpath}
@@ -2316,7 +2316,7 @@ PagingDisplay
... ${Number}: 设置页面显示数据条数 20、5、30、50、100
... ${last} 次关键字 当最后一页定位和其他页面不同时传入非null的值
... ${lastxpath} 当最后一页定位和其他页面不同时传入最后一页的xpath 定位
Mouse Over xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div/span/span/div/i
Mouse Over xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div/span/span/div/i
sleep ${sleep_min}
run keyword if "${Number}"=="30" run keywords sleep ${sleep_min}
... AND Click element xpath=//*[@id="page-size"]/div/label[2]
@@ -2329,7 +2329,7 @@ PagingDisplay
sleep ${sleep_min}
Click element xpath=/html/body/div[last()]/div[1]/div[2]/button
sleep ${sleep}
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[last()]/div/span[1]
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[last()]/div/span[1]
sleep ${sleep_min}
${a} Set Variable ${6}
${Quantity} StringSegmentation ${text} ${a}
@@ -2341,7 +2341,7 @@ PagingDisplay
${Page1} Evaluate ${quzheng}+${b}
${Page} Set Variable if "${quyu}" != "0" ${Page1} ${quzheng}
sleep ${sleep_min}
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[last()]/div/ul/li[last()]
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[last()]/div/ul/li[last()]
Should Be Equal As Strings ${text} ${Page}
PagingDisplay_Second
@@ -2515,9 +2515,9 @@ UploadFilesSize
... AND sleep ${sleep}
... AND click xpath=//*[@id="proxyTabs"]/div/ul/li[5]
... AND sleep ${sleep_min}
... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[1]/span[2]/button
... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[1]/span[2]/button
... AND sleep ${sleep_min}
... AND Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[4]/div/div/div[2]/div/div[1]/input ${file}
... AND Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[4]/div/div/div[2]/div/div[1]/input ${file}
... AND sleep ${sleep}
... AND click id=Import_ua_Ok
... AND sleep ${sleep}
@@ -2576,7 +2576,7 @@ DeleteReferencedData
... AND sleep ${sleep_min}
... AND DeleteresinseDel
run keyword if "${Page}"=="InsertScript" run keywords sleep ${sleep_min}
... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr
... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr
... AND sleep ${sleep_min}
... AND Delete
run keyword if "${Page}"=="HijackFile" run keywords sleep ${sleep_min}
@@ -2584,11 +2584,11 @@ DeleteReferencedData
... AND sleep ${sleep_min}
... AND DeletehijackDel
run keyword if "${Page}"=="TrafficMirrorProfile" run keywords sleep ${sleep_min}
... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
... AND sleep ${sleep_min}
... AND DeletetrafficMirrorDel
run keyword if "${Page}"=="DecryptionProfile" run keywords sleep ${sleep_min}
... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span
... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span
... AND sleep ${sleep_min}
... AND Delete
${text} get text xpath=/html/body/div[last()]/p