1、提交新证书文件,2、提交settings模块修改代码3、修改login清除缓存提示框4、提交settings关键字
This commit is contained in:
@@ -20,17 +20,29 @@ ui-login
|
||||
click xpath=//*[@id="app"]/div/div[2]/div/div[4]/button
|
||||
|
||||
Settings-Search
|
||||
[Arguments] ${name} ${search}
|
||||
[Arguments] ${value} ${search}
|
||||
Wait Until Element Is Visible 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 20
|
||||
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 #点击搜索框
|
||||
sleep 1
|
||||
#判断是使用name搜索还是id搜索
|
||||
run keyword if "${search}"=="name" run keywords sleep 1
|
||||
... 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 ${name}
|
||||
... 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}
|
||||
... ELSE IF "${search}"=="id" run keywords sleep 1
|
||||
... 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 ${name}
|
||||
... 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}
|
||||
... ELSE IF "${search}"=="Issuer" run keywords sleep 1
|
||||
... AND click xpath=/html/body/div[7]/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}
|
||||
... ELSE IF "${search}"=="Common Name" run keywords sleep 1
|
||||
... AND click xpath=/html/body/div[7]/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}
|
||||
... ELSE IF "${search}"=="Certificate Fingerprint" run keywords sleep 1
|
||||
... AND click xpath=/html/body/div[7]/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}
|
||||
... ELSE IF "${search}"=="Source Website" run keywords sleep 1
|
||||
... AND click xpath=/html/body/div[7]/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}
|
||||
sleep 1
|
||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[1]/span/div/i #点击搜索按钮
|
||||
sleep 1
|
||||
@@ -290,7 +302,7 @@ Edit-Traffic Mirror Profiles
|
||||
Should Be Equal As Strings ${text1} ${name1} #断言
|
||||
|
||||
import-Trusted Certificate Authorities
|
||||
[Arguments] ${name} ${file}
|
||||
[Arguments] ${name} ${file} ${search}
|
||||
[Documentation] 引用次关键字,填入必填参数
|
||||
... 必填参数:
|
||||
... ${name}:新建页面name输入框里的内容
|
||||
@@ -298,7 +310,7 @@ import-Trusted Certificate Authorities
|
||||
#打开浏览器
|
||||
#ui-login lyf 111111
|
||||
Sleep 1
|
||||
click id=children5 #点击一级目录Settings
|
||||
click id=children6 #点击一级目录Settings
|
||||
Sleep 1
|
||||
click id=sidebarProxy_CertificateManagement #点击二级目录Trusted Certificate Authorities
|
||||
Sleep 2
|
||||
@@ -310,15 +322,13 @@ import-Trusted Certificate Authorities
|
||||
Sleep 2
|
||||
click id=authoritiesAdd_sub #点击OK缇交
|
||||
Sleep 1
|
||||
input id=one-input ${name} #搜索框输入
|
||||
Sleep 1
|
||||
click id=select_new_search_btn #点击搜索按钮
|
||||
Settings-Search ${name} ${search}
|
||||
Sleep 1
|
||||
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span #获取点击后页面文本信息
|
||||
Should Be Equal As Strings ${text1} ${name} #断言
|
||||
|
||||
Create-Decryption Keyrings
|
||||
[Arguments] ${name} ${file} ${file1} ${1or2} ${type} ${type1}
|
||||
[Arguments] ${name} ${file} ${file1} ${1or2} ${type} ${type1} ${search}
|
||||
... ${shift}=close
|
||||
[Documentation] 引用次关键字,填入必填参数
|
||||
... 必填参数:
|
||||
@@ -331,7 +341,7 @@ Create-Decryption Keyrings
|
||||
#打开浏览器
|
||||
#ui-login lyf 111111
|
||||
Sleep 1
|
||||
click id=children5 #点击一级目录Settings
|
||||
click id=children6 #点击一级目录Settings
|
||||
Sleep 1
|
||||
click id=sidebarProxy_CertificateManagement #点击二级目录Trusted Certificate Authorities
|
||||
Sleep 2
|
||||
@@ -341,18 +351,18 @@ Create-Decryption Keyrings
|
||||
Sleep 2
|
||||
input id=keyringsadd_name ${name} #输入name
|
||||
Sleep 2
|
||||
Choose File xpath=//*[@id="app"]/div/div[3]/div/div/div[3]/div/div[2]/form/div[2]/div/div/div/input ${file} #上传文件
|
||||
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div/div/input ${file} #上传文件
|
||||
Sleep 2
|
||||
Choose File xpath=//*[@id="app"]/div/div[3]/div/div/div[3]/div/div[2]/form/div[4]/div/div/div/input ${file1} #上传文件
|
||||
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/div/input ${file1} #上传文件
|
||||
${select} Set Variable ${1or2}
|
||||
Run Keyword If '${select}'=='1' click id=keyringsadd_customized
|
||||
Run Keyword If '${select}'=='1' input id=reissueExpiryDate 10
|
||||
sleep 1
|
||||
click xpath=//*[@id="app"]/div/div[3]/div/div/div[3]/div/div[2]/form/div[7]/div/div/div[1] #点击下拉框
|
||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div/div[1]/span/span/i #点击下拉框
|
||||
sleep 1
|
||||
click ${type} #选择证书类型
|
||||
sleep 1
|
||||
click xpath=//*[@id="app"]/div/div[3]/div/div/div[3]/div/div[2]/form/div[8]/div/div/div[1] #点击下拉框
|
||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[7]/div/div/div[1]/span/span/i #点击下拉框
|
||||
sleep 1
|
||||
click ${type1} #选择加密解密类型
|
||||
sleep 1
|
||||
@@ -362,22 +372,20 @@ Create-Decryption Keyrings
|
||||
... ELSE IF "${root}"=="close" log "go on"
|
||||
click id=keyringsadd_sub #点击OK缇交
|
||||
Sleep 2
|
||||
input id=one-input ${name} #搜索框输入
|
||||
Sleep 1
|
||||
click id=select_new_search_btn #点击搜索按钮
|
||||
Settings-Search ${name} ${search}
|
||||
Sleep 1
|
||||
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span #获取点击后页面文本信息
|
||||
Should Be Equal As Strings ${text1} ${name} #断言
|
||||
|
||||
Create-SSL Decryption Exclusion
|
||||
[Arguments] ${name} ${value} ${name1}
|
||||
[Arguments] ${name} ${value} ${name1} ${search}
|
||||
[Documentation] 引用次关键字,填入必填参数
|
||||
... 必填参数:
|
||||
... ${name}:新建页面name输入框里的内容
|
||||
... ${value}:输入内容
|
||||
... ${naem1}:搜索框填入内容
|
||||
Sleep 1
|
||||
click id=children5 #点击一级目录Settings
|
||||
click id=children6 #点击一级目录Settings
|
||||
Sleep 1
|
||||
click id=sidebarProxy_CertificateManagement #点击二级目录Trusted Certificate Authorities
|
||||
Sleep 2
|
||||
@@ -391,49 +399,36 @@ Create-SSL Decryption Exclusion
|
||||
Sleep 2
|
||||
click id=ssl_ok #点击OK缇交
|
||||
Sleep 1
|
||||
input id=one-input ${name1} #搜索框输入
|
||||
Sleep 1
|
||||
click id=select_new_search_btn #点击搜索按钮
|
||||
Settings-Search ${name1} ${search}
|
||||
Sleep 1
|
||||
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span #获取点击后页面文本信息
|
||||
Should Be Equal As Strings ${text1} ${name} #断言
|
||||
|
||||
Search-Cached Intermediate Certificates
|
||||
[Arguments] ${type} ${id-sni} ${enabled}
|
||||
[Arguments] ${type} ${enabled} ${search}
|
||||
[Documentation] 引用关键字,填入必填参数
|
||||
... ${type}:为搜索类型的元素(id或sni)
|
||||
... ${enabled}:为enabled开启或关闭按钮的元素
|
||||
Sleep 1
|
||||
click id=one-input #点击搜索框
|
||||
Settings-Search ${type} ${search}
|
||||
Sleep 1
|
||||
click ${type}
|
||||
Sleep 1
|
||||
input id=sreach_input ${id-sni}
|
||||
click id=select_new_search_btn #点击搜索按钮
|
||||
Sleep 1
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[7]/div/div/div/p/a/i #点击下载
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[8]/div/div/div/p/i #点击下载
|
||||
Sleep 10
|
||||
click ${enabled} #点击enabled按钮
|
||||
sleep 1
|
||||
|
||||
Edit-Trusted Certificate Authorities
|
||||
[Arguments] ${id-name} ${value} ${name} ${file}
|
||||
[Arguments] ${id-name} ${name} ${file} ${search}
|
||||
[Documentation] 引用关键字,填入必填参数
|
||||
... 必填参数:
|
||||
... ${id-name}:为选择要查询的类型是ID或者Name的元素
|
||||
... ${value}:为查询输入框输入内容
|
||||
... ${search}:为选择要查询的类型是ID或者Name的元素
|
||||
... ${id-name}:为查询输入框输入内容
|
||||
... ${name}:为修改页面的name输入框里输入的内容
|
||||
... ${file}:为修改页面要上传文件的路径
|
||||
sleep 1
|
||||
click id=sidebarProxy_CertificateManagement #点击二级目录Trusted Certificate Authorities
|
||||
Sleep 2
|
||||
click id=one-input #点击搜索框
|
||||
sleep 1
|
||||
click ${id-name} #选择搜索类型
|
||||
sleep 1
|
||||
input id=sreach_input ${value} #输入内容
|
||||
sleep 1
|
||||
click id=select_new_search_btn #点击搜索按钮
|
||||
Settings-Search ${id-name} ${search}
|
||||
sleep 1
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr #点击搜索列表
|
||||
sleep 1
|
||||
@@ -446,14 +441,15 @@ Edit-Trusted Certificate Authorities
|
||||
Choose File xpath=//*[@id="upload_dome"]/div/input ${file} #上传文件
|
||||
sleep 1
|
||||
click id=authoritiesAdd_sub #点击ok
|
||||
sleep 1
|
||||
|
||||
Edit-Decryption Keyrings
|
||||
[Arguments] ${id-name} ${value} ${name} ${file} ${file1} ${1or2}
|
||||
... ${type} ${type1}
|
||||
[Arguments] ${id-name} ${name} ${file} ${file1} ${1or2}
|
||||
... ${type} ${type1} ${search}
|
||||
[Documentation] 引用次关键字,填入必填参数
|
||||
... 必填参数:
|
||||
... ${id-name}:为选择要查询的类型是ID或者Name的元素
|
||||
... ${value}:为查询输入框输入内容
|
||||
... ${search}:为选择要查询的类型是ID或者Name的元素
|
||||
... ${id-name}:为查询输入框输入内容
|
||||
... ${name}:新建页面name输入框里的内容
|
||||
... ${file}:上传文件所在本地的路径
|
||||
... ${file1}:上传文件所在本地的路径
|
||||
@@ -465,13 +461,7 @@ Edit-Decryption Keyrings
|
||||
Sleep 2
|
||||
click xpath=//*[@id="proxyTabs"]/div/ul/li[2] #点击Decryption Keyrings
|
||||
sleep 1
|
||||
click id=one-input #点击搜索框
|
||||
sleep 1
|
||||
click ${id-name} #选择搜索类型
|
||||
sleep 1
|
||||
input id=sreach_input ${value} #输入内容
|
||||
sleep 1
|
||||
click id=select_new_search_btn #点击搜索按钮
|
||||
Settings-Search ${id-name} ${search}
|
||||
sleep 1
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr #点击搜索列表
|
||||
sleep 1
|
||||
@@ -481,35 +471,33 @@ Edit-Decryption Keyrings
|
||||
sleep 1
|
||||
input id=keyringsadd_name ${name} #输入name
|
||||
sleep 1
|
||||
Choose File xpath=//*[@id="app"]/div/div[3]/div/div/div[3]/div/div[2]/form/div[5]/div/div/div/input ${file} #上传文件
|
||||
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[5]/div/div/div/input ${file} #上传文件
|
||||
Sleep 2
|
||||
Choose File xpath=//*[@id="app"]/div/div[3]/div/div/div[3]/div/div[2]/form/div[7]/div/div/div/input ${file1} #上传文件
|
||||
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div[2]/div/div/input ${file1} #上传文件
|
||||
${select} Set Variable ${1or2}
|
||||
Run Keyword If '${select}'=='1' click id=keyringsadd_customized
|
||||
Run Keyword If '${select}'=='1' input id=reissueExpiryDate 10
|
||||
sleep 1
|
||||
click xpath=//*[@id="app"]/div/div[3]/div/div/div[3]/div/div[2]/form/div[10]/div/div/div[1] #点击下拉框
|
||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[9]/div/div/div[1]/span/span/i #点击下拉框
|
||||
sleep 1
|
||||
click ${type} #选择证书类型
|
||||
sleep 1
|
||||
click xpath=//*[@id="app"]/div/div[3]/div/div/div[3]/div/div[2]/form/div[11]/div/div/div[1] #点击下拉框
|
||||
sleep 1
|
||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[10]/div/div/div[1]/span/span/i #点击下拉框
|
||||
sleep 2
|
||||
click ${type1} #选择加密解密类型
|
||||
sleep 1
|
||||
click id=keyringsadd_sub #点击OK缇交
|
||||
Sleep 2
|
||||
input id=one-input ${name} #搜索框输入
|
||||
Sleep 1
|
||||
click id=select_new_search_btn #点击搜索按钮
|
||||
Settings-Search ${name} ${search}
|
||||
Sleep 1
|
||||
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span #获取点击后页面文本信息
|
||||
Should Be Equal As Strings ${text1} ${name} #断言
|
||||
|
||||
Edit-SSL Decryption Exclusion
|
||||
[Arguments] ${id-name} ${value} ${name} ${value1} ${name1}
|
||||
[Arguments] ${id-name} ${name} ${value1} ${name1} ${search}
|
||||
[Documentation] 引用关键字,填入必填参数
|
||||
... ${id-name}:id或者name的元素
|
||||
... ${value}:输入搜索的内容
|
||||
... ${search}:id或者name的元素
|
||||
... ${id-name}:输入搜索的内容
|
||||
... ${name}:输入name
|
||||
... ${calue1}:输入内容
|
||||
sleep 1
|
||||
@@ -517,13 +505,7 @@ Edit-SSL Decryption Exclusion
|
||||
Sleep 2
|
||||
click xpath=//*[@id="proxyTabs"]/div/ul/li[3] #点击SSL Decryption Exclusion按钮
|
||||
sleep 1
|
||||
click id=one-input #点击搜索框
|
||||
sleep 1
|
||||
click ${id-name} #选择搜索类型
|
||||
sleep 1
|
||||
input id=sreach_input ${value} #输入内容
|
||||
sleep 1
|
||||
click id=select_new_search_btn #点击搜索按钮
|
||||
Settings-Search ${id-name} ${search}
|
||||
sleep 1
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr #点击搜索列表
|
||||
Sleep 1
|
||||
@@ -534,12 +516,10 @@ Edit-SSL Decryption Exclusion
|
||||
input id=sslAdd_name ${name} #输入name
|
||||
sleep 1
|
||||
input id=sslAdd_itemDesc ${value1} #输入内容
|
||||
Sleep 2
|
||||
sleep 1
|
||||
click id=ssl_ok #点击OK缇交
|
||||
Sleep 2
|
||||
input id=one-input ${name1} #搜索框输入
|
||||
Sleep 1
|
||||
click id=select_new_search_btn #点击搜索按钮
|
||||
Settings-Search ${id-name} ${search}
|
||||
Sleep 1
|
||||
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span #获取点击后页面文本信息
|
||||
Should Be Equal As Strings ${text1} ${name} #断言
|
||||
@@ -868,7 +848,7 @@ Policy_Verify
|
||||
[Arguments] ${Select-Test1} ${APP-ID1} ${Address-type1}=null ${Client-IP1}=null ${Client-Port1}=null ${Server-IP1}=null
|
||||
... ${Server-Port1}=null ${Protocol1}=null ${Subscriber-ID1}=null ${dict1}=null
|
||||
Sleep 1
|
||||
click id=children5 #点击一级目录Settings
|
||||
click id=children6 #点击一级目录Settings
|
||||
Sleep 1
|
||||
click id=sidebarTrouble_shooting #点击二级目录Trouble Shooting
|
||||
Sleep 2
|
||||
@@ -922,28 +902,34 @@ Policy_Verify
|
||||
... ELSE input id=SubscriberID ${Subscriber-ID}
|
||||
sleep 2
|
||||
${APP-ID} Set Variable ${APP-ID1}
|
||||
Run Keyword If "${Select-Test}"=="Security Policy Match" and "${APP-ID}"=="Protocol-HTTP" Run Keywords click id=protocol
|
||||
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
|
||||
... AND sleep 2
|
||||
... AND log $$$$$$1111111
|
||||
... AND Policy_Verify_Switch ${APP-ID}
|
||||
... AND click id=Protocol-HTTPhttp
|
||||
... AND sleep 2
|
||||
... ELSE IF "${Select-Test}"=="Security Policy Match" and "${APP-ID}"=="Protocol-SSL" Run Keywords click id=protocol
|
||||
... 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
|
||||
... AND sleep 2
|
||||
... 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 id=protocol
|
||||
... 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
|
||||
... AND sleep 2
|
||||
... 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 id=protocol
|
||||
... 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
|
||||
... AND sleep 2
|
||||
... 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 id=protocol
|
||||
... 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
|
||||
... AND sleep 2
|
||||
... 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 id=protocol
|
||||
... 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
|
||||
... AND sleep 2
|
||||
... 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 id=protocol
|
||||
... 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
|
||||
... AND sleep 2
|
||||
... AND Policy_Verify_Switch ${APP-ID}
|
||||
... AND click id=Protocol-DoHDoH
|
||||
... ELSE log 传入参数错误
|
||||
${dict} Set Variable ${dict1}
|
||||
@@ -1400,4 +1386,11 @@ DeleteAuthorities_del
|
||||
click id=Authorities_del
|
||||
sleep 2
|
||||
click xpath=/html/body/div/div/div[3]/button[2]
|
||||
sleep 2
|
||||
sleep 2
|
||||
|
||||
Policy_Verify_Switch
|
||||
[Arguments] ${Protocol}
|
||||
sleep 1
|
||||
input xpath=//*[@id="objectName_seach"] ${Protocol}
|
||||
press keys xpath=//*[@id="objectName_seach"] ENTER
|
||||
sleep 1
|
||||
Reference in New Issue
Block a user