diff options
Diffstat (limited to '01-TestCase/tsg_ui')
12 files changed, 85 insertions, 91 deletions
diff --git a/01-TestCase/tsg_ui/ui_settings/CachedIntermediateCertificatesCase.robot b/01-TestCase/tsg_ui/ui_settings/CachedIntermediateCertificatesCase.robot index 8db5961..4fa3c93 100644 --- a/01-TestCase/tsg_ui/ui_settings/CachedIntermediateCertificatesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/CachedIntermediateCertificatesCase.robot @@ -54,8 +54,8 @@ CachedIntermediateCertificatesDownLoad CachedIntermediateCertificatesTurnPage
[Tags] Positive UI Settings CachedIntermediateCertificates
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
+ TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[3]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[3]/div/button[1]
+ ... //*[@id="app"]/div/div[3]/div[2]/div/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
CachedIntermediateCertificatesIDSortButton
[Tags] Positive UI Settings CachedIntermediateCertificates
diff --git a/01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot b/01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot index bb05dc9..e054f11 100644 --- a/01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot @@ -133,18 +133,18 @@ DecryptionKeyringsDownload # 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
-DecryptionKeyringsCertificateExpirationDelay
- [Tags] Positive UI Settings DecryptionKeyrings
- OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[2] xpath
- Settings-Search CertificateExpirationDelay name
- ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[3]/td[6]/div/div/div/span
- Should Be Equal As Strings Expired ${text}
+# DecryptionKeyringsCertificateExpirationDelay
+ # [Tags] Positive UI Settings DecryptionKeyrings
+ # OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Keyrings
+ # Settings-Search CertificateExpirationDelay name
+ # ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[3]/td[6]/div/div/div/span
+ # Should Be Equal As Strings Expired ${text}
DecryptionKeyringsAllSearch
[Tags] Positive UI Settings DecryptionKeyrings
CreateDecryptionKeyrings ${TEST NAME} ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 2 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/p/span
- OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[2] xpath
+ OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_CertificateManagement/Certificate_Keyrings
DecryptionKeyringsSearch ${id} ${TEST NAME}
SettingsAssertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/p/span ${id}
SettingsAssertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span ${TEST NAME}
@@ -153,47 +153,47 @@ DecryptionKeyringsAllSearch DecryptionKeyringsIDSortButton
[Tags] Positive 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
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[1]/div/span/i Decryption Keyrings
DecryptionKeyringsNameSortButton
[Tags] Positive 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
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[2]/div/span/i Decryption Keyrings
DecryptionKeyringsTypeSortButton
[Tags] Positive 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
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[3]/div/span/i Decryption Keyrings
DecryptionKeyringsExpiryDateSortButton
[Tags] Positive 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
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[7]/div/span/i Decryption Keyrings
DecryptionKeyringsCRLSortButton
[Tags] Positive 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
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[8]/div/span/i Decryption Keyrings
DecryptionKeyringsIsssuerBySortButton
[Tags] Positive 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
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[9]/div/span/i Decryption Keyrings
DecryptionKeyringsIsssuerToSortButton
[Tags] Positive 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
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[10]/div/span/i Decryption Keyrings
DecryptionKeyringsCommonNameSortButton
[Tags] Positive 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
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[11]/div/span/i Decryption Keyrings
DecryptionKeyringsModifiedTimeSortButton
[Tags] Positive 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
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[12]/div/span/i Decryption Keyrings
DecryptionKeyringsCreateNameMinSize
@@ -250,7 +250,7 @@ DecryptionKeyringsCAEntityFileCAMiddleType DecryptionKeyringsNullName
[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}
click id=keyringsadd_sub
@@ -277,8 +277,7 @@ DecryptionKeyringsMaxSizeHSM sleep ${sleep}
click id=keyringsadd_sub
sleep ${sleep_min}
- ${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[4]/div/div[2]
- Should Be Equal As Strings ${text} The maximum value of 2147483647 has been exceeded.
+ Page Should Contain The maximum value of 2147483647 has been exceeded.
DecryptionKeyringsMaxSizeCustomized
[Tags] Negtive UI Settings DecryptionKeyrings
@@ -299,7 +298,6 @@ DecryptionKeyringsMaxSizeCustomized sleep ${sleep_min}
click id=keyringsadd_sub
sleep ${sleep_min}
- ${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[5]/div/div[2]
- Should Be Equal As Strings ${text} The maximum value of 2147483647 has been exceeded.
+ Page Should Contain The maximum value of 2147483647 has been exceeded.
\ No newline at end of file diff --git a/01-TestCase/tsg_ui/ui_settings/DecryptionProfileCase.robot b/01-TestCase/tsg_ui/ui_settings/DecryptionProfileCase.robot index 351131e..5f7e9a0 100644 --- a/01-TestCase/tsg_ui/ui_settings/DecryptionProfileCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/DecryptionProfileCase.robot @@ -518,9 +518,9 @@ DecryptionProfileAllCloseTLSv1.3 DecryptionProfileTurnPage
[Tags] Positive UI Settings DecryptionProfile
- 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
+ OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_DecryptionProfile
+ TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div/div/div[4]/div/button[1]
+ ... //*[@id="app"]/div/div[3]/div[2]/div/div/div/div[4]/div/span[2]/div/input 2 //*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
DecryptionProfileNameMinSize
[Tags] Boundary UI name Settings DecryptionProfile
@@ -551,7 +551,7 @@ DecryptionProfileNameSpecialChar DecryptionProfileDeleteReferencedData
[Tags] Negtive UI Settings DecryptionProfile
- DeleteReferencedData DecryptionProfile //*[@id="Settings"]/ul/li[1] 83 The referenced data are not allowed to disable or delete //*[@id="profilesTabs"]/li[5]
+ DeleteReferencedData DecryptionProfile VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_DecryptionProfile 83 The referenced data are not allowed to disable or delete
DecryptionProfileNullname
[Tags] Negtive UI Settings DecryptionProfile
diff --git a/01-TestCase/tsg_ui/ui_settings/HijackFilesCase.robot b/01-TestCase/tsg_ui/ui_settings/HijackFilesCase.robot index 4419609..ff2c668 100644 --- a/01-TestCase/tsg_ui/ui_settings/HijackFilesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/HijackFilesCase.robot @@ -97,9 +97,9 @@ HijackFilesDownloadFile HijackFilesPagesTurnPage [Tags] Positive UI Settings HijackFile - 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 + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_HijackFiles + TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div/div/div[5]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div/div/div[5]/div/button[1] + ... //*[@id="app"]/div/div[3]/div[2]/div/div/div/div[5]/div/span[2]/div/input 2 //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/span HijackFilesCreateNameMinSize [Tags] Boundary UI Name Settings HijackFile @@ -172,8 +172,8 @@ HijackFilesCreateNullName sleep ${sleep} click id=hijackAddOk1 sleep ${sleep_min} - ${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3] - ${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div[2] + ${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[3] + ${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[4]/div/div[2] Should Be Equal As Strings ${text} The length of the name is at most 128 characters and cannot be less than 4 characters Should Be Equal As Strings ${text1} Please enter the content diff --git a/01-TestCase/tsg_ui/ui_settings/IPLibrariesCase.robot b/01-TestCase/tsg_ui/ui_settings/IPLibrariesCase.robot index 24f0bed..a12d4e7 100644 --- a/01-TestCase/tsg_ui/ui_settings/IPLibrariesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/IPLibrariesCase.robot @@ -141,7 +141,7 @@ IPLibrariesSearchIP sleep ${sleep_min}
press keys id=IPseach ENTER
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
+ ${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/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
OpenIpLibraries
Settings-Search ${a} GeoName
@@ -152,8 +152,8 @@ IPLibrariesSearchIP IPLibrariesTurnPage
[Tags] Positive UI Settings IPLibraries
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
+ TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[4]/div/button[1]
+ ... //*[@id="app"]/div/div[3]/div[2]/div/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
IPLibrariesCreateGeoNameIDMaxSize
[Tags] Boundary UI Settings IPLibraries
@@ -180,7 +180,7 @@ IPLibrariesGeoNameIDRepeat [Tags] Negtive UI Settings IPLibraries
${iplist} create list 10.1.1.1-20.1.1.1 20.1.1.1-30.1.1.1
CreateIpLibraries Geo Name Country Africa 548464 548464 ${iplist} j=2 Country=5484888 Longitude=180 Latitude=90
- CreateIpLibrariesErrorVerification Geo Name Country Africa 548464 548464 ${iplist} //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[3]/div/div[3] Geo Name already exists j=2 Country=548464 Longitude=180 Latitude=90
+ CreateIpLibrariesErrorVerification Geo Name Country Africa 548464 548464 ${iplist} //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[3]/form/div[3]/div/div[3] Geo Name already exists j=2 Country=548464 Longitude=180 Latitude=90
click id=IP_library_cancel
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
@@ -189,7 +189,7 @@ IPLibrariesGeoNameIDRepeat IPLibrariesGeoNameIDInvalidCharacter
[Tags] Negtive UI Settings IPLibraries
${iplist} create list 10.1.1.1-20.1.1.1 20.1.1.1-30.1.1.1
- CreateIpLibrariesErrorVerification Geo Name Country Africa sads/*-+ 1132 ${iplist} //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[3]/div/div[3] Please enter the correct format j=2 Country=1132 Longitude=180 Latitude=90
+ CreateIpLibrariesErrorVerification Geo Name Country Africa sads/*-+ 1132 ${iplist} //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[3]/form/div[3]/div/div[3] Please enter the correct format j=2 Country=1132 Longitude=180 Latitude=90
IPLibrariesCountryandRegionRepeat
[Tags] Negtive UI Settings IPLibraries
@@ -204,14 +204,14 @@ IPLibrariesCountryandRegionRepeat IPLibrariesIpFormatError
[Tags] Negtive UI Settings IPLibraries
${iplist} create list 10.1.1.1-20.1.1.256
- CreateIpLibrariesErrorVerification Geo Name Country Africa 548467 548467 ${iplist} //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[6]/div/div[2]/div[5]/span Format error
+ CreateIpLibrariesErrorVerification Geo Name Country Africa 548467 548467 ${iplist} //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[3]/form/div[6]/div/div[2]/div[5]/span Format error
IPLibrariesLongitudeFormat
[Tags] Negtive UI Settings IPLibraries
${iplist} create list 10.1.1.1-20.1.1.1
- CreateIpLibrariesErrorVerification Geo Name Country Africa 548468 548468 ${iplist} //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[7]/div/div[2] Please enter the correct format Country=L1 Longitude=181 Latitude=90
+ CreateIpLibrariesErrorVerification Geo Name Country Africa 548468 548468 ${iplist} //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[3]/form/div[7]/div/div[2] Please enter the correct format Country=L1 Longitude=181 Latitude=90
IPLibrariesLatitudeFormat
[Tags] Negtive UI Settings IPLibraries
${iplist} create list 10.1.1.1-20.1.1.21
- CreateIpLibrariesErrorVerification Geo Name Country Africa 548469 548469 ${iplist} //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[8]/div/div[2] Please enter the correct format Country=L1 Longitude=18 Latitude=91
\ No newline at end of file + CreateIpLibrariesErrorVerification Geo Name Country Africa 548469 548469 ${iplist} //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[3]/form/div[8]/div/div[2] Please enter the correct format Country=L1 Longitude=18 Latitude=91
\ No newline at end of file diff --git a/01-TestCase/tsg_ui/ui_settings/InsertScriptCase.robot b/01-TestCase/tsg_ui/ui_settings/InsertScriptCase.robot index 15eecb1..dfdfb90 100644 --- a/01-TestCase/tsg_ui/ui_settings/InsertScriptCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/InsertScriptCase.robot @@ -45,11 +45,10 @@ InsertScriptsEditSearchId click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1] Delete -InsertScriptsEditSearchName +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/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 + EditInsertScripts 1234 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/div/div[2]/div/div[3]/table/tbody/tr[1] Delete @@ -62,9 +61,9 @@ InsertScriptDownloadFile InsertScritsPagesTurnPage [Tags] Positive UI Settings InsertScript - 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 + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_Insert + TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div/div/div[5]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div/div/div[5]/div/button[1] + ... //*[@id="app"]/div/div[3]/div[2]/div/div/div/div[5]/div/span[2]/div/input 2 //*[@id="app"]/div/div[3]/div[2]/div/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span InsertScriptCreateSpecialFileName [Tags] Boundary UI File Settings InsertScript @@ -116,4 +115,4 @@ InsertScritsCreateNullName InsertScritsDeleteReferencedData [Tags] Negtive UI Settings InsertScrit - DeleteReferencedData InsertScript VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_Insert 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 diff --git a/01-TestCase/tsg_ui/ui_settings/ResponsePagesCase.robot b/01-TestCase/tsg_ui/ui_settings/ResponsePagesCase.robot index 2b6115c..2983036 100644 --- a/01-TestCase/tsg_ui/ui_settings/ResponsePagesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/ResponsePagesCase.robot @@ -46,9 +46,9 @@ ResponsePagesDownloadFile 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 + OpenPages VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_ResponsePages + TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div/div/div[5]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div/div/div[5]/div/button[1] + ... //*[@id="app"]/div/div[3]/div[2]/div/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 diff --git a/01-TestCase/tsg_ui/ui_settings/SNATIPPoolsCase.robot b/01-TestCase/tsg_ui/ui_settings/SNATIPPoolsCase.robot index a0c6537..cb36740 100644 --- a/01-TestCase/tsg_ui/ui_settings/SNATIPPoolsCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/SNATIPPoolsCase.robot @@ -100,13 +100,12 @@ CreateSNATIPPoolsNameSpecialChar CreateSNATIPPoolsNameNull
[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=wanAdd_ok
sleep ${sleep_min}
- ${text} Get Text xpath=//*[@id="wannat_vpn_color"]/form/div[1]/div/div[2]
- Should Be Equal As Strings ${text} The length of the name is at most 128 characters and cannot be less than 4 characters
+ Page Should Contain The length of the name is at most 128 characters and cannot be less than 4 characters
CreateSNATIPPoolsIpFormatError
[Tags] Negtive UI Settings SNATIPPools
diff --git a/01-TestCase/tsg_ui/ui_settings/SSLDecryptionExclusionCase.robot b/01-TestCase/tsg_ui/ui_settings/SSLDecryptionExclusionCase.robot index 5009b34..cfc4f5d 100644 --- a/01-TestCase/tsg_ui/ui_settings/SSLDecryptionExclusionCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/SSLDecryptionExclusionCase.robot @@ -72,9 +72,7 @@ SSLDecryptionExclusionNullDescriptionAndFQDN click id=ssl_create
sleep ${sleep_min}
click id=ssl_ok
- sleep ${sleep}
- ${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[1]/div/div[3]
- ${text2} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[2]/div/div[2]
- Should Be Equal As Strings ${text1} The length of the name is at most 128 characters and cannot be less than 4 characters
- Should Be Equal As Strings ${text2} Please enter the content
+ sleep ${sleep_min}
+ Page Should Contain The length of the name is at most 128 characters and cannot be less than 4 characters
+ Page Should Contain Please enter the content
diff --git a/01-TestCase/tsg_ui/ui_settings/SSLFingerprintCase.robot b/01-TestCase/tsg_ui/ui_settings/SSLFingerprintCase.robot index ca1515d..72aa0aa 100644 --- a/01-TestCase/tsg_ui/ui_settings/SSLFingerprintCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/SSLFingerprintCase.robot @@ -36,24 +36,24 @@ SSLFingerprintEditNotPingningSearchJA3Hash click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr DeleteSSLFingerprint -SSLFingerprintImportUserAgent - [Tags] Positive UI UserAgent Settings SSLFingerprint - ${a}= RandomNumber - CreateSSLFingerprint 599f223c2c9ee5702f5762913889dc21 No JA3Hash Description=test - ${ID} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/div/span - SSLFingerprintImportUserAgent ${ID} ${path}SSLFingerprint_files/UserAgent.json 1 771,49162-49161-52393-49200-49199-49172-49171-52392,0-13-5-11-43-10,23-24,0 - ... /html/body/div[last()]/ul/li/div[2]/span[2]/span - click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr - DeleteSSLFingerprint - -SSLFingerprintImportUserAgentExceedFour - [Tags] Positive UI UserAgent Settings SSLFingerprint - CreateSSLFingerprint b32309a26951912be7dba376398abc3b No JA3Hash Description=test - ${ID} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/div/span - SSLFingerprintImportUserAgent ${ID} ${path}SSLFingerprint_files/UserAgent.json 4 Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.2; Win64; x64; Trident/5.0) - ... /html/body/div[4]/div/div[1]/div/div/div[1]/div/form/div[2]/div/div[1] - click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr - DeleteSSLFingerprint +# SSLFingerprintImportUserAgent + # [Tags] Positive UI UserAgent Settings SSLFingerprint + # ${a}= RandomNumber + # CreateSSLFingerprint 599f223c2c9ee5702f5762913889dc21 No JA3Hash Description=test + # ${ID} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/div/span + # SSLFingerprintImportUserAgent ${ID} ${path}SSLFingerprint_files/UserAgent.json 1 771,49162-49161-52393-49200-49199-49172-49171-52392,0-13-5-11-43-10,23-24,0 + # ... /html/body/div[last()]/ul/li/div[2]/span[2]/span + # click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr + # DeleteSSLFingerprint + +# SSLFingerprintImportUserAgentExceedFour + # [Tags] Positive UI UserAgent Settings SSLFingerprint + # CreateSSLFingerprint b32309a26951912be7dba376398abc3b No JA3Hash Description=test + # ${ID} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/div/span + # SSLFingerprintImportUserAgent ${ID} ${path}SSLFingerprint_files/UserAgent.json 4 Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.2; Win64; x64; Trident/5.0) + # ... /html/body/div[4]/div/div[1]/div/div/div[1]/div/form/div[2]/div/div[1] + # click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr + # DeleteSSLFingerprint SSLFingerprintImportJA3 [Tags] Positive UI JA3 Settings SSLFingerprint @@ -159,7 +159,7 @@ SSLFingerprintCreateNullJA3Hash sleep ${sleep_min} click id=authoritiesAdd_sub sleep ${sleep} - ${text} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3] + ${text} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[3] Should Be Equal As Strings ${text} Please enter the content SSLFingerprintCreateFormatError @@ -171,7 +171,7 @@ SSLFingerprintCreateFormatError sleep ${sleep_min} click id=authoritiesAdd_sub sleep ${sleep} - ${text} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3] + ${text} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[3] Should Be Equal As Strings ${text} format error SSLFingerprintCreateRepeatJA3Hash diff --git a/01-TestCase/tsg_ui/ui_settings/TrafficMirrorProfilesCase.robot b/01-TestCase/tsg_ui/ui_settings/TrafficMirrorProfilesCase.robot index b39d5f6..75307fb 100644 --- a/01-TestCase/tsg_ui/ui_settings/TrafficMirrorProfilesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/TrafficMirrorProfilesCase.robot @@ -101,16 +101,16 @@ TrafficMirrorProfilesNoInput sleep ${sleep_min}
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]
- ${text3} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]
+ ${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[3]
+ ${text2} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[2]/div/div[2]
+ ${text3} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]
Should Be Equal As Strings ${text1} The length of the name is at most 128 characters and cannot be less than 4 characters
Should Be Equal As Strings ${text2} Please select
Should Be Equal As Strings ${text3} Please enter the content
TrafficMirrorProfilesDeleteReferencedData
[Tags] Negtive UI Settings TrafficMirrorProfile
- DeleteReferencedData TrafficMirrorProfile //*[@id="Settings"]/ul/li[1] 15 The referenced data are not allowed to delete //*[@id="profilesTabs"]/li[4]
+ DeleteReferencedData TrafficMirrorProfile VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_TrafficMirrorProfiles 15 The referenced data are not allowed to delete //*[@id="profilesTabs"]/li[4]
diff --git a/01-TestCase/tsg_ui/ui_settings/TrustedCertificateAuthoritiesCase.robot b/01-TestCase/tsg_ui/ui_settings/TrustedCertificateAuthoritiesCase.robot index a209c72..60f1423 100644 --- a/01-TestCase/tsg_ui/ui_settings/TrustedCertificateAuthoritiesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/TrustedCertificateAuthoritiesCase.robot @@ -80,8 +80,8 @@ TrustedCertificateAuthoritiesEditDefaultCertificate TrustedCertificateAuthoritiesTurnPage [Tags] Positive UI Settings TrustedCertificateAuthorities 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 + TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[3]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div/div[3]/div/button[1] + ... //*[@id="app"]/div/div[3]/div[2]/div/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 TrustedCertificateAuthoritiesIDSortButton [Tags] Positive UI Settings TrustedCertificateAuthorities @@ -123,12 +123,12 @@ TrustedCertificateAuthoritiesModifiedTimeSortButton 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 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} +# TrustedCertificateAuthoritiesCertificateExpirationDelay + # [Tags] Positive UI Settings TrustedCertificateAuthorities + # 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} TrustedCertificateAuthoritiesCreateNameMinSize [Tags] Boundary UI name Settings TrustedCertificateAuthorities @@ -163,7 +163,7 @@ TrustedCertificateAuthoritiesCreateNameThreeCharacters sleep ${sleep_min} click id=authoritiesAdd_sub sleep ${sleep_min} - ${text} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[1]/div/div[3] + ${text} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[2]/form/div[1]/div/div[3] Should Be Equal As Strings ${text} The length of the name is at most 128 characters and cannot be less than 4 characters TrustedCertificateAuthoritiesInportEntityCertificate |
