2020-12-29 18:32:12 +08:00
*** Settings ***
Force Tags tsg-ui settings Decryption Keyrings
Resource ../../../03-Variable/bifangapivariable.txt
Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
Library OperatingSystem
*** Test Cases ***
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCARootAndRSA2048
[Tags] Positive UI CARoot 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
2020-12-29 18:32:12 +08:00
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-02-02 23:44:06 +08:00
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCARootAndRSA1024
[Tags] Positive UI CARoot Settings DecryptionKeyrings
CreateDecryptionKeyrings lyf-RF-test-002 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 2 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet0 name
2020-12-29 18:32:12 +08:00
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCARootAndSECP256r1HSM
[Tags] Positive UI CARoot Settings DecryptionKeyrings
CreateDecryptionKeyrings lyf-RF-test-003 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet2 name shift=close PrivateKeyType=HSM
2020-12-29 18:32:12 +08:00
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCARootAndSECP384r1
[Tags] Positive UI CARoot Settings DecryptionKeyrings
2020-12-29 18:32:12 +08:00
CreateDecryptionKeyrings lyf-RF-test-004 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet3 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCARootOpenButtonHSM
[Tags] Positive UI CARoot Settings DecryptionKeyrings
CreateDecryptionKeyrings lyf-RF-test-005 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet3 name shift=open PrivateKeyType=HSM
2020-12-29 18:32:12 +08:00
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCAMiddleAndSECP384r1
[Tags] Positive UI CAMiddle Settings DecryptionKeyrings
2020-12-29 18:32:12 +08:00
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 23 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet3 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCAMiddleAndSECP256r1HSM
[Tags] Positive UI CAMiddle Settings DecryptionKeyrings
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 1 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet2 name PrivateKeyType=HSM
2020-12-29 18:32:12 +08:00
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCAMiddleAndRSA2048
[Tags] Positive UI CAMiddle Settings DecryptionKeyrings
2020-12-29 18:32:12 +08:00
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet1 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCAMiddleAndRSA1024
[Tags] Positive UI CAMiddle Settings DecryptionKeyrings
2020-12-29 18:32:12 +08:00
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet0 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCAMiddleOpenButtonHSM
[Tags] Positive UI CAMiddle Settings DecryptionKeyrings
2020-12-29 18:32:12 +08:00
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet0 name
2021-01-22 18:40:29 +08:00
... open HSM
2020-12-29 18:32:12 +08:00
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCAEntityAndRSA1024
[Tags] Positive UI CAEntity Settings DecryptionKeyrings
2020-12-29 18:32:12 +08:00
CreateDecryptionKeyrings lyf-RF-test-013 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 23 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet0 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCAEntityAndRSA2048
[Tags] Positive UI CAEntity Settings DecryptionKeyrings
2020-12-29 18:32:12 +08:00
CreateDecryptionKeyrings lyf-RF-test-014 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 23 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet1 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCAEntityAndSECP256r1
[Tags] Positive UI CAEntity Settings DecryptionKeyrings
2020-12-29 18:32:12 +08:00
CreateDecryptionKeyrings lyf-RF-test-015 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 23 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet2 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCAEntityAndSECP384r1
[Tags] Positive UI CAEntity Settings DecryptionKeyrings
2020-12-29 18:32:12 +08:00
CreateDecryptionKeyrings lyf-RF-test-016 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 23 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet3 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsCreateCAEntityOpenButton
[Tags] Positive UI CAEntity Settings DecryptionKeyrings
2020-12-29 18:32:12 +08:00
CreateDecryptionKeyrings lyf-RF-test-017 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 1 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet3 name
... open
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsEditSearchID
[Tags] Positive UI Settings DecryptionKeyrings
2020-12-29 18:32:12 +08:00
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet0 name
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/p/span
EditDecryptionKeyrings ${id} lyf-RF-edit-1 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 1
... id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 id
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
DecryptionKeyringsEditSearchName
[Tags] Positive UI Settings DecryptionKeyrings
2020-12-29 18:32:12 +08:00
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet0 name
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
EditDecryptionKeyrings ${name} lyf-RF-edit-1 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 1
... id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-01-22 18:40:29 +08:00
2021-02-05 17:32:46 +08:00
DecryptionKeyringsEditDefaultCertificate
[Tags] Positive UI Settings DecryptionKeyrings
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
Settings-Search 1 id
EditDefaultCertificate 220
Settings-Search 1 id
2021-02-23 15:23:23 +08:00
EditDefaultCertificate 240
2021-01-24 22:58:53 +08:00
DecryptionKeyringsDownload
[Tags] Positive UI Settings DecryptionKeyrings
CreateDecryptionKeyrings lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 2 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/div/p/i
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-01-24 22:58:53 +08:00
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[5]/div/div/div/p/i
2021-03-09 11:03:39 +08:00
sleep ${sleep}
2021-01-26 14:35:49 +08:00
DownLoadFile ${path}keyrings//root//ca-cer.pem ${DownLoadPath}ca-cer.pem
DownLoadFile ${path}keyrings//root//ca.keym ${DownLoadPath}ca.keym
2021-01-24 22:58:53 +08:00
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
DecryptionKeyringsTurnPage
[Tags] Positive UI Settings DecryptionKeyrings
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
2021-04-23 10:34:42 +08:00
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
2021-01-24 22:58:53 +08:00
2021-02-05 17:32:46 +08:00
DecryptionKeyringsCertificateExpired
[Tags] Positive 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
2021-02-23 18:31:53 +08:00
DecryptionKeyringsCertificateExpirationDelay
[Tags] Positive UI Settings DecryptionKeyrings
OpenPages sidebarProxy_CertificateManagement //*[@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}
2021-02-05 17:32:46 +08:00
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 sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
DecryptionKeyringsSearch ${id} ${TEST NAME}
2021-03-01 10:03:36 +08:00
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}
2021-02-05 17:32:46 +08:00
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-02-23 15:23:23 +08:00
DecryptionKeyringsPagingDisplay
[Tags] Positive UI Settings DecryptionKeyrings
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
PagingDisplay 50
2021-02-23 16:51:42 +08:00
DecryptionKeyringsIDSortButton
[Tags] Positive UI Settings DecryptionKeyrings
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
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 sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
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 sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
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 sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
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 sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
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 sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
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 sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
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 sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
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 sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[12]/div/span/i Decryption Keyrings
2021-02-23 15:23:23 +08:00
DecryptionKeyringsCreateNameMinSize
[Tags] Boundary UI Settings DecryptionKeyrings
CreateDecryptionKeyrings test ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
DecryptionKeyringsCreateNameMaxSize
[Tags] Boundary UI Settings DecryptionKeyrings
CreateDecryptionKeyrings CreateDecryptionKeyringsNameMaxSizeCreateDecryptionKeyringsNameMaxSizeCreateDecryptionKeyringsNameMaxSizeCreateDecryptionKeyring ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
DecryptionKeyringsNameCreateSpecialChar
[Tags] Boundary UI Settings DecryptionKeyrings
CreateDecryptionKeyrings ВставкаСкриптов!@#$%^&(-+=‘;。,? ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
DeleteKeyrings_del
2021-02-05 17:32:46 +08:00
2021-01-24 22:58:53 +08:00
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
2021-04-23 14:24:07 +08:00
... //*[@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.)
2021-01-24 22:58:53 +08:00
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
2021-04-23 14:24:07 +08:00
... //*[@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.)
2021-01-24 22:58:53 +08:00
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
2021-04-23 14:24:07 +08:00
... //*[@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.)
2021-01-24 22:58:53 +08:00
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
2021-04-23 14:24:07 +08:00
... //*[@id="app"]/following-sibling::div/p Incorrect certificate type
2021-01-24 22:58:53 +08:00
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
2021-04-23 14:24:07 +08:00
... //*[@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.)
2021-01-24 22:58:53 +08:00
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
2021-04-23 14:24:07 +08:00
... //*[@id="app"]/following-sibling::div/p Incorrect certificate type
2021-01-24 22:58:53 +08:00
DecryptionKeyringsNullName
[Tags] Negtive UI Settings DecryptionKeyrings
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
click id=app_create
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-01-24 22:58:53 +08:00
click id=keyringsadd_sub
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-01-24 22:58:53 +08:00
${text1} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[1]/div/div[3]
${text2} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[6]/div/div[2]
${text3} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[7]/div/div[2]
2021-04-14 10:10:48 +08:00
Should Be Equal As Strings ${text1} The length of the name is at most 128 characters and cannot be less than 4 characters
2021-01-24 22:58:53 +08:00
Should Be Equal As Strings ${text2} Type is mandatory.
Should Be Equal As Strings ${text3} Type is mandatory.
DecryptionKeyringsMaxSizeHSM
[Tags] Negtive UI Settings DecryptionKeyrings
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
click id=app_create
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-03-19 17:06:52 +08:00
input id=keyringsadd_name1 DecryptionKeyringsMaxSizeHSM
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-01-24 22:58:53 +08:00
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
2021-03-09 11:03:39 +08:00
sleep ${sleep}
2021-01-24 22:58:53 +08:00
click id=privateHSM
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-01-24 22:58:53 +08:00
input id=keyringsadd_slotid 2147483648
2021-03-09 11:03:39 +08:00
sleep ${sleep}
2021-01-24 22:58:53 +08:00
click id=keyringsadd_sub
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-01-24 22:58:53 +08:00
${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.
DecryptionKeyringsMaxSizeCustomized
[Tags] Negtive UI Settings DecryptionKeyrings
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
click id=app_create
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-03-19 17:06:52 +08:00
input id=keyringsadd_name1 DecryptionKeyringsMaxSizeCustomized
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-01-24 22:58:53 +08:00
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
2021-03-09 11:03:39 +08:00
sleep ${sleep}
2021-01-24 22:58:53 +08:00
click id=privateHSM
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-01-24 22:58:53 +08:00
input id=keyringsadd_slotid 21474836
2021-03-09 11:03:39 +08:00
sleep ${sleep}
2021-01-24 22:58:53 +08:00
click id=keyringsadd_customized
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-01-24 22:58:53 +08:00
input id=reissueExpiryDate 2147483648
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-01-24 22:58:53 +08:00
click id=keyringsadd_sub
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-01-24 22:58:53 +08:00
${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.
2020-12-29 18:32:12 +08:00