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-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
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
2020-12-29 18:32:12 +08:00