*** Settings *** Force Tags tsg-ui settings VPN Accounts Resource ../../../03-Variable/bifangapivariable.txt Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot Library OperatingSystem *** Test Cases *** VPNAccountsCreate [Tags] Positive UI Settings VPNAccounts CreateVPNAccounts VPNAccountsCreate_-. 111111 name VPNAccountsDelete VPNAccountsEditPassword [Tags] Positive UI Password Settings VPNAccounts 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 [Tags] Positive UI Password Settings VPNAccounts OpenPages sidebarSetting_Wannat account click xpath=//*[@id="ly-table1-listcontent"]/div[2]/div/div/button[2] sleep 1 ${text1} get text xpath=//*[@id="wannat-table"]/div[3]/table/tbody/tr[1]/td[1]/div/div/div[2]/span click xpath=//*[@id="ly-table1-listcontent"]/div[2]/div/div/button[1] sleep 1 ${text2} get text xpath=//*[@id="wannat-table"]/div[3]/table/tbody/tr[1]/td[1]/div/div/div[2]/span 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 text xpath=//*[@id="wannat-table"]/div[3]/table/tbody/tr[1]/td[1]/div/div/div[2]/span Should Not Be Equal ${text1} ${text2} Should Not Be Equal ${text3} ${text2} Should Not Be Equal ${text3} ${text2} 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