1.完善Decryption Keyrings测试用例及关键字 2.新增测试文件 3.修改HSM测试用例

This commit is contained in:
byb11
2021-02-05 17:32:46 +08:00
parent 18b87767c0
commit e9e426f785
5 changed files with 102 additions and 10 deletions

View File

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