From 423ddc256c630b94dd63b2521bb3e7a79ad85be3 Mon Sep 17 00:00:00 2001 From: byb11 Date: Fri, 9 Jul 2021 19:07:13 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=B1=E4=BA=8E=E7=95=8C=E9=9D=A2=E6=94=B9?= =?UTF-8?q?=E5=8F=98=EF=BC=8C=E7=BB=B4=E6=8A=A4=E8=87=AA=E5=8A=A8=E5=8C=96?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E5=8E=9FSetting=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../CachedIntermediateCertificatesCase.robot | 39 +- .../ui_settings/DecryptionKeyringsCase.robot | 35 +- .../ui_settings/DecryptionProfileCase.robot | 127 +++-- .../tsg_ui/ui_settings/HijackFilesCase.robot | 13 +- .../tsg_ui/ui_settings/IPLibrariesCase.robot | 29 +- .../tsg_ui/ui_settings/InsertScriptCase.robot | 35 +- .../ui_settings/PacketCaptureCase.robot | 32 +- .../ui_settings/ResponsePagesCase.robot | 14 +- .../tsg_ui/ui_settings/SNATIPPoolsCase.robot | 9 +- .../SSLDecryptionExclusionCase.robot | 11 +- .../ui_settings/SSLFingerprintCase.robot | 32 +- .../TrafficMirrorProfilesCase.robot | 35 +- .../TrustedCertificateAuthoritiesCase.robot | 31 +- .../tsg_ui/ui_settings/VPNAccountsCase.robot | 11 +- 02-Keyword/tsg_ui/setting/Settings.robot | 432 +++++++----------- 15 files changed, 355 insertions(+), 530 deletions(-) diff --git a/01-TestCase/tsg_ui/ui_settings/CachedIntermediateCertificatesCase.robot b/01-TestCase/tsg_ui/ui_settings/CachedIntermediateCertificatesCase.robot index a47e521..8db5961 100644 --- a/01-TestCase/tsg_ui/ui_settings/CachedIntermediateCertificatesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/CachedIntermediateCertificatesCase.robot @@ -8,42 +8,42 @@ Library SSHLibrary *** Test Cases *** CachedIntermediateCertificatesSearchID [Tags] Positive UI Settings CachedIntermediateCertificates - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert ${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span 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 //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert ${SourceWebsite} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/p/span 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 //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert ${CommonName} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[6]/div/div/div/p/span 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 //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert ${Issuer} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/div/p/span 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 //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert ${CertificateFingerprint} get text //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/div/p/span 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 //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert Settings-Search 259 id sleep ${sleep_min} click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[8]/div/div/div/p/i @@ -53,58 +53,53 @@ CachedIntermediateCertificatesDownLoad CachedIntermediateCertificatesTurnPage [Tags] Positive UI Settings CachedIntermediateCertificates - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[3]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[3]/div/button[1] ... //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[3]/div/span[2]/div/input 2 //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span - -CachedIntermediateCertificatesPagingDisplay - [Tags] Positive UI Settings CachedIntermediateCertificates - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath - PagingDisplay 50 CachedIntermediateCertificatesIDSortButton [Tags] Positive UI Settings CachedIntermediateCertificates - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[1]/div/span/i Cached Intermediate Certificates CachedIntermediateCertificatesSourceWebsiteSortButton [Tags] Positive UI Settings CachedIntermediateCertificates - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[2]/div/span/i Cached Intermediate Certificates CachedIntermediateCertificatesIssuerBySortButton [Tags] Positive UI Settings CachedIntermediateCertificates - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[3]/div/span/i Cached Intermediate Certificates CachedIntermediateCertificatesIssuerToSortButton [Tags] Positive UI Settings CachedIntermediateCertificates - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[4]/div/span/i Cached Intermediate Certificates CachedIntermediateCertificatesExpiryDateSortButton [Tags] Positive UI Settings CachedIntermediateCertificates - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[7]/div/span/i Cached Intermediate Certificates CachedIntermediateCertificatesCertificateFingerprintSortButton [Tags] Positive UI Settings CachedIntermediateCertificates - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[9]/div/span/i Cached Intermediate Certificates CachedIntermediateCertificatesModifiedTimeSortButton [Tags] Positive UI Settings CachedIntermediateCertificates - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[11]/div/span/i Cached Intermediate Certificates CachedIntermediateCertificatesCreateTimeSortButton [Tags] Positive UI Settings CachedIntermediateCertificates - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[12]/div/span/i Cached Intermediate Certificates # CachedIntermediateCertificatesImportExpiredCertificate #导入过期证书 # [Tags] Positive UI Settings CachedIntermediateCertificates - # OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + # OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert # ${text1} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span # Open Connection 192.168.44.11 port=22 # Login root *#00#QAZxsw@edc @@ -116,7 +111,7 @@ CachedIntermediateCertificatesCreateTimeSortButton # CachedIntermediateCertificatesSynchronizeVerification #验证修改证书状态 rides是否同步 # [Tags] Positive UI Settings CachedIntermediateCertificates - # OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[4] xpath + # OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Intermediacert # Settings-Search 1 id # click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[10]/div/div/div/span # sleep 3 diff --git a/01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot b/01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot index bbe4b20..bb05dc9 100644 --- a/01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot @@ -115,14 +115,6 @@ DecryptionKeyringsEditSearchName click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span DeleteKeyrings_del -DecryptionKeyringsEditDefaultCertificate - [Tags] Positive UI Settings DecryptionKeyrings - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[2] xpath - Settings-Search 1 id - EditDefaultCertificate 220 - Settings-Search 1 id - EditDefaultCertificate 240 - 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 @@ -159,11 +151,6 @@ DecryptionKeyringsAllSearch click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span DeleteKeyrings_del -DecryptionKeyringsPagingDisplay - [Tags] Positive UI Settings DecryptionKeyrings - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[2] xpath - PagingDisplay 50 - DecryptionKeyringsIDSortButton [Tags] Positive UI Settings DecryptionKeyrings OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[2] xpath @@ -229,37 +216,37 @@ DecryptionKeyringsNameCreateSpecialChar DecryptionKeyringsCertificateExpired [Tags] Negtive UI Settings DecryptionKeyrings - DecryptionKeyringsErrorVerification ${TEST NAME} ${path}keyrings//root//zcwca-cer.pem ${path}keyrings//root//zcwca-key.pem certificateType_select0 keyringsadd_publicKeyAlgoSelet1 /html/body/div[last()]/p Certificate expired + DecryptionKeyringsErrorVerification ${TEST NAME} ${path}keyrings//root//zcwca-cer.pem ${path}keyrings//root//zcwca-key.pem certificateType_select0 keyringsadd_publicKeyAlgoSelet1 Certificate expired DecryptionKeyringsCARootFileCAMiddleType [Tags] Negtive UI Settings DecryptionKeyrings DecryptionKeyringsErrorVerification CARootFileCAMiddleType ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet3 - ... //*[@id="app"]/following-sibling::div/p Incorrect certificate chain length (root certificate must be 1, intermediate certificate and end entity certificate must be greater than 2.) + ... Incorrect certificate chain length (root certificate must be 1, intermediate certificate and end entity certificate must be greater than 2.) DecryptionKeyringsCARootFileCAEntityType [Tags] Negtive UI Settings DecryptionKeyrings DecryptionKeyringsErrorVerification CARootFileCAEntityType ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet3 - ... //*[@id="app"]/following-sibling::div/p Incorrect certificate chain length (root certificate must be 1, intermediate certificate and end entity certificate must be greater than 2.) + ... Incorrect certificate chain length (root certificate must be 1, intermediate certificate and end entity certificate must be greater than 2.) DecryptionKeyringsCAMiddleFileCARootType [Tags] Negtive UI Settings DecryptionKeyrings DecryptionKeyringsErrorVerification CAMiddleFileCARootType ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet3 - ... //*[@id="app"]/following-sibling::div/p Incorrect certificate chain length (root certificate must be 1, intermediate certificate and end entity certificate must be greater than 2.) + ... Incorrect certificate chain length (root certificate must be 1, intermediate certificate and end entity certificate must be greater than 2.) DecryptionKeyringsCAMiddleFileCAEntityType [Tags] Negtive UI Settings DecryptionKeyrings DecryptionKeyringsErrorVerification CAMiddleFileCAEntityType ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet3 - ... //*[@id="app"]/following-sibling::div/p Incorrect certificate type + ... Incorrect certificate type DecryptionKeyringsCAEntityFileCARootType [Tags] Negtive UI Settings DecryptionKeyrings DecryptionKeyringsErrorVerification CAEntityFileCARootType ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet3 - ... //*[@id="app"]/following-sibling::div/p Incorrect certificate chain length (root certificate must be 1, intermediate certificate and end entity certificate must be greater than 2.) + ... Incorrect certificate chain length (root certificate must be 1, intermediate certificate and end entity certificate must be greater than 2.) DecryptionKeyringsCAEntityFileCAMiddleType [Tags] Negtive UI Settings DecryptionKeyrings DecryptionKeyringsErrorVerification CAEntityFileCAMiddleType ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet3 - ... //*[@id="app"]/following-sibling::div/p Incorrect certificate type + ... Incorrect certificate type DecryptionKeyringsNullName [Tags] Negtive UI Settings DecryptionKeyrings @@ -277,12 +264,12 @@ DecryptionKeyringsNullName DecryptionKeyringsMaxSizeHSM [Tags] Negtive UI Settings DecryptionKeyrings - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[2] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Keyrings click id=app_create sleep ${sleep_min} input id=keyringsadd_name1 DecryptionKeyringsMaxSizeHSM 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 + Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[2]/div/div/div/input ${path}keyrings//end-entity//caentity.chain.pem sleep ${sleep} click id=privateHSM sleep ${sleep_min} @@ -295,12 +282,12 @@ DecryptionKeyringsMaxSizeHSM DecryptionKeyringsMaxSizeCustomized [Tags] Negtive UI Settings DecryptionKeyrings - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[2] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Keyrings click id=app_create sleep ${sleep_min} input id=keyringsadd_name1 DecryptionKeyringsMaxSizeCustomized 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 + Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[2]/div/div/div/input ${path}keyrings//end-entity//caentity.chain.pem sleep ${sleep} click id=privateHSM sleep ${sleep_min} diff --git a/01-TestCase/tsg_ui/ui_settings/DecryptionProfileCase.robot b/01-TestCase/tsg_ui/ui_settings/DecryptionProfileCase.robot index f7be157..351131e 100644 --- a/01-TestCase/tsg_ui/ui_settings/DecryptionProfileCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/DecryptionProfileCase.robot @@ -11,7 +11,7 @@ DecryptionProfilesCreateFail-close ... 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 DecryptionProfilesCreateFail-close name ${dict} fail1=Fail-close - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DecryptionProfilesCreatePass-through @@ -20,7 +20,7 @@ DecryptionProfilesCreatePass-through ... 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 DecryptionProfilesCreatePass-through name ${dict} fail1=Pass-through - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileOpen1 @@ -30,7 +30,7 @@ DercryptionProfileOpen1 ... Allow HTTP/2=0 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -38,7 +38,7 @@ DercryptionProfileOpen1 EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1} ${dict2} Create Dictionary Common Name=1 DecryptionProfileButtonVerification ${dict2} ${id} id - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileOpen2 @@ -48,7 +48,7 @@ DercryptionProfileOpen2 ... Allow HTTP/2=0 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -56,7 +56,7 @@ DercryptionProfileOpen2 EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1} ${dict2} Create Dictionary Common Name=1 Issuer=1 DecryptionProfileButtonVerification ${dict2} ${id} id - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileOpen3 @@ -66,7 +66,7 @@ DercryptionProfileOpen3 ... Allow HTTP/2=0 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -74,7 +74,7 @@ DercryptionProfileOpen3 EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1} ${dict2} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 DecryptionProfileButtonVerification ${dict2} ${id} id - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileOpen4 @@ -84,7 +84,7 @@ DercryptionProfileOpen4 ... Allow HTTP/2=0 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -92,7 +92,7 @@ DercryptionProfileOpen4 EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1} ${dict2} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 DecryptionProfileButtonVerification ${dict2} ${id} id - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileOpen5 @@ -102,7 +102,7 @@ DercryptionProfileOpen5 ... Allow HTTP/2=0 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -110,7 +110,7 @@ DercryptionProfileOpen5 EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1} ${dict2} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1 DecryptionProfileButtonVerification ${dict2} ${id} id - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileOpen6 @@ -120,7 +120,7 @@ DercryptionProfileOpen6 ... Allow HTTP/2=0 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -129,7 +129,7 @@ DercryptionProfileOpen6 ${dict2} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1 ... Certificate Transparency=1 DecryptionProfileButtonVerification ${dict2} ${id} id - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileOpen7 @@ -139,7 +139,7 @@ DercryptionProfileOpen7 ... Allow HTTP/2=0 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -148,7 +148,7 @@ DercryptionProfileOpen7 ${dict2} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1 ... Certificate Transparency=1 Mutual Authentication=1 DecryptionProfileButtonVerification ${dict2} ${id} id - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileOpen8 @@ -158,7 +158,7 @@ DercryptionProfileOpen8 ... Allow HTTP/2=0 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -167,7 +167,7 @@ DercryptionProfileOpen8 ${dict2} 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 DecryptionProfileButtonVerification ${dict2} ${id} id - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileOpen9 @@ -177,7 +177,7 @@ DercryptionProfileOpen9 ... Allow HTTP/2=0 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -186,7 +186,7 @@ DercryptionProfileOpen9 ${dict2} 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 DecryptionProfileButtonVerification ${dict2} ${id} id - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileOpen10 @@ -196,7 +196,7 @@ DercryptionProfileOpen10 ... Allow HTTP/2=0 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -205,7 +205,7 @@ DercryptionProfileOpen10 ${dict2} 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 DecryptionProfileButtonVerification ${dict2} ${id} id - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileOpen11 @@ -215,7 +215,7 @@ DercryptionProfileOpen11 ... Allow HTTP/2=0 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -224,7 +224,7 @@ DercryptionProfileOpen11 ${dict2} 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 DecryptionProfileButtonVerification ${dict2} ${id} id - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileOpen12 @@ -234,7 +234,7 @@ DercryptionProfileOpen12 ... Allow HTTP/2=0 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -244,7 +244,7 @@ DercryptionProfileOpen12 ... 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 DecryptionProfileButtonVerification ${dict2} ${id} id - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileClose1 @@ -254,7 +254,7 @@ DercryptionProfileClose1 ... Allow HTTP/2=1 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -262,7 +262,7 @@ DercryptionProfileClose1 EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1} ${dict2} Create Dictionary Common Name=0 DecryptionProfileButtonVerification ${dict2} ${id} id open=el-switch - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileClose2 @@ -272,7 +272,7 @@ DercryptionProfileClose2 ... Allow HTTP/2=1 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -280,7 +280,7 @@ DercryptionProfileClose2 EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1} ${dict2} Create Dictionary Common Name=0 Issuer=0 DecryptionProfileButtonVerification ${dict2} ${id} id open=el-switch - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileClose3 @@ -290,7 +290,7 @@ DercryptionProfileClose3 ... Allow HTTP/2=1 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -298,7 +298,7 @@ DercryptionProfileClose3 EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1} ${dict2} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 DecryptionProfileButtonVerification ${dict2} ${id} id open=el-switch - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileClose4 @@ -308,7 +308,7 @@ DercryptionProfileClose4 ... Allow HTTP/2=1 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -316,7 +316,7 @@ DercryptionProfileClose4 EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1} ${dict2} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 DecryptionProfileButtonVerification ${dict2} ${id} id open=el-switch - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileClose5 @@ -326,7 +326,7 @@ DercryptionProfileClose5 ... Allow HTTP/2=1 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -334,7 +334,7 @@ DercryptionProfileClose5 EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1} ${dict2} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0 DecryptionProfileButtonVerification ${dict2} ${id} id open=el-switch - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileClose6 @@ -344,7 +344,7 @@ DercryptionProfileClose5 ... Allow HTTP/2=1 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -353,7 +353,7 @@ DercryptionProfileClose5 ${dict2} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0 ... Certificate Transparency=0 DecryptionProfileButtonVerification ${dict2} ${id} id open=el-switch - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileClose7 @@ -363,7 +363,7 @@ DercryptionProfileClose5 ... Allow HTTP/2=1 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -372,7 +372,7 @@ DercryptionProfileClose5 ${dict2} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0 ... Certificate Transparency=0 Mutual Authentication=0 DecryptionProfileButtonVerification ${dict2} ${id} id open=el-switch - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileClose8 @@ -382,7 +382,7 @@ DercryptionProfileClose5 ... Allow HTTP/2=1 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -391,7 +391,7 @@ DercryptionProfileClose5 ${dict2} 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 DecryptionProfileButtonVerification ${dict2} ${id} id open=el-switch - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileClose9 @@ -401,7 +401,7 @@ DercryptionProfileClose5 ... Allow HTTP/2=1 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -410,7 +410,7 @@ DercryptionProfileClose5 ${dict2} 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 DecryptionProfileButtonVerification ${dict2} ${id} id open=el-switch - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileClose10 @@ -420,7 +420,7 @@ DercryptionProfileClose5 ... Allow HTTP/2=1 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -429,7 +429,7 @@ DercryptionProfileClose5 ${dict2} 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 DecryptionProfileButtonVerification ${dict2} ${id} id open=el-switch - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileClose11 @@ -439,7 +439,7 @@ DercryptionProfileClose5 ... Allow HTTP/2=1 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -448,7 +448,7 @@ DercryptionProfileClose5 ${dict2} 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 DecryptionProfileButtonVerification ${dict2} ${id} id open=el-switch - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DercryptionProfileClose12 @@ -458,7 +458,7 @@ DercryptionProfileClose5 ... Allow HTTP/2=1 CreateDecryptionProfile DercryptionProfile name ${dict} sleep ${sleep_min} - ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span 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 @@ -468,7 +468,7 @@ DercryptionProfileClose5 ... 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 DecryptionProfileButtonVerification ${dict2} ${id} id open=el-switch - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DecryptionProfileAllCloseSSLv3.0 @@ -477,7 +477,7 @@ DecryptionProfileAllCloseSSLv3.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 CreateDecryptionProfile lyf-test-5 name ${dict} min1=SSLv3.0 max1=SSLv3.0 - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DecryptionProfileAllCloseTLSv1.0 @@ -486,7 +486,7 @@ DecryptionProfileAllCloseTLSv1.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 CreateDecryptionProfile lyf-test-6 name ${dict} min1=TLSv1.0 max1=TLSv1.0 - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DecryptionProfileAllCloseTLSv1.1 @@ -495,7 +495,7 @@ DecryptionProfileAllCloseTLSv1.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 CreateDecryptionProfile lyf-test-7 name ${dict} min1=TLSv1.1 max1=TLSv1.1 - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DecryptionProfileAllCloseTLSv1.2 @@ -504,7 +504,7 @@ DecryptionProfileAllCloseTLSv1.2 ... 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 lyf-test-8 name ${dict} min1=TLSv1.2 max1=TLSv1.2 - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DecryptionProfileAllCloseTLSv1.3 @@ -513,7 +513,7 @@ DecryptionProfileAllCloseTLSv1.3 ... 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 lyf-test-9 name ${dict} min1=TLSv1.3 max1=TLSv1.3 - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DecryptionProfileTurnPage @@ -521,11 +521,6 @@ DecryptionProfileTurnPage OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[5] xpath TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[4]/div/button[1] ... //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[4]/div/span[2]/div/input 2 //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr[2]/td[1]/div/div - -DecryptionProfilePagingDisplay - [Tags] Positive UI Settings DecryptionProfile - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[5] xpath - PagingDisplay 50 DecryptionProfileNameMinSize [Tags] Boundary UI name Settings DecryptionProfile @@ -533,7 +528,7 @@ DecryptionProfileNameMinSize ... 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 2341 name ${dict} - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DecryptionProfileNameMaxSize @@ -542,7 +537,7 @@ DecryptionProfileNameMaxSize ... 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 DecryptionProfileNameMaxSizeDecryptionProfileNameMaxSizeDecryptionProfileNameMaxSizeDecryptionProfileNameMaxSizeDecryptionProfil name ${dict} - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DecryptionProfileNameSpecialChar @@ -551,7 +546,7 @@ DecryptionProfileNameSpecialChar ... 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 中文+absc+моряков+@#¥%……&* name ${dict} - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr Delete DecryptionProfileDeleteReferencedData @@ -560,7 +555,7 @@ DecryptionProfileDeleteReferencedData DecryptionProfileNullname [Tags] Negtive UI Settings DecryptionProfile - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[5] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_DecryptionProfile click id=insertAdd sleep ${sleep_min} click id=decryption-ok @@ -571,7 +566,7 @@ DecryptionProfileNullname DercryptionProfileVersionLessTLSv1.2 [Tags] Negtive UI Settings DecryptionProfile - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[5] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_DecryptionProfile sleep ${sleep_min} click id=insertAdd sleep ${sleep_min} @@ -590,7 +585,7 @@ DercryptionProfileVersionLessTLSv1.2 DercryptionProfileVersionError [Tags] Negtive UI Settings DecryptionProfile - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[5] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_DecryptionProfile sleep ${sleep_min} click id=insertAdd sleep ${sleep_min} diff --git a/01-TestCase/tsg_ui/ui_settings/HijackFilesCase.robot b/01-TestCase/tsg_ui/ui_settings/HijackFilesCase.robot index b52f03b..4419609 100644 --- a/01-TestCase/tsg_ui/ui_settings/HijackFilesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/HijackFilesCase.robot @@ -100,11 +100,6 @@ HijackFilesPagesTurnPage OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[3] xpath TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/button[1] ... //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/span[2]/div/input 2 //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div - -HijackFilesPagingDisplay - [Tags] Positive UI Settings HijackFile - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[3] xpath - PagingDisplay 50 HijackFilesCreateNameMinSize [Tags] Boundary UI Name Settings HijackFile @@ -154,10 +149,10 @@ HijackFilesUploadNullFile HijackFilesUploadExceed20MFile [Tags] Negtive html Settings HijackFile - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[3] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_HijackFiles click id=hijackAdd 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 + Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[2]/div/div/div[1]/input ${path}hijack_files/Exceed20MFile.html sleep ${sleep_min} ${text} get text xpath=/html/body/div[last()]/p Should Be Equal As Strings ${text} File size upload limit is 20MB @@ -168,11 +163,11 @@ HijackFilesUploadTypeDoesNotMatch InsertScritsDeleteReferencedData [Tags] Negtive UI Settings HijackFile - DeleteReferencedData HijackFile //*[@id="Settings"]/ul/li[1] 611 The referenced data are not allowed to delete //*[@id="profilesTabs"]/li[3] + DeleteReferencedData HijackFile VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_HijackFiles 611 The referenced data are not allowed to delete //*[@id="profilesTabs"]/li[3] HijackFilesCreateNullName [Tags] Negtive UI Settings HijackFile - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[3] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_HijackFiles click id=hijackAdd sleep ${sleep} click id=hijackAddOk1 diff --git a/01-TestCase/tsg_ui/ui_settings/IPLibrariesCase.robot b/01-TestCase/tsg_ui/ui_settings/IPLibrariesCase.robot index 9ac5b2b..24f0bed 100644 --- a/01-TestCase/tsg_ui/ui_settings/IPLibrariesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/IPLibrariesCase.robot @@ -46,7 +46,7 @@ IPLibrariesSearchGeoName ${iplist} create list 10.1.1.1-20.1.1.1 20.1.1.1-30.1.1.1 ${a}= RandomNumber CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=L${a} Longitude=1 Latitude=2 - OpenPages //*[@id="Settings"]/ul/li[5] Advanced/ipLibrary + OpenIpLibraries Settings-Search ${a} GeoName sleep ${sleep_min} ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div @@ -59,7 +59,7 @@ IPLibrariesSearchCountryandRegion ${iplist} create list 10.1.1.1-20.1.1.1 20.1.1.1-30.1.1.1 ${a}= RandomNumber CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=1 Latitude=2 - OpenPages //*[@id="Settings"]/ul/li[5] Advanced/ipLibrary + OpenIpLibraries Settings-Search ${a} CountryandRegion sleep ${sleep_min} ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div @@ -72,7 +72,7 @@ IPLibrariesSearchCity ${iplist} create list 10.1.1.1-20.1.1.1 20.1.1.1-30.1.1.1 ${a}= RandomNumber CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=1 Latitude=2 - OpenPages //*[@id="Settings"]/ul/li[5] Advanced/ipLibrary + OpenIpLibraries Settings-Search ${a} City sleep ${sleep_min} ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[4]/div/div/div @@ -85,19 +85,19 @@ IPLibrariesClickAll ${iplist} create list 10.1.1.1-20.1.1.1 20.1.1.1-30.1.1.1 ${a}= RandomNumber CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=180 Latitude=90 - OpenPages //*[@id="Settings"]/ul/li[5] Advanced/ipLibrary + OpenIpLibraries click xpath=//*[@id="IPLibraryAll0"]/span sleep ${sleep_min} Settings-Search 5898240 GeoName 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 //*[@id="Settings"]/ul/li[5] Advanced/ipLibrary + OpenIpLibraries click xpath=//*[@id="IPLibraryAll0"]/span sleep ${sleep_min} Settings-Search ${a} GeoName sleep ${sleep_min} - ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div + ${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 DeleteIPLibraries @@ -107,14 +107,14 @@ IPLibrariesClickBuilt-in ${iplist} create list 10.1.1.1-20.1.1.1 20.1.1.1-30.1.1.1 ${a}= RandomNumber CreateIpLibraries Geo Name Country Africa ${a} ${a} ${iplist} j=2 Country=${a} Longitude=180 Latitude=90 - OpenPages //*[@id="Settings"]/ul/li[5] Advanced/ipLibrary + OpenIpLibraries click xpath=//*[@id="IPLibraryAll1"]/span sleep ${sleep_min} Settings-Search ${a} GeoName 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 //*[@id="Settings"]/ul/li[5] Advanced/ipLibrary + OpenIpLibraries Settings-Search ${a} GeoName sleep ${sleep_min} click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr @@ -122,7 +122,7 @@ IPLibrariesClickBuilt-in IPLibrariesClickImported [Tags] Positive UI Settings IPLibraries - OpenPages //*[@id="Settings"]/ul/li[5] Advanced/ipLibrary + OpenIpLibraries click xpath=//*[@id="IPLibraryAll2"]/span sleep ${sleep_min} Settings-Search 5898240 GeoName @@ -143,7 +143,7 @@ IPLibrariesSearchIP 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[1]/form/div/div/div Should Be Equal As Strings ${text} 1.1.1.1-2.2.2.2 - OpenPages //*[@id="Settings"]/ul/li[5] Advanced/ipLibrary + OpenIpLibraries Settings-Search ${a} GeoName sleep ${sleep_min} click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr @@ -151,15 +151,10 @@ IPLibrariesSearchIP IPLibrariesTurnPage [Tags] Positive UI Settings IPLibraries - OpenPages //*[@id="Settings"]/ul/li[5] Advanced/ipLibrary + OpenIpLibraries TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[4]/div/button[1] ... //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[4]/div/span[2]/div/input 2 //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div -IPLibrariesPagingDisplay - [Tags] Positive UI Settings IPLibraries - OpenPages //*[@id="Settings"]/ul/li[5] Advanced/ipLibrary - PagingDisplay 50 - IPLibrariesCreateGeoNameIDMaxSize [Tags] Boundary UI Settings IPLibraries ${iplist} create list 10.1.1.1-20.1.1.1 20.1.1.1-30.1.1.1 @@ -201,7 +196,7 @@ IPLibrariesCountryandRegionRepeat ${iplist} create list 10.1.1.1-20.1.1.1 20.1.1.1-30.1.1.1 CreateIpLibraries Geo Name Country Africa 548465 b1111 ${iplist} j=2 Country=b1111 Longitude=180 Latitude=90 CreateIpLibrariesErrorVerification Geo Name Country Africa 548466 b1111 ${iplist} /html/body/div[last()]/p Country and Region is exist j=2 Country=b1111 Longitude=180 Latitude=90 - OpenPages //*[@id="Settings"]/ul/li[5] Advanced/ipLibrary + OpenIpLibraries Settings-Search 548465 GeoName click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] DeleteIPLibraries diff --git a/01-TestCase/tsg_ui/ui_settings/InsertScriptCase.robot b/01-TestCase/tsg_ui/ui_settings/InsertScriptCase.robot index a349d75..15eecb1 100644 --- a/01-TestCase/tsg_ui/ui_settings/InsertScriptCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/InsertScriptCase.robot @@ -8,49 +8,49 @@ Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot InsertScriptsCreateCssFile [Tags] Positive UI File Settings InsertScript CreateInsertScripts lyf-test-001-css ${path}insert_files\\Create-Insert Scripts-test.css css name - click 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1] Delete InsertScriptsCreateJsFileBeforePageLoad [Tags] Positive UI File Settings InsertScript CreateInsertScripts lyf-test-002-js ${path}insert_files\\Create-Insert_Scripts-test.js js name - click 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1] Delete InsertScriptsCreateJsFileAfterLoadInsertOn [Tags] Positive UI File Settings InsertScript CreateInsertScripts CreateInsertScriptsTypeJsAfterLoadInsertOn-test ${path}insert_files\\Create-Insert_Scripts-test.js js name jstype=After Page Load - click 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1] Delete InsertScriptsCreateNameMinSize [Tags] Boundary UI Name Settings InsertScript CreateInsertScripts 1234 ${path}insert_files\\Create-Insert Scripts-test.css css name - click 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1] Delete InsertScriptsCreateNameMaxSize [Tags] Boundary UI Name Settings InsertScript CreateInsertScripts CreateInsertScriptsTypeCssNameMaxSizeCreateInsertScriptsTypeCssNameMaxSizeCreateInsertScriptsTypeCssNameMaxSizeCreateInsertScrip ${path}insert_files\\Create-Insert Scripts-test.css css name - click 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1] Delete InsertScriptsEditSearchId [Tags] Positive UI Settings InsertScript CreateInsertScripts lyf-test-001-css ${path}insert_files\\Create-Insert Scripts-test.css css name - ${id} 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[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span EditInsertScripts ${id} lyf-Edit-test-001 ${path}insert_files\\Create-Insert Scripts-test.css css id click id=dowmloadi DownLoadFile ${path}insert_files\\Create-Insert Scripts-test.css ${Downloadpath}Create-Insert Scripts-test.css - click 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1] Delete InsertScriptsEditSearchName [Tags] Positive UI Settings InsertScript CreateInsertScripts 1234 ${path}insert_files\\Create-Insert Scripts-test.css css name - ${name} 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 + ${name} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1] EditInsertScripts ${name} lyf-Edit-test-008 ${path}insert_files\\Create-Insert_Scripts-test.js js name - click 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1] Delete InsertScriptDownloadFile @@ -65,28 +65,23 @@ InsertScritsPagesTurnPage OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[2] xpath TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/button[1] ... //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/span[2]/div/input 2 //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[1]/div/div - -InsertScritsPagingDisplay - [Tags] Positive UI Settings InsertScript - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[2] xpath - PagingDisplay 50 InsertScriptCreateSpecialFileName [Tags] Boundary UI File Settings InsertScript CreateInsertScripts CreateInsertScriptsSpecialFileName ${path}insert_files\\ВставкаСкриптов!@#$%^&(-+=‘;。,?.css css name - click 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1] Delete InsertScriptsCreateNameSpecialChar [Tags] Boundary UI Name Settings InsertScript CreateInsertScripts 中文+absc+моряков+@#¥%……&* ${path}insert_files\\Create-Insert Scripts-test.css css name - click 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1] Delete InsertScriptsUpload20MFile [Tags] Boundary UI File Settings InsertScript CreateInsertScripts InsertScriptsUpload20MFile ${path}insert_files\\20MFile.css css name - click 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1] Delete InsertScriptsUploadNullFile @@ -95,7 +90,7 @@ InsertScriptsUploadNullFile InsertScriptsUploadExceed20MFile [Tags] Negtive UI File Settings InsertScript - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[2] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_Insert click id=insertAdd sleep ${sleep_min} Choose File xpath=//*[@id="insertAddUpload"]/div[1]/input ${path}insert_files\\Exceed20MFile.css @@ -109,7 +104,7 @@ InsertScriptsFileTypeDoesNotMatch InsertScritsCreateNullName [Tags] Negtive UI Settings InsertScrit - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[2] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_Insert click id=insertAdd sleep ${sleep} click id=insertAddOk1 @@ -121,4 +116,4 @@ InsertScritsCreateNullName InsertScritsDeleteReferencedData [Tags] Negtive UI Settings InsertScrit - DeleteReferencedData InsertScript //*[@id="Settings"]/ul/li[1] 551 The referenced data are not allowed to delete //*[@id="profilesTabs"]/li[2] + DeleteReferencedData InsertScript VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_Insert 551 The referenced data are not allowed to delete //*[@id="profilesTabs"]/li[2] diff --git a/01-TestCase/tsg_ui/ui_settings/PacketCaptureCase.robot b/01-TestCase/tsg_ui/ui_settings/PacketCaptureCase.robot index 141eae3..64cf13f 100644 --- a/01-TestCase/tsg_ui/ui_settings/PacketCaptureCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/PacketCaptureCase.robot @@ -51,8 +51,8 @@ PacketCaptureSearchID [Tag] Positive UI Settings PacketCapture CreatePacketCapture PacketCaptureSearchID IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080 ${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div - OpenPages //*[@id="Settings"]/ul/li[4] Proxy_Profiles_Profile_Insert - Settings-Search ${id} id + OpenPacketCapture + SystemSearch ${id} id 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} @@ -62,8 +62,8 @@ PacketCaptureSearchID PacketCaptureSearchName [Tag] Positive UI Settings PacketCapture CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080 - OpenPages //*[@id="Settings"]/ul/li[4] Proxy_Profiles_Profile_Insert - Settings-Search PacketCaptureSearchName name + OpenPacketCapture + SystemSearch PacketCaptureSearchName name 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} @@ -73,8 +73,8 @@ PacketCaptureSearchName PacketCaptureSearchIP [Tag] Positive UI Settings PacketCapture CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080 - OpenPages //*[@id="Settings"]/ul/li[4] Proxy_Profiles_Profile_Insert - Settings-Search ${testClentIP} ip + OpenPacketCapture + SystemSearch ${testClentIP} ip 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} @@ -84,8 +84,8 @@ PacketCaptureSearchIP PacketCaptureSearchPort [Tag] Positive UI Settings PacketCapture CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080 - OpenPages //*[@id="Settings"]/ul/li[4] Proxy_Profiles_Profile_Insert - Settings-Search 80 port + OpenPacketCapture + SystemSearch 80 port 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} @@ -95,7 +95,7 @@ PacketCaptureSearchPort PacketCaptureSearchisValid_Effective [Tag] Positive UI Settings PacketCapture CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080 - OpenPages //*[@id="Settings"]/ul/li[4] Proxy_Profiles_Profile_Insert + OpenPacketCapture PacketCaptureSerch Effective sleep ${sleep_min} ${text} Get Element Attribute xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/span/i[2] style @@ -105,7 +105,7 @@ PacketCaptureSearchisValid_Effective PacketCaptureSearchisValid_Invalid [Tag] Positive UI Settings PacketCapture - OpenPages //*[@id="Settings"]/ul/li[4] Proxy_Profiles_Profile_Insert + OpenPacketCapture PacketCaptureSerch Invalid sleep ${sleep_min} ${text} Get Element Attribute xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/span/i[1] style @@ -179,7 +179,7 @@ PacketCaptureCreateCapturedNumberAndDurationMaxSize PacketCaptureCreateALLNull [Tag] Negtive UI Settings PacketCapture - OpenPages //*[@id="Settings"]/ul/li[4] Proxy_Profiles_Profile_Insert + OpenPacketCapture click id=packet_create sleep ${sleep_min} click id=packetCaptureAdd_ok @@ -193,7 +193,7 @@ PacketCaptureCreateALLNull PacketCaptureCreateIPFormat [Tag] Negtive UI Settings PacketCapture - OpenPages //*[@id="Settings"]/ul/li[4] Proxy_Profiles_Profile_Insert + OpenPacketCapture click id=packet_create sleep ${sleep_min} input id=PacketCaptureadd_cliIp fe80::3cf8:a41c:122a:b3 @@ -205,7 +205,7 @@ PacketCaptureCreateIPFormat PacketCaptureCreatePortFormatError [Tag] Negtive UI Settings PacketCapture - OpenPages //*[@id="Settings"]/ul/li[4] Proxy_Profiles_Profile_Insert + OpenPacketCapture click id=packet_create sleep ${sleep_min} input id=PacketCaptureadd_cliPort 0 @@ -219,7 +219,7 @@ PacketCaptureCreatePortFormatError PacketCaptureCreateTwoEffectiveDeviceso [Tag] Negtive UI Settings PacketCapture - OpenPages //*[@id="Settings"]/ul/li[4] Proxy_Profiles_Profile_Insert + OpenPacketCapture click id=packet_create sleep ${sleep_min} click id=PacketCaptureadd_EDevice @@ -236,7 +236,7 @@ PacketCaptureCreateTwoEffectiveDeviceso PacketCaptureCreateCapturedNumberFormatError [Tag] Negtive UI Settings PacketCapture - OpenPages //*[@id="Settings"]/ul/li[4] Proxy_Profiles_Profile_Insert + OpenPacketCapture click id=packet_create sleep ${sleep_min} input id=PacketCaptureadd_MaxPacketCapNum 0 @@ -247,7 +247,7 @@ PacketCaptureCreateCapturedNumberFormatError PacketCaptureCreateCapturedDurationFormatError [Tag] Negtive UI Settings PacketCapture - OpenPages //*[@id="Settings"]/ul/li[4] Proxy_Profiles_Profile_Insert + OpenPacketCapture click id=packet_create sleep ${sleep_min} input id=PacketCaptureadd_pcapStorageDay 596524 diff --git a/01-TestCase/tsg_ui/ui_settings/ResponsePagesCase.robot b/01-TestCase/tsg_ui/ui_settings/ResponsePagesCase.robot index 57ff7d0..2b6115c 100644 --- a/01-TestCase/tsg_ui/ui_settings/ResponsePagesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/ResponsePagesCase.robot @@ -48,13 +48,7 @@ ResponsePagesTurnPage [Tags] Positive UI Settings ResponsePages OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[1] xpath TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/button[1] - ... //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/span[2]/div/input 2 //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span - -ResponsePagesPagingDisplay - [Tags] Positive UI Settings ResponsePages - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[1] xpath - PagingDisplay 50 - + ... //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/span[2]/div/input 2 //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span ResponsePagesCreateNameMinSize [Tags] Boundary UI name Settings ResponsePage @@ -88,7 +82,7 @@ ResponsePagesSpecialFileName ResponsePagesCreateNullNames [Tags] Negtive UI Name Settings ResponsePages - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_ResponsePages click id=responseAdd sleep ${sleep_min} Choose File xpath=//*[@id="policy_Manipulation_create6"]/div[2]/form/div[2]/div/div/div/input ${path}response_pages_files\\Create-ResponsePages-test.html #上传文件 @@ -104,7 +98,7 @@ ResponsePageUploadNullFile ResponsePageUploadExceed20MFile [Tags] Negtive UI File Settings ResponsePages - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_ResponsePages click id=responseAdd sleep ${sleep_min} Choose File xpath=//*[@id="policy_Manipulation_create6"]/div[2]/form/div[2]/div/div/div/input ${path}response_pages_files\\Exceed20MFile.html @@ -118,6 +112,6 @@ ResponsePagesFileTypeDoesNotMatch ResponsePagesDeleteReferencedData [Tags] Negtive UI Settings ResponsePages - DeleteReferencedData ResponsePage //*[@id="Settings"]/ul/li[1] 395 The referenced data are not allowed to delete //*[@id="profilesTabs"]/li[1] + DeleteReferencedData ResponsePage VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_ResponsePages 395 The referenced data are not allowed to delete //*[@id="profilesTabs"]/li[1] diff --git a/01-TestCase/tsg_ui/ui_settings/SNATIPPoolsCase.robot b/01-TestCase/tsg_ui/ui_settings/SNATIPPoolsCase.robot index f6c885a..a0c6537 100644 --- a/01-TestCase/tsg_ui/ui_settings/SNATIPPoolsCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/SNATIPPoolsCase.robot @@ -79,11 +79,6 @@ SNATIPPoolsViewMembers # OpenPages //*[@id="Settings"]/ul/li[2] ip # TurnPage //*[@id="ly-table1-listcontent"]/div[2]/div/div/button[2] //*[@id="ly-table1-listcontent"]/div[2]/div/div/button[1] //*[@id="ly-table1-listcontent"]/div[2]/div/div/span[2]/div/input # ... 2 //*[@id="wannat-table"]/div[3]/table/tbody/tr[1]/td[1]/div/div/span 1 //*[@id="ly-table1-listcontent"]/div[2]/div/div/ul/li[last()] - -SNATIPPoolsPagingDisplay - [Tags] Positive IP Settings SNATIPPools - OpenPages //*[@id="Settings"]/ul/li[2] ip - PagingDisplay_Second 50 CreateSNATIPPoolsNameMinSize [Tags] Boundary UI name Settings SNATIPPools @@ -115,7 +110,7 @@ CreateSNATIPPoolsNameNull CreateSNATIPPoolsIpFormatError [Tags] Negtive UI Settings SNATIPPools - OpenPages //*[@id="Settings"]/ul/li[2] ip + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Setting_Wannat/IP_Pool click id=app_create sleep ${sleep_min} click id=temporary_form #点击添加ip的加号 @@ -129,7 +124,7 @@ CreateSNATIPPoolsIpFormatError CreateSNATIPPoolsNoReachabilityTest [Tags] Negtive UI Settings SNATIPPools - OpenPages //*[@id="Settings"]/ul/li[2] ip + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Setting_Wannat/IP_Pool click id=app_create sleep ${sleep_min} click id=temporary_form #点击添加ip的加号 diff --git a/01-TestCase/tsg_ui/ui_settings/SSLDecryptionExclusionCase.robot b/01-TestCase/tsg_ui/ui_settings/SSLDecryptionExclusionCase.robot index 6eb710d..5009b34 100644 --- a/01-TestCase/tsg_ui/ui_settings/SSLDecryptionExclusionCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/SSLDecryptionExclusionCase.robot @@ -34,15 +34,10 @@ SSLDecryptionExclusionEditSearchName SSLDecryptionExclusionEditDefault [Tags] Positive UI Settings SSLDecryptionExclusion - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[3] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_SSL EditSSLDecryptionExclusion 1 *fe3.delivery.mp.microsoft.com test11 *fe3.delivery.mp.microsoft.com id EditSSLDecryptionExclusion 1 *fe3.delivery.mp.microsoft.com Mircosoft Store *fe3.delivery.mp.microsoft.com id - -SSLDecryptionExclusionPagingDisplay - [Tags] Positive UI Settings SSLDecryptionExclusion - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[3] xpath - PagingDisplay 50 - + SSLDecryptionCreateFQDNMinSize [Tags] Boundary UI Settings SSLDecryptionExclusion CreateSSLDecryptionExclusion *abc abc abc name @@ -73,7 +68,7 @@ SSLDecryptionExclusionFQDNSpecialChar SSLDecryptionExclusionNullDescriptionAndFQDN [Tags] Negtive UI Settings SSLDecryptionExclusion - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[3] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_SSL click id=ssl_create sleep ${sleep_min} click id=ssl_ok diff --git a/01-TestCase/tsg_ui/ui_settings/SSLFingerprintCase.robot b/01-TestCase/tsg_ui/ui_settings/SSLFingerprintCase.robot index 54de81e..ca1515d 100644 --- a/01-TestCase/tsg_ui/ui_settings/SSLFingerprintCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/SSLFingerprintCase.robot @@ -77,7 +77,7 @@ SSLFingerprintExport SSLFingerprintDownloadExample [Tags] Positive UI Settings SSLFingerprint - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint click id=objectImport sleep ${sleep_min} click xpath=/html/body/div/div/div[1]/div/div/div[1]/div/form/div[1]/div/div/div[2]/span @@ -91,7 +91,7 @@ SSLFingerprintShowAll ${b}= RandomNumber CreateSSLFingerprint bfff09a${a}1912be7dba376398abc3b No JA3Hash Description=test CreateSSLFingerprint b32309a2${b}912be7dba376398abfff Yes JA3Hash Description=test - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint click id=Fingerprint_built0 sleep ${sleep_min} Settings-Search bfff09a${a}1912be7dba376398abc3b JA3Hash @@ -99,7 +99,7 @@ SSLFingerprintShowAll click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr DeleteSSLFingerprint sleep ${sleep_min} - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint 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 click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr @@ -111,12 +111,12 @@ SSLFingerprintShowPinning [Tags] Positive UI Settings SSLFingerprint ${a}= RandomNumber CreateSSLFingerprint bfff09a26${a}12be7dba376398abc3b No JA3Hash Description=test - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint click id=Fingerprint_built1 sleep ${sleep_min} Settings-Search bfff09a26${a}12be7dba376398abc3b JA3Hash ${text} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/div/span - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint Settings-Search bfff09a26${a}12be7dba376398abc3b JA3Hash sleep ${sleep_min} click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr @@ -127,28 +127,18 @@ SSLFingerprintShowNotPinning [Tags] Positive UI Settings SSLFingerprint ${a}= RandomNumber CreateSSLFingerprint bfff09a2695${a}be7dba376398abc3b Yes JA3Hash Description=test - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint click id=Fingerprint_built2 sleep ${sleep_min} Settings-Search bfff09a2695${a}be7dba376398abc3b JA3Hash ${text} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/div/span - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint Settings-Search bfff09a2695${a}be7dba376398abc3b JA3Hash sleep ${sleep_min} click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr DeleteSSLFingerprint Should Be Equal As Strings ${text} No Data -SSLFingerprintPagingDisplay - [Tags] Positive UI Settings SSLFingerprint - ${a}= RandomNumber - CreateSSLFingerprint aaa${a}db3e351bbd8d38b64c41fffff Yes JA3Hash Description=test - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath - PagingDisplay 50 - Settings-Search aaa${a}db3e351bbd8d38b64c41fffff JA3Hash - click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr - DeleteSSLFingerprint - SSLFingerprintCreateJa3NotCombined [Tags] Boundary UI JA3Hash Settings SSLFingerprint CreateSSLFingerprint 11111111111111111111111111111111 No JA3Hash Description=test @@ -164,7 +154,7 @@ SSLFingerprintCreateNullDescription SSLFingerprintCreateNullJA3Hash [Tags] Negtive UI Settings SSLFingerprint - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint click id=Fingerprint_create sleep ${sleep_min} click id=authoritiesAdd_sub @@ -174,7 +164,7 @@ SSLFingerprintCreateNullJA3Hash SSLFingerprintCreateFormatError [Tags] Negtive UI Settings SSLFingerprint - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint click id=Fingerprint_create sleep ${sleep_min} input id=authoritiesAdd_name1 a75de44db3e351bbd8d38b64c41ggggg @@ -237,7 +227,7 @@ SSLFingerprintImportRepeatJA3 SSLFingerprintImportJA3FormatError [Tags] Negtive UI Settings SSLFingerprint - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint SSLFingerprintImportJA3 ${path}SSLFingerprint_files/SSL_FingerprintFormatError.csv ${text} Get Text xpath=/html/body/div/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 format error @@ -246,7 +236,7 @@ SSLFingerprintImportJA3FormatError SSLFingerprintImportJA3PinningError [Tags] Negtive UI Settings SSLFingerprint - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[5] Targeting=xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint SSLFingerprintImportJA3 ${path}SSLFingerprint_files/SSL_FingerprintPinningError.csv ${text} Get Text xpath=/html/body/div/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} Pinning error diff --git a/01-TestCase/tsg_ui/ui_settings/TrafficMirrorProfilesCase.robot b/01-TestCase/tsg_ui/ui_settings/TrafficMirrorProfilesCase.robot index c9bdf89..b39d5f6 100644 --- a/01-TestCase/tsg_ui/ui_settings/TrafficMirrorProfilesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/TrafficMirrorProfilesCase.robot @@ -8,29 +8,29 @@ Library OperatingSystem TrafficMirrorProfilesCreateVlan [Tags] Positive UI vlan Settings TrafficMirrorProfile CreateTrafficMirrorProfiles TrafficMirrorProfilesCreateVlan xpath=/html/body/div/div[1]/div[1]/ul/li[1] 11 name - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] DeletetrafficMirrorDel TrafficMirrorProfilesCreateMac [Tags] Positive UI vlan Settings TrafficMirrorProfile CreateTrafficMirrorProfiles TrafficMirrorProfilesCreateMac xpath=/html/body/div/div[1]/div[1]/ul/li[2] 11:11:11:11:11:11 name - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] DeletetrafficMirrorDel TrafficMirrorProfilesEditMacSearchId [Tags] Positive UI mac Settings TrafficMirrorProfile CreateTrafficMirrorProfiles lyf-test-004-mac xpath=/html/body/div/div[1]/div[1]/ul/li[2] 11:11:11:11:11:11 name - ${id} 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[1]/div/div/span + ${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span EditTrafficMirrorProfiles ${id} lyf-Edit-test-001 xpath=/html/body/div/div[1]/div[1]/ul/li[2] 11:11:11:11:11:12 id - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] DeletetrafficMirrorDel TrafficMirrorProfilesEditVlanSearchName [Tags] Positive UI vlan Settings TrafficMirrorProfile CreateTrafficMirrorProfiles lyf-test-005-vlan xpath=/html/body/div/div[1]/div[1]/ul/li[1] 88 name - ${name} 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 + ${name} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span EditTrafficMirrorProfiles ${name} lyf-Edit-test-002 xpath=/html/body/div/div[1]/div[1]/ul/li[1] 11 name - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] DeletetrafficMirrorDel # TrafficMirrorProfilesPagesTurnPage @@ -39,51 +39,46 @@ TrafficMirrorProfilesEditVlanSearchName # TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/button[1] # ... //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/span[2]/div/input 2 //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[1]/div/div -TrafficMirrorProfilesPagingDisplay - [Tags] Positive UI Settings TrafficMirrorProfile - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[4] xpath - PagingDisplay 50 - TrafficMirrorProfilesCreateNameMinSize [Tags] Boundary UI vlan Settings TrafficMirrorProfile CreateTrafficMirrorProfiles 1234 xpath=/html/body/div/div[1]/div[1]/ul/li[1] 11 name - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] DeletetrafficMirrorDel TrafficMirrorProfilesCreateNameMaxSize [Tags] Boundary UI vlan Settings TrafficMirrorProfile CreateTrafficMirrorProfiles CreateTrafficMirrorProfilesNameMaxSizeCreateTrafficMirrorProfilesNameMaxSizeCreateTrafficMirrorProfilesNameMaxSizeCreateTrafficM xpath=/html/body/div/div[1]/div[1]/ul/li[1] 11 name - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] DeletetrafficMirrorDel TrafficMirrorProfilesCreateNameSpecialChar [Tags] Boundary UI vlan Settings TrafficMirrorProfile CreateTrafficMirrorProfiles 中文+absc+моряков+@#¥%……&* xpath=/html/body/div/div[1]/div[1]/ul/li[1] 11 name - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] DeletetrafficMirrorDel TrafficMirrorProfilesCreateVlanMinSize [Tags] Boundary UI vlan Settings TrafficMirrorProfile CreateTrafficMirrorProfiles lyf-test-001-vlan xpath=/html/body/div/div[1]/div[1]/ul/li[1] 1 name - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] DeletetrafficMirrorDel TrafficMirrorProfilesCreateVlanMaxSize [Tags] Boundary UI vlan Settings TrafficMirrorProfile CreateTrafficMirrorProfiles lyf-test-002-vlan xpath=/html/body/div/div[1]/div[1]/ul/li[1] 4094 name - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] DeletetrafficMirrorDel TrafficMirrorProfilesCreateMacMinSize [Tags] Boundary UI mac Settings TrafficMirrorProfile CreateTrafficMirrorProfiles lyf-test-001-mac xpath=/html/body/div/div[1]/div[1]/ul/li[2] 00:00:00:00:00:00 name - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] DeletetrafficMirrorDel TrafficMirrorProfilesCreateMacMaxSize [Tags] Boundary UI mac Settings TrafficMirrorProfile CreateTrafficMirrorProfiles lyf-test-002-mac xpath=/html/body/div/div[1]/div[1]/ul/li[2] FF:FF:FF:FF:FF:FF name - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] DeletetrafficMirrorDel TrafficMirrorProfilesCreateErrorVlan_1 @@ -100,11 +95,11 @@ TrafficMirrorProfilesCreateErrorMac TrafficMirrorProfilesNoInput [Tags] Negtive UI Settings TrafficMirrorProfile - OpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[4] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_TrafficMirrorProfiles sleep ${sleep_min} click id=trafficMirrorAdd sleep ${sleep_min} - click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1] + click id=trafficMirrorProfile_ok 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] ${text2} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div[2] diff --git a/01-TestCase/tsg_ui/ui_settings/TrustedCertificateAuthoritiesCase.robot b/01-TestCase/tsg_ui/ui_settings/TrustedCertificateAuthoritiesCase.robot index 55c53d1..a209c72 100644 --- a/01-TestCase/tsg_ui/ui_settings/TrustedCertificateAuthoritiesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/TrustedCertificateAuthoritiesCase.robot @@ -71,7 +71,7 @@ TrustedCertificateAuthoritiesDownLoadCertificate TrustedCertificateAuthoritiesEditDefaultCertificate [Tags] Positive UI Settings TrustedCertificateAuthorities - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities Settings-Search 1 id click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] sleep ${sleep_min} @@ -79,58 +79,53 @@ TrustedCertificateAuthoritiesEditDefaultCertificate TrustedCertificateAuthoritiesTurnPage [Tags] Positive UI Settings TrustedCertificateAuthorities - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[4]/div/button[1] ... //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[4]/div/span[2]/div/input 2 //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span - -TrustedCertificateAuthoritiesPagingDisplay - [Tags] Positive UI Settings TrustedCertificateAuthorities - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath - PagingDisplay 50 - + TrustedCertificateAuthoritiesIDSortButton [Tags] Positive UI Settings TrustedCertificateAuthorities - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[1]/div/span/i Trusted Certificate Authorities TrustedCertificateAuthoritiesNameSortButton [Tags] Positive UI Settings TrustedCertificateAuthorities - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[2]/div/span/i Trusted Certificate Authorities TrustedCertificateAuthoritiesIssuerBySortButton [Tags] Positive UI Settings TrustedCertificateAuthorities - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[4]/div/span/i Trusted Certificate Authorities TrustedCertificateAuthoritiesIssuerToSortButton [Tags] Positive UI Settings TrustedCertificateAuthorities - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[5]/div/span/i Trusted Certificate Authorities TrustedCertificateAuthoritiesExpiryDateSortButton [Tags] Positive UI Settings TrustedCertificateAuthorities - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[7]/div/span/i Trusted Certificate Authorities TrustedCertificateAuthoritiesCommonNameSortButton [Tags] Positive UI Settings TrustedCertificateAuthorities - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[8]/div/span/i Trusted Certificate Authorities TrustedCertificateAuthoritiesCertificateFingerprintSortButton [Tags] Positive UI Settings TrustedCertificateAuthorities - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[9]/div/span/i Trusted Certificate Authorities TrustedCertificateAuthoritiesModifiedTimeSortButton [Tags] Positive UI Settings TrustedCertificateAuthorities - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[10]/div/span/i Trusted Certificate Authorities TrustedCertificateAuthoritiesCertificateExpirationDelay [Tags] Positive UI Settings TrustedCertificateAuthorities - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities Settings-Search CertificateExpirationDelay name ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[2]/td[6]/div/div/div/span Should Be Equal As Strings Expired ${text} @@ -161,7 +156,7 @@ TrustedCertificateAuthoritiesCreateFileNameSpecialChar TrustedCertificateAuthoritiesCreateNameThreeCharacters [Tags] Negtive UI Settings TrustedCertificateAuthorities - OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities click id=app_create #点击Import sleep ${sleep} input id=authoritiesAdd_name1 123 #输入name diff --git a/01-TestCase/tsg_ui/ui_settings/VPNAccountsCase.robot b/01-TestCase/tsg_ui/ui_settings/VPNAccountsCase.robot index 4606323..709021c 100644 --- a/01-TestCase/tsg_ui/ui_settings/VPNAccountsCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/VPNAccountsCase.robot @@ -23,12 +23,7 @@ VPNAccountsEditPassword # OpenPages //*[@id="Settings"]/ul/li[2] account # TurnPage //*[@id="ly-table1-listcontent"]/div[2]/div/div/button[2] //*[@id="ly-table1-listcontent"]/div[2]/div/div/button[1] //*[@id="ly-table1-listcontent"]/div[2]/div/div/span[2]/div/input # ... 2 //*[@id="wannat-table"]/div[3]/table/tbody/tr[1]/td[1]/div/div/div[2]/span 1 //*[@id="ly-table1-listcontent"]/div[2]/div/div/ul/li[last()] - -VPNAccountsPagingDisplay - [Tags] Positive UI Settings VPNAccounts - OpenPages //*[@id="Settings"]/ul/li[2] account - PagingDisplay_Second 50 - + VPNAccountsCreateNameMinSize [Tags] Boundary UI name Settings VPNAccounts CreateVPNAccounts a 111111 name @@ -54,7 +49,7 @@ VPNAccountsCreatePasswordMaxSize VPNAccountsCreateNameSpecialChar [Tags] Negtive UI name Settings VPNAccounts - OpenPages //*[@id="Settings"]/ul/li[2] account + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Setting_Wannat/VPN_Account click id=app_create sleep ${sleep_min} input xpath=//*[@id="wannat_vpn_username"]/div/div/div[1]/input 中文+absc+моряков+@#¥%……&* @@ -66,7 +61,7 @@ VPNAccountsCreateNameSpecialChar VPNAccountsCreateNullNameAndPassword [Tags] Negtive UI name Settings VPNAccounts - OpenPages //*[@id="Settings"]/ul/li[2] account + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Setting_Wannat/VPN_Account click id=app_create sleep ${sleep_min} click id=wanAdd_ok diff --git a/02-Keyword/tsg_ui/setting/Settings.robot b/02-Keyword/tsg_ui/setting/Settings.robot index 2991ad3..63dfa34 100644 --- a/02-Keyword/tsg_ui/setting/Settings.robot +++ b/02-Keyword/tsg_ui/setting/Settings.robot @@ -26,58 +26,52 @@ ui-login Settings-Search [Arguments] ${value} ${search} sleep ${sleep} - 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 #点击搜索框 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[1]/span/div/div/div[2]/div/div/div[1]/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[2]/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[1]/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[2]/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[1]/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[2]/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[1]/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[2]/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[1]/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[2]/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[1]/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[2]/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[1]/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[2]/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[1]/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[2]/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[1]/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[2]/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[1]/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[2]/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[1]/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[2]/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[1]/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[2]/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[1]/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[2]/div/div/div[1]/span/div/i #点击搜索按钮 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[1]/span/div/i #点击搜索按钮 sleep ${sleep} CreateSNATIPPools [Arguments] ${name} ${type} ${ip} ${j}=1 - Sleep ${sleep_min} - click id=Settings #点击一级目录Settings - Sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[2] #点击wan net - sleep ${sleep_min} - click id=ip #点击SNAT-IP-Pools - sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Setting_Wannat/IP_Pool click id=app_create #点击新建按钮 sleep ${sleep_min} input xpath=//*[@id="wannat_vpn_color"]/form/div[1]/div/div/div[1]/input ${name} #输入name @@ -186,20 +180,20 @@ SNATIPRangeCreate SNATIPSearch [Arguments] ${value} ${search} sleep ${sleep} - 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 #点击搜索框 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[1]/div[2]/div/div/div[2]/div/div/div[1]/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[1]/div/div[2]/div[2]/div/div/div[2]/div/div[1]/div[3]/div/input ${value} + ... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[1]/div[2]/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[1]/div/div[2]/div[2]/div/div/div[2]/div/div[1]/div[3]/div/input ${value} + ... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[1]/div[2]/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] #xpath=/html/body/div[7]/div[1]/div[1]/ul/li[4] - ... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div[2]/div/div/div[2]/div/div[1]/div[3]/div/input ${value} + ... AND input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[1]/div[2]/div/div/div[2]/div/div[1]/div[3]/div/input ${value} sleep ${sleep_min} - click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div[2]/div/i #点击搜索按钮 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[1]/div[2]/div/i #点击搜索按钮 sleep ${sleep_min} click xpath=//*[@id="wannat-table"]/div[3]/table/tbody/tr[1] sleep ${sleep_min} @@ -229,13 +223,7 @@ SearchHistoryActiveIP CreateVPNAccounts [Arguments] ${name} ${passwd} ${search} - Sleep ${sleep_min} - click id=Settings #点击一级目录Settings - Sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[2] #点击wan net - sleep ${sleep_min} - click id=account #点击SNAT-IP-Pools - sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Setting_Wannat/VPN_Account click id=app_create #点击新建按钮 sleep ${sleep_min} input xpath=//*[@id="wannat_vpn_username"]/div/div/div[1]/input ${name} #输入vpnname @@ -267,13 +255,13 @@ EditVPNAccounts VPNAccountsSearch [Arguments] ${value} ${search} sleep ${sleep} - 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 #点击搜索框 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[1]/div[2]/div/div/div[2]/div/div/div[1]/input #点击搜索框 sleep ${sleep_min} click xpath=/html/body/div/div[1]/div[1]/ul/li[2] #点击name sleep ${sleep_min} - input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div[2]/div/div/div[2]/div/div[1]/div[3]/div/input ${value} #输入值 + input xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[1]/div[2]/div/div/div[2]/div/div[1]/div[3]/div/input ${value} #输入值 sleep ${sleep_min} - click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[2]/div[2]/div/i #点击搜索按钮 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[1]/div[2]/div/i #点击搜索按钮 sleep ${sleep_min} click xpath=//*[@id="wannat-table"]/div[3]/table/tbody/tr[1] sleep ${sleep_min} @@ -310,18 +298,12 @@ FQDN-or-Category-Search CreateHijackFiles [Arguments] ${name} ${file} ${type} ${search} ${shift}=1 ${input1}=1 - Sleep ${sleep_min} - click id=Settings #点击一级目录Settings - Sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - Sleep ${sleep} - click xpath=//*[@id="profilesTabs"]/li[3] #点击Hijack Files按钮 - Sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_HijackFiles click id=hijackAdd #点击Create Sleep ${sleep} 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/div/div/div/input ${file} #上传文件 + Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[2]/div/div/div[1]/input ${file} #上传文件 Sleep ${sleep} ${dow_name} Set Variable ${shift} ${input} Set Variable ${input1} @@ -341,13 +323,7 @@ CreateHijackFiles CreateInsertScripts [Arguments] ${name} ${file} ${type} ${search} ${jstype}=Before Page Load - Sleep ${sleep_min} - click id=Settings #点击一级目录Settings - Sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - Sleep ${sleep} - click xpath=//*[@id="profilesTabs"]/li[2] #点击Insert Scripts按钮 - Sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_Insert click id=insertAdd #点击Create Sleep ${sleep} input id=insert_profileName1 ${name} #输入name @@ -370,19 +346,13 @@ CreateInsertScripts Settings-Search ${name} ${search} #搜索框的关键字 log psssssssssssssssssssssssssss Sleep ${sleep_min} - ${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 + ${text1} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/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} #断言 TrafficMirrorProfilesValidationError [Arguments] ${name} ${type} ${shuru} ${PromptInformation} - Sleep ${sleep_min} - click id=Settings #点击一级目录Settings - Sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - Sleep ${sleep} - click xpath=//*[@id="profilesTabs"]/li[4] #点击Traffic Mirror Profiles按钮 - Sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_TrafficMirrorProfiles click id=trafficMirrorAdd #点击Create Sleep ${sleep} input id=trafficmirror_profileName1 ${name} #输入name @@ -400,13 +370,7 @@ TrafficMirrorProfilesValidationError CreateTrafficMirrorProfiles [Arguments] ${name} ${type} ${shuru} ${search} - Sleep ${sleep_min} - click id=Settings #点击一级目录Settings - Sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - Sleep ${sleep} - click xpath=//*[@id="profilesTabs"]/li[4] #点击Traffic Mirror Profiles按钮 - Sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_TrafficMirrorProfiles click id=trafficMirrorAdd #点击Create Sleep ${sleep} input id=trafficmirror_profileName1 ${name} #输入name @@ -417,11 +381,11 @@ CreateTrafficMirrorProfiles Sleep ${sleep} input id=trafficmirror_addrArray0 ${shuru} sleep ${sleep} - click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1] #点击OK + click id=trafficMirrorProfile_ok #点击OK 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[2]/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[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span #获取点击后页面文本信息 Should Be Equal As Strings ${text1} ${name} #断言 @@ -434,13 +398,10 @@ EditInsertScripts ... ${name1}:为修改页面的name输入框里输入的内容 ... ${file}:为修改页面要上传文件的路径 ... ${type}:选择文件类型的元素 - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - sleep ${sleep} - click xpath=//*[@id="profilesTabs"]/li[2] #点击Insert files按钮 + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_Insert Settings-Search ${id-name} ${search} #搜索框的关键字 sleep ${sleep_min} - click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[2]/div/div[3]/table/tbody/tr[1] #点击搜素到的列表 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1] #点击搜素到的列表 sleep ${sleep_min} click id=insertEdit #点击Edit sleep ${sleep_min} @@ -469,7 +430,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[2]/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/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span #获取点击后页面文本信息 Should Be Equal As Strings ${text1} ${name1} #断言 @@ -481,11 +442,7 @@ CreateResponsePages ... ${file}:上传文件所在本地的路径 #打开浏览器 #ui-login lyf 111111 - sleep ${sleep_min} - click id=Settings #点击一级目录Settings - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - sleep ${sleep} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_ResponsePages click id=responseAdd #Response Pages点击Create sleep ${sleep} input id=responsepages_profileName1 ${name} #输入name @@ -507,9 +464,7 @@ Edit-Response-Pages ... ${id-name}:为查询输入框输入内容 ... ${name1}:为修改页面的name输入框里输入的内容 ... ${file}:为修改页面要上传文件的路径 - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - sleep ${sleep} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_ResponsePages Settings-Search ${id-name} ${search} #搜索框的关键字 sleep ${sleep_min} click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] #点击搜素到的列表 @@ -542,11 +497,7 @@ EditHijackFiles ... ${name1}:为修改页面的name输入框里输入的内容 ... ${file}:为修改页面要上传文件的路径 ... ${type}:为文件类型的元素 - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - sleep ${sleep} - click xpath=//*[@id="profilesTabs"]/li[3] #点击Hijack files按钮 - sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_HijackFiles Settings-Search ${id-name} ${search} #搜索框的关键字 sleep ${sleep_min} click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] #点击搜素到的列表 @@ -557,7 +508,7 @@ EditHijackFiles sleep ${sleep_min} input id=hijack_profileName1 ${name1} #输入框输入 sleep ${sleep_min} - Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[5]/div/div/div[1]/input ${file} #上传文件 + Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[5]/div/div/div[1]/input ${file} #上传文件 sleep ${sleep_min} ${dow_name} Set Variable ${shift} ${input} Set Variable ${input1} @@ -589,11 +540,7 @@ EditTrafficMirrorProfiles ... ${name1}:为修改页面的name输入框里输入的内容 ... ${type}:为选择点击vlan或mac的元素 ... ${shuju}:为输入框输入内容 - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - sleep ${sleep} - click xpath=//*[@id="profilesTabs"]/li[4] #点击Traffic Mirror Profiles按钮 - sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_TrafficMirrorProfiles Settings-Search ${id-name} ${search} #搜索框的关键字 sleep ${sleep_min} click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1] #点击搜素到的列表 @@ -612,14 +559,14 @@ EditTrafficMirrorProfiles sleep ${sleep_min} input id=trafficmirror_addrArray0 ${shuju} #输入内容 sleep ${sleep_min} - click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1] #点击ok + click id=trafficMirrorProfile_ok #点击ok Wait Until Element Is Enabled id=trafficMirrorAdd ${sleep_Wait} run keyword if "${search}"=="id" run keywords sleep ${sleep_min} ... AND Settings-Search ${id-name} ${search} #搜索框的关键字 ... 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[2]/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[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span #获取点击后页面文本信息 Should Be Equal As Strings ${text1} ${name1} #断言 importTrustedCertificateAuthorities @@ -630,11 +577,7 @@ importTrustedCertificateAuthorities ... ${file}:上传文件所在本地的路径 #打开浏览器 #ui-login lyf 111111 - sleep ${sleep_min} - click id=Settings #点击一级目录Settings - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[3] #点击二级目录Trusted Certificate Authorities - sleep ${sleep} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities click id=app_create #点击Import sleep ${sleep} input id=authoritiesAdd_name1 ${name} #输入name @@ -689,28 +632,26 @@ CreateDecryptionKeyrings #打开浏览器 #ui-login lyf 111111 sleep ${sleep} - click id=Settings #点击一级目录Settings + click id=VSidebar1_Home1_App0_anonymousComponent-1_Profiles #点击一级目录Settings sleep ${sleep} - click xpath=//*[@id="Settings"]/ul/li[3] - sleep ${sleep} - click xpath=//*[@id="proxyTabs"]/div/ul/li[2] #点击Decryption Keyrings + click id=VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Keyrings #点击Decryption Keyrings sleep ${sleep_min} click id=app_create #点击Create sleep ${sleep} input id=keyringsadd_name1 ${name} #输入name sleep ${sleep} - Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[2]/div/div/div/input ${file} #上传文件 + Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[2]/div/div/div/input ${file} #上传文件 sleep ${sleep} - Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[3]/div/div[2]/div/div/input ${file1} #上传文件 + Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[3]/div/div[2]/div/div/input ${file1} #上传文件 ${select} Set Variable ${ExpiryHours1or2} Run Keyword If '${select}'=='1' click id=keyringsadd_customized Run Keyword If '${select}'=='1' input id=reissueExpiryDate 10 sleep ${sleep_min} - click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[6]/div/div/div[1]/span/span/i #点击下拉框 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[6]/div/div/div[1]/span/span/i #点击下拉框 sleep ${sleep_min} click ${type} #选择证书类型 sleep ${sleep_min} - click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[7]/div/div/div[1]/span/span/i #点击下拉框 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[7]/div/div/div[1]/span/span/i #点击下拉框 sleep ${sleep_min} click ${type1} #选择加密解密类型 sleep ${sleep_min} @@ -741,33 +682,30 @@ DecryptionKeyringsErrorVerification ... ${type1}:上传证书加密解密算法的元素 ... ${Positioning}:获取文本的xpath定位 ... ${Assertion}:断言信息 - sleep ${sleep_min} - click id=Settings #点击一级目录Settings - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[3] #点击二级目录Trusted Certificate Authorities sleep ${sleep} - click xpath=//*[@id="proxyTabs"]/div/ul/li[2] #点击Decryption Keyrings + click id=VSidebar1_Home1_App0_anonymousComponent-1_Profiles #点击一级目录Settings + sleep ${sleep} + click id=VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Keyrings #点击Decryption Keyrings sleep ${sleep_min} click id=app_create #点击Create sleep ${sleep} input id=keyringsadd_name1 ${name} #输入name sleep ${sleep} - Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[2]/div/div/div/input ${file} #上传文件 + Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[2]/div/div/div/input ${file} #上传文件 sleep ${sleep} - Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[3]/div/div[2]/div/div/input ${file1} #上传文件 + Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[3]/div/div[2]/div/div/input ${file1} #上传文件 sleep ${sleep_min} - click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[6]/div/div/div[1]/span/span/i #点击下拉框 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[6]/div/div/div[1]/span/span/i #点击下拉框 sleep ${sleep_min} click ${type} #选择证书类型 sleep ${sleep_min} - click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[7]/div/div/div[1]/span/span/i #点击下拉框 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[7]/div/div/div[1]/span/span/i #点击下拉框 sleep ${sleep_min} click ${type1} #选择加密解密类型 sleep ${sleep_min} click id=keyringsadd_sub #点击OK缇交 sleep ${sleep_min} - ${text1} Get Text xpath=${Positioning} #获取点击后页面文本信息 - Should Be Equal As Strings ${text1} ${Assertion} #断言 + Page Should Contain ${Assertion} #断言 DecryptionKeyringsSearch [Arguments] ${id} ${name} @@ -792,13 +730,7 @@ CreateSSLDecryptionExclusion ... ${name}:新建页面name输入框里的内容 ... ${value}:输入内容 ... ${naem1}:搜索框填入内容 - sleep ${sleep_min} - click id=Settings #点击一级目录Settings - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[3] #点击二级目录Trusted Certificate Authorities - sleep ${sleep} - click xpath=//*[@id="proxyTabs"]/div/ul/li[3] #点击SSL Decryption Exclusion按钮 - sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_SSL click id=ssl_create #点击Create sleep ${sleep} input id=sslAdd_name1 ${name} #输入name @@ -820,13 +752,7 @@ CreateSSLDecryptionExclusionErrorVerification ... ${value}:输入内容 ... ${AssertionPath}:提示信息Xpath定位 ... ${AssertionText}:错误提示信息文本 - sleep ${sleep_min} - click id=Settings #点击一级目录Settings - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[3] #点击二级目录Trusted Certificate Authorities - sleep ${sleep} - click xpath=//*[@id="proxyTabs"]/div/ul/li[3] #点击SSL Decryption Exclusion按钮 - sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_SSL click id=ssl_create #点击Create sleep ${sleep} input id=sslAdd_name1 ${name} #输入name @@ -835,8 +761,7 @@ CreateSSLDecryptionExclusionErrorVerification sleep ${sleep} click id=ssl_ok #点击OK缇交 sleep ${sleep} - ${text} get text xpath=${AssertionPath} - Should Be Equal As Strings ${text} ${AssertionText} + Page Should Contain ${AssertionText} CachedIntermediateCertificatesSearch [Arguments] ${Condition} ${AssertionPath} ${search} @@ -856,7 +781,7 @@ EditTrustedCertificateAuthorities ... ${name}:为修改页面的name输入框里输入的内容 ... ${file}:为修改页面要上传文件的路径 sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[3] #点击二级目录Trusted Certificate Authorities + click id=VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities #点击二级目录Trusted Certificate Authorities sleep ${sleep} Settings-Search ${id-name} ${search} sleep ${sleep_min} @@ -886,10 +811,10 @@ EditDecryptionKeyrings ... ${1or2}:填入1 或者其他 ... ${type}:上传证书类型的元素 ... ${type1}:上传证书加密解密算法的元素 - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[3] #点击二级目录Trusted Certificate Authorities sleep ${sleep} - click xpath=//*[@id="proxyTabs"]/div/ul/li[2] #点击Decryption Keyrings + click id=VSidebar1_Home1_App0_anonymousComponent-1_Profiles #点击一级目录Settings + sleep ${sleep} + click id=VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Keyrings #点击Decryption Keyrings sleep ${sleep_min} Settings-Search ${id-name} ${search} sleep ${sleep_min} @@ -901,18 +826,18 @@ EditDecryptionKeyrings sleep ${sleep_min} input id=keyringsadd_name1 ${name} #输入name sleep ${sleep_min} - Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[5]/div/div/div/input ${file} #上传文件 + Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[5]/div/div/div/input ${file} #上传文件 sleep ${sleep} - Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[6]/div/div[2]/div/div/input ${file1} #上传文件 + Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/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 ${sleep_min} - click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[9]/div/div/div[1]/span/span/i #点击下拉框 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[9]/div/div/div[1]/span/span/i #点击下拉框 sleep ${sleep_min} click ${type} #选择证书类型 sleep ${sleep_min} - click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[10]/div/div/div[1]/span/span/i #点击下拉框 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[10]/div/div/div[1]/span/span/i #点击下拉框 sleep ${sleep} click ${type1} #选择加密解密类型 sleep ${sleep_min} @@ -933,11 +858,7 @@ EditSSLDecryptionExclusion ... ${id-name}:输入搜索的内容 ... ${name}:输入name ... ${calue1}:输入内容 - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[3] #点击二级目录Trusted Certificate Authorities - sleep ${sleep} - click xpath=//*[@id="proxyTabs"]/div/ul/li[3] #点击SSL Decryption Exclusion按钮 - sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_SSL Settings-Search ${id-name} ${search} sleep ${sleep_min} click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr #点击搜索列表 @@ -982,13 +903,7 @@ CreateSSLFingerprint ... ${Pinning}:是否Pinning(Yes/No) ... ${search}:查询条件 ... ${Description}:描述 - sleep ${sleep_min} - click id=Settings #点击一级目录Settings - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[3] #点击二级目录Certificate Managements - sleep ${sleep} - click xpath=//*[@id="proxyTabs"]/div/ul/li[5] #点击SSL Fingerprint - sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint click id=Fingerprint_create #点击Create sleep ${sleep_min} input id=authoritiesAdd_name1 ${Ja3} @@ -1016,11 +931,7 @@ EditSSLFingerprint ... ${Pinning}:是否Pinning(Yes/No) ... ${search}:查询条件 id 或JA3Hash ... ${Description}:描述 - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[3] #点击二级目录Certificate Managements - sleep ${sleep} - click xpath=//*[@id="proxyTabs"]/div/ul/li[5] #点击SSL Fingerprint - sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint Settings-Search ${ID-Ja3} ${search} sleep ${sleep} click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr @@ -1055,11 +966,7 @@ SSLFingerprintImportUserAgent ... ${USQuantity} :导入文件对应指纹信息US得数量 ... ${AssertionText}:断言得US ... ${USXpath}:被断言US得xpath定位 - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[3] #点击二级目录Certificate Managements - sleep ${sleep} - click xpath=//*[@id="proxyTabs"]/div/ul/li[5] #点击SSL Fingerprint - sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint 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[2]/div[4]/div/div/div[2]/div/div[1]/input ${file} @@ -1083,11 +990,7 @@ SSLFingerprintImportJA3 [Arguments] ${file} [Documentation] ... ${file}:上传文件路径 - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[3] #点击二级目录Certificate Managements - sleep ${sleep} - click xpath=//*[@id="proxyTabs"]/div/ul/li[5] #点击SSL Fingerprint - sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint click id=objectImport sleep ${sleep} Choose File xpath=/html/body/div/div/div[1]/div/div/div[1]/div/form/div[1]/div/div/div[1]/input ${file} @@ -1246,12 +1149,7 @@ Min_max_version CreateDecryptionProfile [Arguments] ${name} ${search} ${dict1}=null ${fail1}=null ${min1}=null ${max1}=null - sleep ${sleep_min} - click id=Settings #点击一级目录Settings - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - sleep ${sleep} - click xpath=//*[@id="profilesTabs"]/li[5] #点击Decryption Profile + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_DecryptionProfile sleep ${sleep_min} click id=insertAdd #点击Create sleep ${sleep_min} @@ -1310,11 +1208,11 @@ Min_max_version ... ELSE log 错误 sleep ${sleep} click id=decryption-ok - Wait Until Element Is Enabled xpath=//*[@id="profilesTabs"]/li[5] ${sleep_Wait} + Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/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[2]/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/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span Should Be Equal As Strings ${name1} ${name} @@ -1335,17 +1233,12 @@ ButtonSwitch EditDecryptionProfile [Arguments] ${id-name} ${name} ${search} ${dict1}=null ${fail1}=null ${min1}=null ... ${max1}=null - click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - sleep ${sleep} - click xpath=//*[@id="profilesTabs"]/li[5] #点击Decryption Profile - sleep ${sleep_min} + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_DecryptionProfile Settings-Search ${id-name} ${search} #搜索框的关键字 - 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 xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr #点击搜索列表 sleep ${sleep_min} click id=insertEdit #点击Edit - sleep ${sleep} - Clear Element Text id=decrytion_profileName1 #清空name输入框 sleep ${sleep_min} input id=decrytion_profileName1 ${name} #输入name sleep ${sleep_min} @@ -1401,16 +1294,16 @@ EditDecryptionProfile ... AND click id=pro_max0 ... ELSE log 错误 click id=decryption-ok - Wait Until Element Is Enabled xpath=//*[@id="profilesTabs"]/li[5] ${sleep_Wait} + Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_DecryptionProfile ${sleep_Wait} Settings-Search ${id-name} ${search} #搜索框的关键字 - ${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 + ${name1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/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[2]/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/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span sleep ${sleep_min} click id=insertEdit sleep ${sleep_min} @@ -1422,7 +1315,7 @@ DecryptionProfileButtonVerification END sleep ${sleep_min} click id=decryption-ok - Wait Until Element Is Enabled xpath=//*[@id="profilesTabs"]/li[5] ${sleep_Wait} + Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_DecryptionProfile ${sleep_Wait} Settings-Search ${id-name} ${search} Delete @@ -1732,13 +1625,7 @@ Req_Res_Body CreateIpLibraries [Arguments] ${type1} ${type} ${Continent/Country} ${GeoNameID} ${City} ${ip} ${j}=1 ${Country}=null ${Longitude}=null ${Latitude}=null - sleep ${sleep} - click id=Settings #点击一级目录Settings - sleep ${sleep} - click xpath=//*[@id="Settings"]/ul/li[5] - sleep ${sleep} - click xpath=//*[@id="Advanced/ipLibrary"] #点击二级目录IP_Libraries - sleep ${sleep} + OpenIpLibraries click id=tagAdd #点击Create按钮 sleep ${sleep} run keyword if "${type}"=="Country" Run Keywords click id=security_action_country @@ -1797,22 +1684,16 @@ EditIpLibraries run keyword if "${Latitude}"!="null" Run Keywords input id=ip_geography_latitude ${Latitude} ... AND sleep ${sleep_min} click id=IP_library_add - Wait Until Element Is Enabled xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div ${sleep_Wait} + Wait Until Element Is Enabled ID=tagAdd ${sleep_Wait} #验证修改是否成功 Switch_IP_Libraries ${type} ${GeoNameID} ${GeoNameID} - ${GeoNameText} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div + ${GeoNameText} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div sleep ${sleep} Should Be Equal As Strings ${GeoNameText} ${GeoNameID} #断言 CreateIpLibrariesErrorVerification [Arguments] ${type1} ${type} ${Continent/Country} ${GeoNameID} ${City} ${ip} ${AssertPath} ${AssertText} ${j}=1 ${Country}=null ${Longitude}=null ${Latitude}=null - sleep ${sleep_min} - click id=Settings #点击一级目录Settings - sleep ${sleep_min} - click xpath=//*[@id="Settings"]/ul/li[5] - sleep ${sleep_min} - click xpath=//*[@id="Advanced/ipLibrary"] #点击二级目录IP_Libraries - sleep ${sleep} + OpenIpLibraries click id=tagAdd #点击Create按钮 sleep ${sleep} run keyword if "${type}"=="Country" Run Keywords click id=security_action_country @@ -2022,13 +1903,13 @@ CreatePacketCapture ... ${ServerIP}:服务器 IP 默认为空 ... ${ServerPort}:服务器端口 默认为空 sleep ${sleep_min} - OpenPages //*[@id="Settings"]/ul/li[4] Proxy_Profiles_Profile_Insert + OpenPacketCapture click id=packet_create sleep ${sleep} input id=PacketCaptureadd_name ${name} sleep ${sleep_min} run keyword if "${AddressType}"=="IPV6" run keywords sleep ${sleep_min} - ... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[2]/div/div/div/span/span/i + ... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[1]/div/div[2]/form/div[2]/div/div/div[1]/span/span/i ... AND sleep ${sleep_min} ... AND click id=select_addrtype1 ... AND sleep ${sleep_min} @@ -2046,7 +1927,7 @@ CreatePacketCapture ... AND input id=PacketCaptureadd_serPort ${ServerPort} ... AND sleep ${sleep_min} ... ELSE log ServerPort不输入 - click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[7]/div/div/div/span/span/i + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[1]/div/div[2]/form/div[7]/div/div/div[1]/span/span/i sleep ${sleep_min} run keyword if "${Protocol}"=="TCP" run keywords sleep ${sleep_min} ... AND click id=select_Protocol0 @@ -2061,8 +1942,8 @@ CreatePacketCapture input id=PacketCaptureadd_pcapStorageDay ${CaptureDuration} sleep ${sleep_min} click id=packetCaptureAdd_ok - 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} + SystemSearch ${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 Should Be Equal As Strings ${text} ${name} @@ -2177,7 +2058,6 @@ PacketCaptureEffectiveDevices sleep ${sleep_min} - PacketCaptureSerch [Arguments] ${status} sleep ${sleep_min} @@ -2237,25 +2117,25 @@ DeleteIPLibraries Switch_IP_Libraries [Arguments] ${type} ${value} ${GeoName} sleep ${sleep} - 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 + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[1]/span/div/div/div[2]/div/div/div[1]/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[2]/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[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[2]/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[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[2]/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[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[2]/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[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[2]/div[1]/div/div[1]/span/div/i + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/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} @@ -2264,21 +2144,15 @@ Switch_IP_Libraries Should Be Equal As Strings ${GeoNameText} ${GeoName} #断言 OpenPages - [Arguments] ${SecondaryMenu} ${Three-levelMenu} ${Targeting}=null + [Arguments] ${SecondaryMenu} [Documentation] ... ${SecondaryMenu}:二级菜单 - ... ${Three-levelMenu}:三级菜单 - ... ${Targeting} :三级菜单 定位方式 默认不输入为id - click id=Settings + click id=VSidebar1_Home1_App0_anonymousComponent-1_Profiles sleep ${sleep} - click xpath=${SecondaryMenu} - sleep ${sleep} - run keyword if "${Targeting}"=="null" run keywords sleep ${sleep_min} - ... AND click id=${Three-levelMenu} - run keyword if "${Targeting}"=="xpath" run keywords sleep ${sleep_min} - ... AND click ${Targeting}=${Three-levelMenu} + click id=${SecondaryMenu} sleep ${sleep} + TurnPage [Arguments] ${NextPage} ${PreviousPage} ${JumpInput} ${pages} ${AssertXpath} ${lastpage}=null ${lastxpath}=null [Documentation] @@ -2459,10 +2333,7 @@ UploadFilesSize ... ${file}:上传文件本地 ... ${Promptinfor}:页面提示信息 run keyword if "${Page}"=="ResponsePages" run keywords sleep ${sleep_min} - ... AND click id=Settings #点击一级目录Settings - ... AND sleep ${sleep_min} - ... AND click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - ... AND sleep ${sleep} + ... AND OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_ResponsePages #点击一级目录Settings ... AND click id=responseAdd #Response Pages点击Create ... AND sleep ${sleep} ... AND input id=responsepages_profileName1 ${name} #输入name @@ -2472,12 +2343,7 @@ UploadFilesSize ... AND click id=responseAddOk1 ... AND sleep ${sleep} run keyword if "${Page}"=="InsertScripts" run keywords sleep ${sleep_min} - ... AND click id=Settings #点击一级目录Settings - ... AND sleep ${sleep_min} - ... AND click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - ... AND sleep ${sleep} - ... AND click xpath=//*[@id="profilesTabs"]/li[2] #点击Insert Scripts按钮 - ... AND sleep ${sleep_min} + ... AND OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_Insert ... AND click id=insertAdd #点击Create ... AND sleep ${sleep} ... AND input id=insert_profileName1 ${name} #输入name @@ -2491,17 +2357,12 @@ UploadFilesSize ... AND click id=insertAddOk1 #点击OK ... AND sleep ${sleep} run keyword if "${Page}"=="HijackFiles" run keywords sleep ${sleep_min} - ... AND click id=Settings #点击一级目录Settings - ... AND sleep ${sleep_min} - ... AND click xpath=//*[@id="Settings"]/ul/li[1] #点击二级目录Proxy Profiles - ... AND sleep ${sleep} - ... AND click xpath=//*[@id="profilesTabs"]/li[3] #点击Hijack Files按钮 - ... AND sleep ${sleep_min} + ... AND OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_HijackFiles #点击一级目录Settings ... AND click id=hijackAdd #点击Create ... AND sleep ${sleep} ... AND input id=hijack_profileName1 ${name} #输入name ... AND sleep ${sleep} - ... AND 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} #上传文件 + ... AND Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[2]/div/div/div[1]/input ${file} #上传文件 ... AND sleep ${sleep_min} ... AND click id=hijackAddContentType #点击+ 打开侧滑窗口 ... AND sleep ${sleep_min} @@ -2510,11 +2371,7 @@ UploadFilesSize ... AND click id=hijackAddOk1 ... AND sleep ${sleep} run keyword if "${Page}"=="SSLFingerprint" run keywords sleep ${sleep_min} - ... AND click id=Settings #点击一级目录Settings - ... AND sleep ${sleep_min} - ... AND click xpath=//*[@id="Settings"]/ul/li[3] #点击二级目录 - ... AND sleep ${sleep} - ... AND click xpath=//*[@id="proxyTabs"]/div/ul/li[5] + ... AND OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/SSL_Fingerprint ... AND sleep ${sleep_min} ... 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} @@ -2523,10 +2380,7 @@ UploadFilesSize ... AND click id=Import_ua_Ok ... AND sleep ${sleep} run keyword if "${Page}" == "TrustedCertificateAuthorities" run keywords sleep ${sleep_min} - ... AND click id=Settings - ... AND sleep ${sleep_min} - ... AND click xpath=//*[@id="Settings"]/ul/li[3] #点击二级目录Trusted Certificate Authorities - ... AND sleep ${sleep} + ... AND OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Authorities ... AND click id=app_create #点击Import ... AND sleep ${sleep} ... AND input id=authoritiesAdd_name1 ${name} #输入name @@ -2561,14 +2415,7 @@ DeleteReferencedData ... ${SecondaryMenu}:二级目录 ... ${ID} :查询数据的ID ... ${PromptInformation} :提示信息 - ... ${Three-levelMenu}:三级菜单 - sleep ${sleep_min} - click id=Settings #点击一级目录Settings - sleep ${sleep_min} - click xpath=${SecondaryMenu} #点击二级目录Proxy Profiles - sleep ${sleep} - click xpath=${Three-levelMenu} - sleep ${sleep_min} + OpenPages ${SecondaryMenu} Settings-Search ${ID} id sleep ${sleep} run keyword if "${Page}"=="ResponsePage" run keywords sleep ${sleep_min} @@ -2584,7 +2431,7 @@ 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[2]/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[1]/div/div[2]/div/div[3]/table/tbody/tr[1] ... AND sleep ${sleep_min} ... AND DeletetrafficMirrorDel run keyword if "${Page}"=="DecryptionProfile" run keywords sleep ${sleep_min} @@ -2704,7 +2551,18 @@ ResponsrPageCreateAssert ${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span #获取点击后页面文本信息 SettingsAssertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span ${Name} - +OpenIpLibraries + click id=VSidebar1_Home1_App0_anonymousComponent-1_System + sleep ${sleep_min} + click id=VSidebar1_Home1_App0_anonymousComponent-1_Advanced/IP_Libraries + sleep ${sleep} + +OpenPacketCapture + click id=VSidebar1_Home1_App0_anonymousComponent-1_System + sleep ${sleep_min} + click id=VSidebar1_Home1_App0_anonymousComponent-1_Trouble_shooting/Packet_Capture + sleep ${sleep} + DeleteresinseDel1 sleep ${sleep} click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span @@ -2713,3 +2571,49 @@ DeleteresinseDel1 sleep ${sleep} click xpath=/html/body/div/div/div[3]/button[2] sleep ${sleep} + +SystemSearch + [Arguments] ${value} ${search} + sleep ${sleep} + click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/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[1]/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[1]/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[1]/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[1]/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[1]/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[1]/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[1]/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[1]/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[1]/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[1]/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[1]/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[1]/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[1]/div/div[1]/span/div/i #点击搜索按钮 + sleep ${sleep}