1.完善Decryption Keyrings测试用例及关键字 2.新增测试文件 3.修改HSM测试用例
This commit is contained in:
@@ -7,14 +7,14 @@ Library OperatingSystem
|
||||
|
||||
CreateHSM
|
||||
[Tags] Positive UI Devices HSM
|
||||
CreateHSM ${TEST NAME} ${testClentIP} ${password} Almaty
|
||||
CreateHSM ${TEST NAME} ${testClentIP} 1111111 Almaty
|
||||
Wait Until Element Is Enabled id=insertAdd
|
||||
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span/span ${TEST NAME}
|
||||
DdeleteHSM
|
||||
|
||||
EditteHSM
|
||||
[Tags] Positive UI Devices HSM
|
||||
CreateHSM CreateHSM ${testClentIP} ${password} Almaty
|
||||
CreateHSM CreateHSM ${testClentIP} 1111111 Almaty
|
||||
Wait Until Element Is Enabled id=insertAdd
|
||||
EditHSM ${TEST NAME} 192.168.52.11 123456 Nur-sultan
|
||||
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span/span ${TEST NAME}
|
||||
@@ -27,7 +27,7 @@ HSMPagingDisplay
|
||||
|
||||
CreateHSMNameMinSize
|
||||
[Tags] Boundary UI Devices HSM
|
||||
CreateHSM 1 ${testClentIP} ${password} Almaty
|
||||
CreateHSM 1 ${testClentIP} 1111111 Almaty
|
||||
Wait Until Element Is Enabled id=insertAdd
|
||||
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span/span 1
|
||||
DdeleteHSM
|
||||
@@ -35,7 +35,7 @@ CreateHSMNameMinSize
|
||||
CreateHSMNameMaxSize
|
||||
[Tags] Boundary UI Devices HSM
|
||||
${name} Set Variable CreateHSMNameMaxSizeCreateHSMNameMaxSizeCreateHSMNameMaxSizeCreateHSMNameMaxSizeCreateHSMNameMaxSizeCreateHSMNameMaxSizeCreateHS
|
||||
CreateHSM ${name} ${testClentIP} ${password} Almaty
|
||||
CreateHSM ${name} ${testClentIP} 1111111 Almaty
|
||||
Wait Until Element Is Enabled id=insertAdd
|
||||
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span/span ${name}
|
||||
DdeleteHSM
|
||||
@@ -43,7 +43,7 @@ CreateHSMNameMaxSize
|
||||
CreateHSMNameSpecialChar
|
||||
[Tags] Boundary UI Devices HSM
|
||||
${name} Set Variable 中文+absc+моряков+@#¥%……&*
|
||||
CreateHSM ${name} ${testClentIP} ${password} Almaty
|
||||
CreateHSM ${name} ${testClentIP} 1111111 Almaty
|
||||
Wait Until Element Is Enabled id=insertAdd
|
||||
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span/span ${name}
|
||||
DdeleteHSM
|
||||
@@ -76,13 +76,13 @@ CreateHSMIPFormatError
|
||||
|
||||
CreateHSMIPFormatError
|
||||
[Tags] Negtive UI Devices HSM
|
||||
CreateHSM ${TEST NAME} 192.168.50.256 ${password} Almaty
|
||||
CreateHSM ${TEST NAME} 192.168.50.256 1111111 Almaty
|
||||
Assertion //*[@id="policy_Manipulation_create8"]/div[2]/form/div[3]/div/div[2] IP can only be IPv4 or IPv6
|
||||
|
||||
CreateHSMPasswordFive
|
||||
[Tags] Negtive UI Devices HSM
|
||||
CreateHSM ${TEST NAME} ${testClentIP} 11111 Almaty
|
||||
Assertion //*[@id="policy_Manipulation_create8"]/div[2]/form/div[4]/div/div[2] IP can only be IPv4 or IPv6
|
||||
Assertion //*[@id="policy_Manipulation_create8"]/div[2]/form/div[4]/div/div[2] Only English letters, numbers, underscore _, minus sign -, English dot (.) and its minimum 6 bits, maximum 16 bits.
|
||||
|
||||
CreateHSMPasswordFormatError
|
||||
[Tags] Negtive UI Devices HSM
|
||||
@@ -90,5 +90,3 @@ CreateHSMPasswordFormatError
|
||||
Assertion //*[@id="policy_Manipulation_create8"]/div[2]/form/div[4]/div/div[2] Only English letters, numbers, underscore _, minus sign -, English dot (.) and its minimum 6 bits, maximum 16 bits.
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -115,6 +115,17 @@ 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 sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
|
||||
Settings-Search 1 id
|
||||
EditDefaultCertificate 220
|
||||
Settings-Search 1 id
|
||||
EditDefaultCertificate 240
|
||||
|
||||
|
||||
|
||||
|
||||
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
|
||||
@@ -151,6 +162,21 @@ DecryptionKeyringsTurnPage
|
||||
TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[4]/div/button[1]
|
||||
... //*[@id="app"]/div/div[3]/div[2]/div/div[3]/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
|
||||
|
||||
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
|
||||
|
||||
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}
|
||||
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/p/span ${id}
|
||||
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span ${TEST NAME}
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user