由于界面改变,维护自动化代码原Setting模块

This commit is contained in:
byb11
2021-07-09 19:07:13 +08:00
parent 802a794234
commit 423ddc256c
15 changed files with 355 additions and 530 deletions

View File

@@ -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}