修改关键字ID,修改将等待时间改为提取的关键字

This commit is contained in:
byb11
2021-03-09 11:03:39 +08:00
parent 813738e1e9
commit 6123632b8d
13 changed files with 206 additions and 202 deletions

View File

@@ -10,42 +10,42 @@ CachedIntermediateCertificatesSearchID
[Tags] Positive UI Settings CachedIntermediateCertificates
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[4] xpath
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span
Sleep 2
sleep ${sleep}
CachedIntermediateCertificatesSearch ${id} //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span id
CachedIntermediateCertificatesSearchSourceWebsite
[Tags] Positive UI Settings CachedIntermediateCertificates
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[4] xpath
${SourceWebsite} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/p/span
Sleep 2
sleep ${sleep}
CachedIntermediateCertificatesSearch ${SourceWebsite} //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/p/span Source Website
CachedIntermediateCertificatesSearchCommonName
[Tags] Positive UI Settings CachedIntermediateCertificates
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[4] xpath
${CommonName} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[6]/div/div/div/p/span
Sleep 2
sleep ${sleep}
CachedIntermediateCertificatesSearch ${CommonName} //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[6]/div/div/div/p/span CommonName
CachedIntermediateCertificatesSearchIssuer
[Tags] Positive UI Settings CachedIntermediateCertificates
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[4] xpath
${Issuer} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/div/p/span
Sleep 2
sleep ${sleep}
CachedIntermediateCertificatesSearch ${Issuer} //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/div/p/span Issuer
CachedIntermediateCertificatesSearchCertificateFingerprint
[Tags] Positive UI Settings CachedIntermediateCertificates
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[4] xpath
${CertificateFingerprint} get text //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/div/p/span
Sleep 2
sleep ${sleep}
CachedIntermediateCertificatesSearch ${CertificateFingerprint} //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/div/p/span CertificateFingerprint
CachedIntermediateCertificatesDownLoad
[Tags] Positive UI Settings CachedIntermediateCertificates
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[4] xpath
Settings-Search 421 id
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[8]/div/div/div/p/i
sleep ${sleep}
should exist ${DownLoadPath}78005c5a-33b9-43b1-80ad-0a542c62b9da.pem
@@ -110,7 +110,7 @@ CachedIntermediateCertificatesImportExpiredCertificate #导入过期证书
Login root *#00#QAZxsw@edc
Write cd /home/byb/
Write ./1111.sh
sleep 2
sleep ${sleep}
${text2} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span
Should Be Equal As Strings ${text1} ${text2}
@@ -123,7 +123,7 @@ CachedIntermediateCertificatesSynchronizeVerification #验证修改证书状
Open Connection 192.168.44.71 port=22
Login root Xxg-PUB<>90
${Results} Execute Command redis-cli -h 192.168.44.71 -p 7002 keys EFF*PXY_EXCH_INTERMEDIA_CERT,1
sleep 1
sleep ${sleep_min}
Should Not Be Equal ${Results} EFFECTIVE_RULE:PXY_EXCH_INTERMEDIA_CERT,1
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[10]/div/div/div/span

View File

@@ -127,9 +127,9 @@ DecryptionKeyringsDownload
[Tags] Positive UI Settings DecryptionKeyrings
CreateDecryptionKeyrings lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 2 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/div/p/i
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[5]/div/div/div/p/i
sleep 2
sleep ${sleep}
DownLoadFile ${path}keyrings//root//ca-cer.pem ${DownLoadPath}ca-cer.pem
DownLoadFile ${path}keyrings//root//ca.keym ${DownLoadPath}ca.keym
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
@@ -265,9 +265,9 @@ DecryptionKeyringsNullName
[Tags] Negtive UI Settings DecryptionKeyrings
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
click id=app_create
sleep 1
sleep ${sleep_min}
click id=keyringsadd_sub
sleep 1
sleep ${sleep_min}
${text1} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[1]/div/div[3]
${text2} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[6]/div/div[2]
${text3} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[7]/div/div[2]
@@ -279,17 +279,17 @@ DecryptionKeyringsMaxSizeHSM
[Tags] Negtive UI Settings DecryptionKeyrings
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
click id=app_create
sleep 1
sleep ${sleep_min}
input id=keyringsadd_name DecryptionKeyringsMaxSizeHSM
sleep 1
sleep ${sleep_min}
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[2]/div/div/div/input ${path}keyrings//end-entity//caentity.chain.pem
Sleep 2
sleep ${sleep}
click id=privateHSM
sleep 1
sleep ${sleep_min}
input id=keyringsadd_slotid 2147483648
sleep 2
sleep ${sleep}
click id=keyringsadd_sub
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[4]/div/div[2]
Should Be Equal As Strings ${text} The maximum value of 2147483647 has been exceeded.
@@ -297,21 +297,21 @@ DecryptionKeyringsMaxSizeCustomized
[Tags] Negtive UI Settings DecryptionKeyrings
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
click id=app_create
sleep 1
sleep ${sleep_min}
input id=keyringsadd_name DecryptionKeyringsMaxSizeCustomized
sleep 1
sleep ${sleep_min}
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[2]/div/div/div/input ${path}keyrings//end-entity//caentity.chain.pem
Sleep 2
sleep ${sleep}
click id=privateHSM
sleep 1
sleep ${sleep_min}
input id=keyringsadd_slotid 21474836
sleep 2
sleep ${sleep}
click id=keyringsadd_customized
sleep 1
sleep ${sleep_min}
input id=reissueExpiryDate 2147483648
sleep 1
sleep ${sleep_min}
click id=keyringsadd_sub
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[5]/div/div[2]
Should Be Equal As Strings ${text} The maximum value of 2147483647 has been exceeded.

View File

@@ -29,9 +29,9 @@ DercryptionProfileOpen1
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=1 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
@@ -47,9 +47,9 @@ DercryptionProfileOpen2
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=0 Expiry Date=0 EV Certificat=0
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
@@ -65,9 +65,9 @@ DercryptionProfileOpen3
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=0 EV Certificat=0
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
@@ -83,9 +83,9 @@ DercryptionProfileOpen4
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=0
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
@@ -101,9 +101,9 @@ DercryptionProfileOpen5
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
@@ -119,9 +119,9 @@ DercryptionProfileOpen6
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
... Certificate Transparency=1 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
@@ -138,9 +138,9 @@ DercryptionProfileOpen7
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
@@ -157,9 +157,9 @@ DercryptionProfileOpen8
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
@@ -176,9 +176,9 @@ DercryptionProfileOpen9
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
@@ -195,9 +195,9 @@ DercryptionProfileOpen10
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=0
... Allow HTTP/2=0
@@ -214,9 +214,9 @@ DercryptionProfileOpen11
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=0
@@ -233,9 +233,9 @@ DercryptionProfileOpen12
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=0
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
@@ -253,9 +253,9 @@ DercryptionProfileClose1
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=0 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
@@ -271,9 +271,9 @@ DercryptionProfileClose2
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=1 Expiry Date=1 EV Certificat=1
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
@@ -289,9 +289,9 @@ DercryptionProfileClose3
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=1 EV Certificat=1
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
@@ -307,9 +307,9 @@ DercryptionProfileClose4
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=1
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
@@ -325,9 +325,9 @@ DercryptionProfileClose5
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
@@ -343,9 +343,9 @@ DercryptionProfileClose5
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
... Certificate Transparency=0 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
@@ -362,9 +362,9 @@ DercryptionProfileClose5
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
@@ -381,9 +381,9 @@ DercryptionProfileClose5
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
@@ -400,9 +400,9 @@ DercryptionProfileClose5
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
@@ -419,9 +419,9 @@ DercryptionProfileClose5
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=1
... Allow HTTP/2=1
@@ -438,9 +438,9 @@ DercryptionProfileClose5
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
... Allow HTTP/2=1
@@ -457,9 +457,9 @@ DercryptionProfileClose5
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
... Allow HTTP/2=1
CreateDecryptionProfile DercryptionProfile name ${dict}
Sleep 1
sleep ${sleep_min}
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
sleep 1
sleep ${sleep_min}
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Allow HTTP/2=0
... Mirror Client Versions=0
@@ -562,49 +562,49 @@ DecryptionProfileNullname
[Tags] Negtive UI Settings DecryptionProfile
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_DecryptionProfile
click id=insertAdd
sleep 1
sleep ${sleep_min}
click id=decryption-ok
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[1]/div/div[3]
Should Be Equal As Strings ${text} Please enter the content
DercryptionProfileVersionLessTLSv1.2
[Tags] Negtive UI Settings DecryptionProfile
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_DecryptionProfile
Sleep 1
sleep ${sleep_min}
click id=insertAdd
sleep 1
sleep ${sleep_min}
input id=insert_profileName DercryptionProfileVersionLessTLSv1.2
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[7]/div[1]/div/div/span
Sleep 1
sleep ${sleep_min}
click xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[last()]/div[2]/div/div/div/span/span/i
sleep 1
sleep ${sleep_min}
click id=pro_min2
sleep 1
sleep ${sleep_min}
click id=decryption-ok
${test} get text xpath=/html/body/div[last()]/p
sleep 2
sleep ${sleep}
Should Be Equal As Strings ${test} HTTP/2 MUST use TLS version 1.2 or higher.
DercryptionProfileVersionError
[Tags] Negtive UI Settings DecryptionProfile
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_DecryptionProfile
Sleep 1
sleep ${sleep_min}
click id=insertAdd
sleep 1
sleep ${sleep_min}
input id=insert_profileName DercryptionProfileVersionError
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[7]/div[1]/div/div/span
Sleep 1
sleep ${sleep_min}
click xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[7]/div[4]/div/div/span
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[7]/div[3]/div/div/div/span/span/i
sleep 1
sleep ${sleep_min}
click id=pro_max0
sleep 1
sleep ${sleep_min}
click id=decryption-ok
sleep 2
sleep ${sleep}
${test} get text xpath=/html/body/div[last()]/p
Should Be Equal As Strings ${test} In Protocol version , min version can't greater than max version

View File

@@ -156,9 +156,9 @@ HijackFilesUploadExceed20MFile
[Tags] Negtive html Settings HijackFile
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_HijackFiles
click id=hijackAdd
sleep 1
sleep ${sleep_min}
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div/div[1]/input ${path}hijack_files/Exceed20MFile.html
sleep 1
sleep ${sleep_min}
${text} get text xpath=/html/body/div[last()]/p
Should Be Equal As Strings ${text} File size upload limit is 20MB
@@ -174,9 +174,9 @@ HijackFilesCreateNullName
[Tags] Negtive UI Settings HijackFile
OpenPages sidebarProxy_Profiles profilesTabs_Profile_HijackFiles
click id=hijackAdd
Sleep 2
sleep ${sleep}
click id=hijackAddOk1
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3]
${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div[2]
Should Be Equal As Strings ${text} Please enter the content

View File

@@ -48,7 +48,7 @@ IPLibrariesSearchGeoName
CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=L${a} Longitude=1 Latitude=2
OpenPages sidebarAdvanced Advanced/ipLibrary
Settings-Search ${a} GeoName
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div
Should Be Equal As Strings ${text} ${a}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
@@ -61,7 +61,7 @@ IPLibrariesSearchCountryandRegion
CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=1 Latitude=2
OpenPages sidebarAdvanced Advanced/ipLibrary
Settings-Search ${a} CountryandRegion
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/div
Should Be Equal As Strings ${text} ${a}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
@@ -74,7 +74,7 @@ IPLibrariesSearchCity
CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=1 Latitude=2
OpenPages sidebarAdvanced Advanced/ipLibrary
Settings-Search ${a} City
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[4]/div/div/div
Should Be Equal As Strings ${text} ${a}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
@@ -87,16 +87,16 @@ IPLibrariesClickAll
CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=180 Latitude=90
OpenPages sidebarAdvanced Advanced/ipLibrary
click xpath=//*[@id="IPLibraryAll0"]/span
sleep 1
sleep ${sleep_min}
Settings-Search 5898240 GeoName
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div
Should Be Equal As Strings ${text} 5898240
OpenPages sidebarAdvanced Advanced/ipLibrary
click xpath=//*[@id="IPLibraryAll0"]/span
sleep 1
sleep ${sleep_min}
Settings-Search ${a} GeoName
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div
Should Be Equal As Strings ${text} ${a}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
@@ -109,14 +109,14 @@ IPLibrariesClickBuilt-in
CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=180 Latitude=90
OpenPages sidebarAdvanced Advanced/ipLibrary
click xpath=//*[@id="IPLibraryAll1"]/span
sleep 1
sleep ${sleep_min}
Settings-Search ${a} GeoName
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/div/span
Should Be Equal As Strings ${text} No Data
OpenPages sidebarAdvanced Advanced/ipLibrary
Settings-Search ${a} GeoName
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
DeleteIPLibraries
@@ -124,9 +124,9 @@ IPLibrariesClickImported
[Tags] Positive UI Settings IPLibraries
OpenPages sidebarAdvanced Advanced/ipLibrary
click xpath=//*[@id="IPLibraryAll2"]/span
sleep 1
sleep ${sleep_min}
Settings-Search 5898240 GeoName
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/div/span
Should Be Equal As Strings ${text} No Data
@@ -136,16 +136,16 @@ IPLibrariesSearchIP
${a}= RandomNumber
CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=180 Latitude=90
click id=tagEdit
sleep 2
sleep ${sleep}
input id=IPseach 1.1.1.1
sleep 1
sleep ${sleep_min}
press keys id=IPseach ENTER
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[3]/div/div[2]/div[2]/ul/li/div/form/div/div/div
Should Be Equal As Strings ${text} 1.1.1.1-2.2.2.2
OpenPages sidebarAdvanced Advanced/ipLibrary
Settings-Search ${a} GeoName
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
DeleteIPLibraries
@@ -170,7 +170,8 @@ IPLibrariesCreateGeoNameIDMaxSize
IPLibrariesCreateCountryandRegionAndCityMaxSize
[Tags] Boundary UI Settings IPLibraries
${iplist} create list 10.1.1.1-20.1.1.1 20.1.1.1-30.1.1.1
CreateIpLibraries Geo Name Country Africa 548459 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 ${iplist} j=2 Country=11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 Longitude=1 Latitude=2
${a}= RandomNumber
CreateIpLibraries Geo Name Country Africa ${a} 1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111${a} ${iplist} j=2 Country=1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111${a} Longitude=1 Latitude=2
DeleteIPLibraries
IPLibrariesCreateLongitudeAndLatitudeMaxSize
@@ -185,7 +186,7 @@ IPLibrariesGeoNameIDRepeat
CreateIpLibraries Geo Name Country Africa 548464 548464 ${iplist} j=2 Country=5484888 Longitude=180 Latitude=90
CreateIpLibrariesErrorVerification Geo Name Country Africa 548464 548464 ${iplist} //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[3]/div/div[3] Geo Name already exists j=2 Country=548464 Longitude=180 Latitude=90
click id=IP_library_cancel
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
DeleteIPLibraries

View File

@@ -97,9 +97,9 @@ InsertScriptsUploadExceed20MFile
[Tags] Negtive UI File Settings InsertScript
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_Insert
click id=insertAdd
sleep 1
sleep ${sleep_min}
Choose File xpath=//*[@id="insertAddUpload"]/div[1]/input ${path}insert_files\\Exceed20MFile.css
sleep 1
sleep ${sleep_min}
${text} get text xpath=/html/body/div[last()]/p
Should Be Equal As Strings ${text} File size upload limit is 20MB
@@ -111,9 +111,9 @@ InsertScritsCreateNullName
[Tags] Negtive UI Settings InsertScrit
OpenPages sidebarProxy_Profiles profilesTabs_Profile_Insert
click id=insertAdd
Sleep 2
sleep ${sleep}
click id=insertAddOk1
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[1]/div/div[3]
${text1} get text xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[3]/div/div[2]
Should Be Equal As Strings ${text} Please enter the content

View File

@@ -35,7 +35,7 @@ PacketCaptureCreateIPInterval
CreatePacketCapture PacketCaptureCreateProtocolUDP IPV4 192.168.50.1-192.168.50.62 Any Almaty 10 10 80 1.1.1.1 8080
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[7]/div/div/div/p/span
Should Be Equal As Strings ${text} 192.168.50.1-192.168.50.62
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
DeletePacketCapture
@@ -53,7 +53,7 @@ PacketCaptureSearchID
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
Settings-Search ${id} id
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div
Should Be Equal As Strings ${id} ${text}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
@@ -64,7 +64,7 @@ PacketCaptureSearchName
CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
Settings-Search PacketCaptureSearchName name
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[4]/div/div/div
Should Be Equal As Strings PacketCaptureSearchName ${text}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
@@ -75,7 +75,7 @@ PacketCaptureSearchIP
CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
Settings-Search ${testClentIP} ip
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[7]/div/div/div
Should Be Equal As Strings ${testClentIP} ${text}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
@@ -86,7 +86,7 @@ PacketCaptureSearchPort
CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
Settings-Search 80 port
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[8]/div/div/div
Should Be Equal As Strings 80-80 ${text}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
@@ -97,7 +97,7 @@ PacketCaptureSearchisValid_Effective
CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
PacketCaptureSerch Effective
sleep 1
sleep ${sleep_min}
${text} Get Element Attribute xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/span/i[2] style
Should Be Equal As Strings color: rgb(232, 123, 108); font-size: 16px; ${text}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
@@ -107,7 +107,7 @@ PacketCaptureSearchisValid_Invalid
[Tag] Positive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
PacketCaptureSerch Invalid
sleep 1
sleep ${sleep_min}
${text} Get Element Attribute xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/span/i[1] style
Should Be Equal As Strings font-size: 16px; color: rgb(50, 115, 156); ${text}
@@ -127,9 +127,9 @@ PacketCaptureDeletePacket
click xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/span
sleep 3
click id=packetList_del
sleep 1
sleep ${sleep_min}
click xpath=/html/body/div/div/div[3]/button[2]
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[2]/td/div/div[2]
Should Be Equal As Strings ${text} No Data
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
@@ -181,9 +181,9 @@ PacketCaptureCreateALLNull
[Tag] Negtive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
click id=packet_create
sleep 1
sleep ${sleep_min}
click id=packetCaptureAdd_ok
sleep 1
sleep ${sleep_min}
${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[1]/div/div[3]
${text2} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[9]/div/div[2]
${text3} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[10]/div/div[2]
@@ -195,11 +195,11 @@ PacketCaptureCreateIPFormat
[Tag] Negtive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
click id=packet_create
sleep 1
sleep ${sleep_min}
input id=PacketCaptureadd_cliIp fe80::3cf8:a41c:122a:b3
sleep 1
sleep ${sleep_min}
click id=packetCaptureAdd_ok
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[3]/div/div[2]
Should Be Equal As Strings ${text} IP format error
@@ -207,11 +207,11 @@ PacketCaptureCreatePortFormatError
[Tag] Negtive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
click id=packet_create
sleep 1
sleep ${sleep_min}
input id=PacketCaptureadd_cliPort 0
input id=PacketCaptureadd_serPort 65536
click id=packetCaptureAdd_ok
sleep 1
sleep ${sleep_min}
${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[4]/div/div[2]
${text2} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[6]/div/div[2]
Should Be Equal As Strings ${text1} Port format error
@@ -221,15 +221,15 @@ PacketCaptureCreateTwoEffectiveDeviceso
[Tag] Negtive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
click id=packet_create
sleep 1
sleep ${sleep_min}
click id=PacketCaptureadd_EDevice
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="policy_Manipulation_create4"]/div/div[2]/div/div/div/div[1]/div/div/div[1]/div[1]/label/span/span
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="policy_Manipulation_create4"]/div/div[2]/div/div/div/div[1]/div/div/div[2]/div[1]/label/span/span
sleep 1
sleep ${sleep_min}
click id=proxyManipulationConditionsAreaSuccess
sleep 1
sleep ${sleep_min}
${text} get text xpath=/html/body/div[last()]/p
click id=proxyManipulationConditionsAreaCancel
Should Be Equal As Strings ${text} Only one valid device can be selected
@@ -238,10 +238,10 @@ PacketCaptureCreateCapturedNumberFormatError
[Tag] Negtive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
click id=packet_create
sleep 1
sleep ${sleep_min}
input id=PacketCaptureadd_MaxPacketCapNum 0
click id=PacketCaptureadd_cliPort
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[9]/div/div[2]
Should Be Equal As Strings ${text} maxPacket should be greater than 0 and less than 100000
@@ -249,9 +249,9 @@ PacketCaptureCreateCapturedNumberFormatError
[Tag] Negtive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
click id=packet_create
sleep 1
sleep ${sleep_min}
input id=PacketCaptureadd_pcapStorageDay 596524
click id=PacketCaptureadd_cliPort
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[10]/div/div[2]
Should Be Equal As Strings ${text} The maximum value of capture duration is 596523 and can only be integers

View File

@@ -75,9 +75,9 @@ SSLDecryptionExclusionNullDescriptionAndFQDN
[Tags] Negtive UI Settings SSLDecryptionExclusion
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[3] xpath
click id=ssl_create
sleep 1
sleep ${sleep_min}
click id=ssl_ok
sleep 2
sleep ${sleep}
${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[1]/div/div[3]
${text2} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[2]/div/div[2]
Should Be Equal As Strings ${text1} Please enter the content

View File

@@ -60,25 +60,28 @@ SSLFingerprintImportJA3
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath
SSLFingerprintImportJA3 ${path}SSLFingerprint_files/InportSSLFingerprint.csv
Settings-Search d8c87baaaaaaaaaaaa9e41242626c2f3 JA3Hash
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
DeleteSSLFingerprint
SSLFingerprintExport
[Tags] Positive UI Settings SSLFingerprint
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath
${a}= RandomNumber
CreateSSLFingerprint aaa${a}db3e351bbd8d38b64c41fffff Yes JA3Hash Description=test
click id=objectExport
sleep 3
Should_Exist ${Downloadpath}SSL_Fingerprint.csv
Remove File ${Downloadpath}SSL_Fingerprint.csv
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
DeleteSSLFingerprint
SSLFingerprintDownloadExample
[Tags] Positive UI Settings SSLFingerprint
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath
click id=objectImport
sleep 1
sleep ${sleep_min}
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[1]/div/div/div[2]/span
sleep 2
sleep ${sleep}
Should_Exist ${Downloadpath}JA3 hash import example.csv
Remove File ${Downloadpath}JA3 hash import example.csv
@@ -90,12 +93,12 @@ SSLFingerprintShowAll
CreateSSLFingerprint b32309a2${b}912be7dba376398abfff Yes JA3Hash Description=test
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath
click id=Fingerprint_built0
sleep 1
sleep ${sleep_min}
Settings-Search bfff09a${a}1912be7dba376398abc3b JA3Hash
${text} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/div/span/div[2]/span
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
DeleteSSLFingerprint
sleep 1
sleep ${sleep_min}
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath
Settings-Search b32309a2${b}912be7dba376398abfff JA3Hash
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/div/span/div[2]/span
@@ -110,12 +113,12 @@ SSLFingerprintShowPinning
CreateSSLFingerprint bfff09a26${a}12be7dba376398abc3b No JA3Hash Description=test
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath
click id=Fingerprint_built1
sleep 1
sleep ${sleep_min}
Settings-Search bfff09a26${a}12be7dba376398abc3b JA3Hash
${text} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/div/span
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath
Settings-Search bfff09a26${a}12be7dba376398abc3b JA3Hash
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
DeleteSSLFingerprint
Should Be Equal As Strings ${text} No Data
@@ -126,12 +129,12 @@ SSLFingerprintShowNotPinning
CreateSSLFingerprint bfff09a2695${a}be7dba376398abc3b Yes JA3Hash Description=test
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath
click id=Fingerprint_built2
sleep 1
sleep ${sleep_min}
Settings-Search bfff09a2695${a}be7dba376398abc3b JA3Hash
${text} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/div/span
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath
Settings-Search bfff09a2695${a}be7dba376398abc3b JA3Hash
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
DeleteSSLFingerprint
Should Be Equal As Strings ${text} No Data
@@ -158,9 +161,9 @@ SSLFingerprintCreateNullJA3Hash
[Tags] Negtive UI Settings SSLFingerprint
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath
click id=Fingerprint_create
sleep 1
sleep ${sleep_min}
click id=authoritiesAdd_sub
sleep 2
sleep ${sleep}
${text} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3]
Should Be Equal As Strings ${text} Please enter the content
@@ -168,11 +171,11 @@ SSLFingerprintCreateFormatError
[Tags] Negtive UI Settings SSLFingerprint
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath
click id=Fingerprint_create
sleep 1
sleep ${sleep_min}
input id=authoritiesAdd_name a75de44db3e351bbd8d38b64c41ggggg
sleep 1
sleep ${sleep_min}
click id=authoritiesAdd_sub
sleep 2
sleep ${sleep}
${text} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3]
Should Be Equal As Strings ${text} format error
@@ -181,14 +184,14 @@ SSLFingerprintCreateRepeatJA3Hash
CreateSSLFingerprint a75de44db3e351bbd8d38b64c41fffff Yes JA3Hash Description=test
${ID} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/div/span
click id=Fingerprint_create
sleep 1
sleep ${sleep_min}
input id=authoritiesAdd_name a75de44db3e351bbd8d38b64c41fffff
sleep 1
sleep ${sleep_min}
click id=authoritiesAdd_sub
sleep 2
sleep ${sleep}
${text} Get Text xpath=/html/body/div[last()]/p
Should Be Equal As Strings ${text} JA3 Hash repeat
sleep 1
sleep ${sleep_min}
click id=authoritiesAdd_cancel
Settings-Search ${ID} id
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
@@ -222,9 +225,9 @@ SSLFingerprintImportRepeatJA3
${text} Get Text 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/div[2]/div[2]/div[1]/div[3]/table/tbody/tr/td[3]/div
Should Be Equal As Strings ${text} JA3 Hash repeat
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[2]/div[2]/button
sleep 1
sleep ${sleep_min}
Settings-Search d8c87baaaaaaaaaaaa9e41242626c2f3 JA3Hash
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
DeleteSSLFingerprint

View File

@@ -101,9 +101,9 @@ TrafficMirrorProfilesCreateErrorMac
TrafficMirrorProfilesNoInput
[Tags] Negtive UI Settings TrafficMirrorProfile
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_TrafficMirrorProfiles
sleep 1
sleep ${sleep_min}
click id=trafficMirrorAdd
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1]
sleep 3
${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3]

View File

@@ -22,7 +22,7 @@ TrustedCertificateAuthoritiesEditNameSearchID
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/p/span
EditTrustedCertificateAuthorities ${id} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem id
Wait Until Element Is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span 20
Wait Until Element Is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span ${sleep_Wait}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteAuthorities_del
@@ -31,7 +31,7 @@ TrustedCertificateAuthoritiesEditFileSearchName
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
EditTrustedCertificateAuthorities ${name} lyf-RF-test-001 ${path}keyrings//root//mesalab-ca-cert.pem name
Wait Until Element Is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span 20
Wait Until Element Is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span ${sleep_Wait}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteAuthorities_del
@@ -40,7 +40,7 @@ TrustedCertificateAuthoritiesEditSearchIssuer
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
${Issuer} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/div/p/span
EditTrustedCertificateAuthorities ${Issuer} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem Issuer
Wait Until Element Is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span 20
Wait Until Element Is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span ${sleep_Wait}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteAuthorities_del
@@ -49,7 +49,7 @@ TrustedCertificateAuthoritiesEditSearchCommonName
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
${CommonName} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[8]/div/div/div/p/span
EditTrustedCertificateAuthorities ${CommonName} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem CommonName
Wait Until Element Is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span 20
Wait Until Element Is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span ${sleep_Wait}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteAuthorities_del
@@ -58,7 +58,7 @@ TrustedCertificateAuthoritiesEditSearchCertificateFingerprint
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
${CertificateFingerprint} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/div/p/span
EditTrustedCertificateAuthorities ${CertificateFingerprint} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem CertificateFingerprint
Wait Until Element Is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span 20
Wait Until Element Is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span ${sleep_Wait}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteAuthorities_del
@@ -74,7 +74,7 @@ TrustedCertificateAuthoritiesEditDefaultCertificate
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
Settings-Search 1 id
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
sleep 1
sleep ${sleep_min}
SettingsElementAttributes //*[@id="appEdit"] el-button el-button--default el-button--small is-disabled class
TrustedCertificateAuthoritiesTurnPage
@@ -163,11 +163,11 @@ TrustedCertificateAuthoritiesCreateNameThreeCharacters
[Tags] Negtive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
click id=app_create #点击Import
Sleep 2
sleep ${sleep}
input id=authoritiesAdd_name 123 #输入name
sleep 1
sleep ${sleep_min}
click id=authoritiesAdd_sub
sleep 1
sleep ${sleep_min}
${text} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[1]/div/div[3]
Should Be Equal As Strings ${text} Content length is less than 4

View File

@@ -56,11 +56,11 @@ VPNAccountsCreateNameSpecialChar
[Tags] Negtive UI name Settings VPNAccounts
OpenPages sidebarSetting_Wannat account
click id=app_create
sleep 1
sleep ${sleep_min}
input xpath=//*[@id="wannat_vpn_username"]/div/div/div[1]/input 中文+absc+моряков+@#¥%……&*
sleep 1
sleep ${sleep_min}
click id=wanAdd_ok
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="wannat_vpn_username"]/div/div[2]
Should Be Equal As Strings ${text} Only English letters, numbers, underscore _, minus sign -, English dot (.)
@@ -68,9 +68,9 @@ VPNAccountsCreateNullNameAndPassword
[Tags] Negtive UI name Settings VPNAccounts
OpenPages sidebarSetting_Wannat account
click id=app_create
sleep 1
sleep ${sleep_min}
click id=wanAdd_ok
sleep 1
sleep ${sleep_min}
${text1} get text xpath=//*[@id="wannat_vpn_username"]/div/div[2]
${text2} get text xpath=//*[@id="wannat_vpn_password"]/div/div[2]
Should Be Equal As Strings ${text1} This item is required

View File

@@ -89,7 +89,7 @@ CreateSNATIPPools
... AND sleep ${sleep_min}
... AND SANTIPIF ${j} ${ip} #判断是添加一个ip还是多个ip
... AND click id=wan_reach_test #点击可达性测试按钮
... AND Wait Until Element Is Visible id=edit_0 ${sleep_Wait} #等待时间,等待元素出现后在进行后续操作
... 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按钮
... AND sleep ${sleep_min}
@@ -129,7 +129,7 @@ EditSNATIPPools
... AND sleep ${sleep_min}
run keyword if "${type}"=="create" Run Keywords SNATIPRangeCreate ${j} ${ip}
... AND click id=wan_reach_test #点击可达性测试按钮
... AND Wait Until Element Is Visible id=edit_0 ${sleep_Wait}
... AND Wait Until Element Is Enabled id=edit_0 ${sleep_Wait}
... AND sleep ${sleep_min}
... AND click id=wan_reach_test
... AND sleep ${sleep_min}
@@ -183,7 +183,7 @@ SNATIPRangeCreate
SNATIPSearch
[Arguments] ${value} ${search}
Wait Until Element Is Visible xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div[2]/div/div/div[2]/div/div/div/input ${sleep_Wait}
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div[2]/div/div/div[2]/div/div/div/input ${sleep_Wait}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div[2]/div/div/div[2]/div/div/div/input #点击搜索框
sleep ${sleep_min}
#判断是使用name搜索还是id搜索
@@ -241,7 +241,7 @@ CreateVPNAccounts
input xpath=//*[@id="wannat_vpn_password"]/div/div/input ${passwd} #输入密码
sleep ${sleep_min}
click id=wanAdd_ok #点击ok按钮
Wait Until Element Is Visible xpath=//*[@id="wannat-table"]/div[3]/table/tbody/tr/td[1]/div/div/div[2]/span ${sleep_Wait}
Wait Until Element Is Enabled xpath=//*[@id="wannat-table"]/div[3]/table/tbody/tr/td[1]/div/div/div[2]/span ${sleep_Wait}
VPNAccountsSearch ${name} ${search}
${text1} Get Text xpath=//*[@id="wannat-table"]/div[3]/table/tbody/tr/td[1]/div/div/div[2]/span #获取点击后页面文本信息
Should Be Equal As Strings ${text1} ${name} #断言
@@ -264,7 +264,7 @@ EditVPNAccounts
VPNAccountsSearch
[Arguments] ${value} ${search}
Wait Until Element Is Visible xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div[2]/div/div/div[2]/div/div/div/input ${sleep_Wait}
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div[2]/div/div/div[2]/div/div/div/input ${sleep_Wait}
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div[2]/div/div/div[2]/div/div/div/input #点击搜索框
sleep ${sleep_min}
click xpath=/html/body/div/div[1]/div[1]/ul/li[2] #点击name
@@ -317,7 +317,7 @@ CreateHijackFiles
Sleep ${sleep_min}
click id=hijackAdd #点击Create
Sleep ${sleep}
input id=hijack_profileName ${name} #输入name
input id=hijack_profileName1 ${name} #输入name
Sleep ${sleep}
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div/div[1]/input ${file} #上传文件
Sleep ${sleep}
@@ -348,7 +348,7 @@ CreateInsertScripts
Sleep ${sleep_min}
click id=insertAdd #点击Create
Sleep ${sleep}
input id=insert_profileName ${name} #输入name
input id=insert_profileName1 ${name} #输入name
Sleep ${sleep}
Choose File xpath=//*[@id="insertAddUpload"]/div[1]/input ${file} #上传文件
Sleep ${sleep}
@@ -407,7 +407,7 @@ CreateTrafficMirrorProfiles
Sleep ${sleep_min}
click id=trafficMirrorAdd #点击Create
Sleep ${sleep}
input id=trafficmirror_profileName ${name} #输入name
input id=trafficmirror_profileName1 ${name} #输入name
Sleep ${sleep_min}
click id=addrTypeChoose #点击下拉框
Sleep ${sleep}
@@ -485,7 +485,7 @@ CreateResponsePages
sleep ${sleep}
click id=respinseAdd #Response Pages点击Create
sleep ${sleep}
input id=responsepages_profileName ${name} #输入name
input id=responsepages_profileName1 ${name} #输入name
sleep ${sleep}
Choose File xpath=//*[@id="policy_Manipulation_create6"]/div[2]/form/div[2]/div/div/div/input ${file} #上传文件
sleep ${sleep}
@@ -634,7 +634,7 @@ importTrustedCertificateAuthorities
sleep ${sleep}
click id=app_create #点击Import
sleep ${sleep}
input id=authoritiesAdd_name ${name} #输入name
input id=authoritiesAdd_name1 ${name} #输入name
sleep ${sleep}
Choose File xpath=//*[@id="upload_dome"]/div/input ${file} #上传文件
sleep ${sleep}
@@ -762,7 +762,7 @@ DecryptionKeyringsErrorVerification
click ${type1} #选择加密解密类型
sleep ${sleep_min}
click id=keyringsadd_sub #点击OK缇交
Wait Until Element Is Visible xpath=${Positioning} ${sleep_Wait}
Wait Until Element Is Enabled xpath=${Positioning} ${sleep_Wait}
${text1} Get Text xpath=${Positioning} #获取点击后页面文本信息
Should Be Equal As Strings ${text1} ${Assertion} #断言
@@ -803,7 +803,7 @@ CreateSSLDecryptionExclusion
input id=sslAdd_itemDesc ${value} #输入内容
sleep ${sleep}
click id=ssl_ok #点击OK缇交
Wait Until Element Is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span ${sleep_Wait}
Wait Until Element Is Enabled xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span ${sleep_Wait}
Settings-Search ${name1} ${search}
sleep ${sleep_min}
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span #获取点击后页面文本信息
@@ -1252,7 +1252,7 @@ Min_max_version
sleep ${sleep_min}
click id=insertAdd #点击Create
sleep ${sleep_min}
input id=insert_profileName ${name}
input id=decrytion_profileName1 ${name}
sleep ${sleep_min}
ButtonSwitch ${dict1} //*[@id="policy_Manipulation_create8"]/div[2]/form/div/div/label[contains(text(), " ")]/following-sibling::div/div el-switch is-checked el-switch
${fail} Set Variable ${fail1}
@@ -1337,7 +1337,7 @@ EditDecryptionProfile
click id=profilesTabs_Profile_DecryptionProfile #点击Decryption Profile
sleep ${sleep_min}
Settings-Search ${id-name} ${search} #搜索框的关键字
Wait Until Element Is Visible 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 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 #点击搜索列表
sleep ${sleep_min}
click id=insertEdit #点击Edit
@@ -1398,7 +1398,7 @@ EditDecryptionProfile
... AND click id=pro_max0
... ELSE log 错误
click id=decryption-ok
Wait Until Element Is Visible id=profilesTabs_Profile_DecryptionProfile ${sleep_Wait}
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
Should Be Equal As Strings ${name1} ${name}
@@ -1419,7 +1419,7 @@ DecryptionProfileButtonVerification
END
sleep ${sleep_min}
click id=decryption-ok
Wait Until Element Is Visible id=profilesTabs_Profile_DecryptionProfile ${sleep_Wait}
Wait Until Element Is Enabled id=profilesTabs_Profile_DecryptionProfile ${sleep_Wait}
Settings-Search ${id-name} ${search}
Delete
@@ -1887,7 +1887,7 @@ SystemUsageChart
sleep ${sleep_min}
${ChartValueXpath}= SystemUsageGetText ${type}
Mouse Over xpath=${ChartSuspension}
Wait Until Element Is Visible xpath=/html/body/div[last()]/div[1]/div/div/div[2]/table/tbody/tr[1]/td[2]/div/span 10
Wait Until Element Is Enabled xpath=/html/body/div[last()]/div[1]/div/div/div[2]/table/tbody/tr[1]/td[2]/div/span 10
${text1} get text xpath=${ChartValueXpath} #获取图表上的值
[Return] ${text1}
@@ -1908,7 +1908,7 @@ SystemUsageText
sleep ${sleep_min}
${TextValueXpath}= SystemUsageGetText ${type}
Mouse Over xpath=${TextSuspension}
Wait Until Element Is Visible xpath=/html/body/div[last()]/div[1]/div/div/div[2]/table/tbody/tr[1]/td[2]/div/span 10
Wait Until Element Is Enabled xpath=/html/body/div[last()]/div[1]/div/div/div[2]/table/tbody/tr[1]/td[2]/div/span 10
${text2} get text xpath=${TextValueXpath}
[Return] ${text2}
@@ -2054,7 +2054,7 @@ CreatePacketCapture
input id=PacketCaptureadd_pcapStorageDay ${CaptureDuration}
sleep ${sleep_min}
click id=packetCaptureAdd_ok
Wait Until Element is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] ${sleep_Wait}
Wait Until Element Is Enabled xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] ${sleep_Wait}
Settings-search ${name} name
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[4]/div/div/div/p/span
@@ -2119,7 +2119,7 @@ EditPacketCapture
input id=PacketCaptureadd_pcapStorageDay ${CaptureDuration}
sleep ${sleep_min}
click id=packetCaptureAdd_ok
Wait Until Element is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] ${sleep_Wait}
Wait Until Element Is Enabled xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] ${sleep_Wait}
Settings-search ${name} name
sleep ${sleep}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[4]/div/div/div/p/span
@@ -2525,7 +2525,7 @@ UploadFilesSize
... AND sleep ${sleep}
... AND click id=authoritiesAdd_sub #点击OK缇交
... AND sleep ${sleep}
${text} get text xpath=/html/body/div[last()]/p
${text} get text xpath=/html/body/div/p
Should Be Equal As Strings ${text} ${Promptinfor}
DownLoadFile