1.主要对IP Librarie页面Case进行修改和增加 2.修增加改关键字
This commit is contained in:
@@ -7,32 +7,74 @@ Library OperatingSystem
|
||||
*** Test Cases ***
|
||||
VPNAccountsCreate
|
||||
[Tags] Positive UI Settings VPNAccounts
|
||||
VPNAccountsCreate VPNAccountsCreate 111111 name
|
||||
VPNAccountsDelete
|
||||
|
||||
VPNAccountsCreateNameMinSize
|
||||
[Tags] Positive UI name Settings VPNAccounts
|
||||
VPNAccountsCreate 1 111111 name
|
||||
VPNAccountsDelete
|
||||
|
||||
VPNAccountsCreateNameMaxSize
|
||||
[Tags] Positive UI name Settings VPNAccounts
|
||||
VPNAccountsCreate VPNAccountsCreateNameMaxSizeVPNAccountsCreateNameMaxSizeCreateVP 111111 name
|
||||
VPNAccountsDelete
|
||||
|
||||
VPNAccountsCreatePasswordMinSize
|
||||
[Tags] Positive UI Password Settings VPNAccounts
|
||||
VPNAccountsCreate VPNAccountsCreateNameMaxSizeVPNAccountsCreateNameMaxSizeCreateVP 1 name
|
||||
VPNAccountsDelete
|
||||
|
||||
VPNAccountsCreatePasswordMaxSize
|
||||
[Tags] Positive UI Password Settings VPNAccounts
|
||||
VPNAccountsCreate VPNAccountsCreateNameMaxSizeVPNAccountsCreateNameMaxSizeCreateVP aaaaaaaa11111111 name
|
||||
CreateVPNAccounts VPNAccountsCreate_-. 111111 name
|
||||
VPNAccountsDelete
|
||||
|
||||
VPNAccountsEditPassword
|
||||
[Tags] Positive UI Password Settings VPNAccounts
|
||||
VPNAccountsCreate EditVPNAccountsName-01 111111 name
|
||||
CreateVPNAccounts EditVPNAccountsName-01 111111 name
|
||||
EditVPNAccounts EditVPNAccountsName-01 222222 name
|
||||
VPNAccountsDelete
|
||||
|
||||
VPNAccountsCreateNameMinSize
|
||||
[Tags] Boundary UI name Settings VPNAccounts
|
||||
CreateVPNAccounts 1 111111 name
|
||||
VPNAccountsDelete
|
||||
|
||||
VPNAccountsCreateNameMaxSize
|
||||
[Tags] Boundary UI name Settings VPNAccounts
|
||||
CreateVPNAccounts VPNAccountsCreateNameMaxSizeVPNAccountsCreateNameMaxSizeCreateVP 111111 name
|
||||
VPNAccountsDelete
|
||||
|
||||
VPNAccountsCreatePasswordMinSize
|
||||
[Tags] Boundary UI Password Settings VPNAccounts
|
||||
CreateVPNAccounts VPNAccountsCreatePasswordMinSize 1 name
|
||||
VPNAccountsDelete
|
||||
|
||||
VPNAccountsCreatePasswordMaxSize
|
||||
[Tags] Boundary UI Password Settings VPNAccounts
|
||||
CreateVPNAccounts VPNAccountsCreateNameMaxSizeVPNAccountsCreateNameMaxSizeCreateVP aaaaaaaa11111111 name
|
||||
VPNAccountsDelete
|
||||
|
||||
VPNAccountsTurnPages
|
||||
OpenPages sidebarSetting_Wannat account
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div[2]/div/div/button[2]
|
||||
sleep 1
|
||||
${text1} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div[2]/div/div/ul/li[2] class
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div[2]/div/div/button[1]
|
||||
sleep 1
|
||||
${text2} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div[2]/div/div/ul/li[1] class
|
||||
Clear Element Text xpath=//*[@id="ly-table1-listcontent"]/div[2]/div/div/span[2]/div/input
|
||||
sleep 2
|
||||
input text xpath=//*[@id="ly-table1-listcontent"]/div[2]/div/div/span[2]/div/input 2
|
||||
sleep 1
|
||||
press keys xpath=//*[@id="ly-table1-listcontent"]/div[2]/div/div/span[2]/div/input ENTER
|
||||
sleep 1
|
||||
${text3} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div[2]/div/div/ul/li[2] class
|
||||
Should Be Equal As Strings ${text1} number active
|
||||
Should Be Equal As Strings ${text2} number active
|
||||
Should Be Equal As Strings ${text3} number active
|
||||
|
||||
VPNAccountsCreateNameSpecialChar
|
||||
[Tags] Negtive UI name Settings VPNAccounts
|
||||
OpenPages sidebarSetting_Wannat account
|
||||
click id=app_create
|
||||
sleep 1
|
||||
input xpath=//*[@id="wannat_vpn_username"]/div/div/div[1]/input 中文+absc+моряков+@#¥%……&*
|
||||
sleep 1
|
||||
click id=wanAdd_ok
|
||||
sleep 1
|
||||
${text} get text xpath=//*[@id="wannat_vpn_username"]/div/div[2]
|
||||
Should Be Equal As Strings ${text} Only English letters, numbers, underscore _, minus sign -, English dot (.)
|
||||
|
||||
VPNAccountsCreateNullNameAndPassword
|
||||
[Tags] Negtive UI name Settings VPNAccounts
|
||||
OpenPages sidebarSetting_Wannat account
|
||||
click id=app_create
|
||||
sleep 1
|
||||
click id=wanAdd_ok
|
||||
sleep 1
|
||||
${text1} get text xpath=//*[@id="wannat_vpn_username"]/div/div[2]
|
||||
${text2} get text xpath=//*[@id="wannat_vpn_password"]/div/div[2]
|
||||
Should Be Equal As Strings ${text1} This item is required
|
||||
Should Be Equal As Strings ${text2} This item is required
|
||||
Reference in New Issue
Block a user