由于页面调整,维护自动化代码 原Administrator模块
This commit is contained in:
@@ -37,11 +37,11 @@ EditLDAPServer
|
|||||||
|
|
||||||
LDAPServerClickOn/OffButton
|
LDAPServerClickOn/OffButton
|
||||||
[Tags] Positive UI Administration LDAP Server
|
[Tags] Positive UI Administration LDAP Server
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[5] //*[@id="Administration"]/ul/li[5] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_LadpServer
|
||||||
LDAPServerSearch 613 id
|
LDAPServerSearch 613 id
|
||||||
${text1} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[7]/div/div/span/div class
|
${text1} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[7]/div/div/span/div class
|
||||||
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[7]/div/div/span/div/span
|
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[7]/div/div/span/div/span
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[5] //*[@id="Administration"]/ul/li[5] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_LadpServer
|
||||||
LDAPServerSearch 613 id
|
LDAPServerSearch 613 id
|
||||||
${text2} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[7]/div/div/span/div class
|
${text2} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[7]/div/div/span/div class
|
||||||
Should Not Be Equal ${text1} ${text2}
|
Should Not Be Equal ${text1} ${text2}
|
||||||
@@ -49,21 +49,16 @@ LDAPServerClickOn/OffButton
|
|||||||
|
|
||||||
LDAPServerClickADCAuthenticationButton
|
LDAPServerClickADCAuthenticationButton
|
||||||
[Tags] Positive UI Administration LDAP Server
|
[Tags] Positive UI Administration LDAP Server
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[5] //*[@id="Administration"]/ul/li[5] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_LadpServer
|
||||||
LDAPServerSearch 613 id
|
LDAPServerSearch 613 id
|
||||||
${text1} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[9]/div/div/span/div class
|
${text1} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[9]/div/div/span/div class
|
||||||
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[9]/div/div/span/div/span
|
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[9]/div/div/span/div/span
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[5] //*[@id="Administration"]/ul/li[5] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_LadpServer
|
||||||
LDAPServerSearch 613 id
|
LDAPServerSearch 613 id
|
||||||
${text2} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[9]/div/div/span/div class
|
${text2} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[9]/div/div/span/div class
|
||||||
Should Not Be Equal ${text1} ${text2}
|
Should Not Be Equal ${text1} ${text2}
|
||||||
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[9]/div/div/span/div/span
|
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[9]/div/div/span/div/span
|
||||||
|
|
||||||
LDAPServerPagingDisplay
|
|
||||||
[Tags] Positive UI Administration LDAP Server
|
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[5] //*[@id="Administration"]/ul/li[5] xpath
|
|
||||||
AuditLogs-PagingDisplay 50
|
|
||||||
|
|
||||||
CreateLDAPServerNameMinSize
|
CreateLDAPServerNameMinSize
|
||||||
[Tags] Boundary UI Administration LDAP Server
|
[Tags] Boundary UI Administration LDAP Server
|
||||||
${list} Create List 1234 192.168.40.120 389 cn=root,dc=bifang,dc=com uid dc=bifang,dc=com 111111 21
|
${list} Create List 1234 192.168.40.120 389 cn=root,dc=bifang,dc=com uid dc=bifang,dc=com 111111 21
|
||||||
@@ -140,7 +135,7 @@ CreateLDAPServerErrorPassword
|
|||||||
|
|
||||||
CreateLDAPServerPortExceedMax
|
CreateLDAPServerPortExceedMax
|
||||||
[Tags] Negtive UI Administration LDAP Server
|
[Tags] Negtive UI Administration LDAP Server
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[5] //*[@id="Administration"]/ul/li[5] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_LadpServer
|
||||||
click element id=ldapAdd
|
click element id=ldapAdd
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[1]/input 65536
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[1]/input 65536
|
||||||
|
|||||||
@@ -6,21 +6,16 @@ Library OperatingSystem
|
|||||||
|
|
||||||
LoginLogsSearchOperator
|
LoginLogsSearchOperator
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
UserCreatePage 0000 ${a} 111111 log 30 log superuser
|
UserCreatePage test${a} test${a} 111111 log 30 log English 20 superuser
|
||||||
Login ${a} 111111
|
Login test${a} 111111
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[3] //*[@id="Administration"]/ul/li[3] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_LoginLog
|
||||||
LoginLogsSearch ${a}
|
LoginLogsSearch test${a}
|
||||||
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[6]/div/div/span/span ${a}
|
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[6]/div/div/span/span test${a}
|
||||||
Login ${username} ${password}
|
Login ${username} ${password}
|
||||||
|
|
||||||
LoginLogsPagingDisplay
|
|
||||||
[Tags] Positive UI Administration Login Logs
|
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[3] //*[@id="Administration"]/ul/li[3] xpath
|
|
||||||
AuditLogs-PagingDisplay 100
|
|
||||||
|
|
||||||
LoginLogsAdminTurnPage
|
LoginLogsAdminTurnPage
|
||||||
[Tags] Positive UI Administration Login Logs
|
[Tags] Positive UI Administration Login Logs
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[3] //*[@id="Administration"]/ul/li[3] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_LoginLog
|
||||||
AdminTurnPage //*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/button[1] //*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/span[2]/div/input 2
|
AdminTurnPage //*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/button[1] //*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/span[2]/div/input 2
|
||||||
... //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span 1 //*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/ul/li[last()]
|
... //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span 1 //*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/ul/li[last()]
|
||||||
|
|
||||||
@@ -6,7 +6,7 @@ Library OperatingSystem
|
|||||||
|
|
||||||
EditLoginRestrictionsRestrictionsButton
|
EditLoginRestrictionsRestrictionsButton
|
||||||
[Tags] Positive UI Administration Login Restrictions
|
[Tags] Positive UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
RestrictionsButton open
|
RestrictionsButton open
|
||||||
Assertion-ElementAttributes //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[1]/div/div el-switch is-checked class
|
Assertion-ElementAttributes //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[1]/div/div el-switch is-checked class
|
||||||
RestrictionsButton close
|
RestrictionsButton close
|
||||||
@@ -14,7 +14,7 @@ EditLoginRestrictionsRestrictionsButton
|
|||||||
|
|
||||||
LoginRestrictionsAddIP
|
LoginRestrictionsAddIP
|
||||||
[Tags] Positive UI Administration Login Restrictions
|
[Tags] Positive UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
AddAuthorizedSourceIP 255.145.111.1/24
|
AddAuthorizedSourceIP 255.145.111.1/24
|
||||||
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
|
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
|
||||||
LoginRestrictions-SearchIP 255.145.111.1/24
|
LoginRestrictions-SearchIP 255.145.111.1/24
|
||||||
@@ -22,7 +22,7 @@ LoginRestrictionsAddIP
|
|||||||
|
|
||||||
LoginRestrictionsNotWhitelistLogin
|
LoginRestrictionsNotWhitelistLogin
|
||||||
[Tags] Positive UI Administration Login Restrictions
|
[Tags] Positive UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
RestrictionsButton open
|
RestrictionsButton open
|
||||||
${Whitelist}= LoginRestrictionsObtainSQLIP
|
${Whitelist}= LoginRestrictionsObtainSQLIP
|
||||||
LoginRestrictions-SearchIP 192.168.32.1/24
|
LoginRestrictions-SearchIP 192.168.32.1/24
|
||||||
@@ -33,12 +33,12 @@ LoginRestrictionsNotWhitelistLogin
|
|||||||
UpdataLoginRestrictionsSQLIP ${Whitelist}
|
UpdataLoginRestrictionsSQLIP ${Whitelist}
|
||||||
sleep ${sleep_Wait}
|
sleep ${sleep_Wait}
|
||||||
click element xpath=/html/body/div/div/div[2]/div/div[4]/button
|
click element xpath=/html/body/div/div/div[2]/div/div[4]/button
|
||||||
Wait Until Element Is Enabled id=dashboard ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_dashboard ${sleep_Wait}
|
||||||
Assertion //*[@id="dashboard"]/div/span Dashboard
|
Assertion //*[@id="dashboard"]/div/span VSidebar1_Home1_App0_anonymousComponent-1_dashboard
|
||||||
|
|
||||||
LoginRestrictionsLoginLockout
|
LoginRestrictionsLoginLockout
|
||||||
[Tags] Positive UI Administration Login Restrictions
|
[Tags] Positive UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
RestrictionsButton open
|
RestrictionsButton open
|
||||||
EditMaximumLoginAttemepts 2
|
EditMaximumLoginAttemepts 2
|
||||||
EditLockTime 1
|
EditLockTime 1
|
||||||
@@ -53,80 +53,80 @@ LoginRestrictionsLoginLockout
|
|||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click element xpath=/html/body/div/div/div[2]/div/div[4]/button
|
click element xpath=/html/body/div/div/div[2]/div/div[4]/button
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
Assertion //*[@id="dashboard"]/div/span Dashboard
|
Assertion //*[@id="VSidebar1_Home1_App0_anonymousComponent-1_dashboard"]/div/span[2] Dashboard
|
||||||
|
|
||||||
CloseLoginRestrictionsNotWhitelistLogin
|
CloseLoginRestrictionsNotWhitelistLogin
|
||||||
[Tags] Positive UI Administration Login Restrictions
|
[Tags] Positive UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
RestrictionsButton close
|
RestrictionsButton close
|
||||||
LoginRestrictions-SearchIP 192.168.32.1/24
|
LoginRestrictions-SearchIP 192.168.32.1/24
|
||||||
LoginRestrictions-DeleteIP
|
LoginRestrictions-DeleteIP
|
||||||
Login ${username} ${password}
|
Login ${username} ${password}
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
AddAuthorizedSourceIP 192.168.32.1/24
|
AddAuthorizedSourceIP 192.168.32.1/24
|
||||||
|
|
||||||
MaximumLoginAttemeptsMinimum
|
MaximumLoginAttemeptsMinimum
|
||||||
[Tags] Boundary UI Administration Login Restrictions
|
[Tags] Boundary UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
EditMaximumLoginAttemepts 1
|
EditMaximumLoginAttemepts 1
|
||||||
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
|
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
|
||||||
|
|
||||||
MaximumLoginAttemeptsMax
|
MaximumLoginAttemeptsMax
|
||||||
[Tags] Boundary UI Administration Login Restrictions
|
[Tags] Boundary UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
EditMaximumLoginAttemepts 10
|
EditMaximumLoginAttemepts 10
|
||||||
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
|
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
|
||||||
|
|
||||||
MaximumLoginAttemeptsMax
|
MaximumLockTimeMax
|
||||||
[Tags] Boundary UI Administration Login Restrictions
|
[Tags] Boundary UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
EditLockTime 60
|
EditLockTime 60
|
||||||
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
|
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
|
||||||
|
|
||||||
LoginRestrictionsAddIPExceed255
|
LoginRestrictionsAddIPExceed255
|
||||||
[Tags] Negtive UI Administration Login Restrictions
|
[Tags] Negtive UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
AddAuthorizedSourceIP 255.145.256.1/24
|
AddAuthorizedSourceIP 255.145.256.1/24
|
||||||
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[2]/div/div[1]/div[2]/div[1]/div/div[last()]/div/div[2] Please enter the correct ip address
|
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[2]/div/div[1]/div[2]/div[1]/div/div[last()]/div/div[2] Please enter the correct ip address
|
||||||
|
|
||||||
LoginRestrictionsAddIPNExceed32
|
LoginRestrictionsAddIPNExceed32
|
||||||
[Tags] Negtive UI Administration Login Restrictions
|
[Tags] Negtive UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
AddAuthorizedSourceIP 255.145.255.1/33
|
AddAuthorizedSourceIP 255.145.255.1/33
|
||||||
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[2]/div/div[1]/div[2]/div[1]/div/div[last()]/div/div[2] Please enter the correct ip address
|
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[2]/div/div[1]/div[2]/div[1]/div/div[last()]/div/div[2] Please enter the correct ip address
|
||||||
|
|
||||||
LoginRestrictionsAddIPExists
|
LoginRestrictionsAddIPExists
|
||||||
[Tags] Negtive UI Administration Login Restrictions
|
[Tags] Negtive UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
AddAuthorizedSourceIP 255.145.111.1/24
|
AddAuthorizedSourceIP 255.145.111.1/24
|
||||||
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
|
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
|
||||||
AddAuthorizedSourceIP 255.145.111.1/24
|
AddAuthorizedSourceIP 255.145.111.1/24
|
||||||
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[2]/div/div[1]/div[2]/div[1]/div/div[last()]/div/div[2] Same item already exists
|
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[2]/div/div[1]/div[2]/div[1]/div/div[last()]/div/div[2] Same item already exists
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
LoginRestrictions-SearchIP 255.145.111.1/24
|
LoginRestrictions-SearchIP 255.145.111.1/24
|
||||||
LoginRestrictions-DeleteIP
|
LoginRestrictions-DeleteIP
|
||||||
|
|
||||||
MaximumLoginAttemeptsExceedMax
|
MaximumLoginAttemeptsExceedMax
|
||||||
[Tags] Negtive UI Administration Login Restrictions
|
[Tags] Negtive UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
EditMaximumLoginAttemepts 11
|
EditMaximumLoginAttemepts 11
|
||||||
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[3]/div/div[2] Please enter a value between 1 and 10
|
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[3]/div/div[2] Please enter a value between 1 and 10
|
||||||
|
|
||||||
MaximumLoginAttemeptsExceedMinimum
|
MaximumLoginAttemeptsExceedMinimum
|
||||||
[Tags] Negtive UI Administration Login Restrictions
|
[Tags] Negtive UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
EditMaximumLoginAttemepts 0
|
EditMaximumLoginAttemepts 0
|
||||||
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[3]/div/div[2] Please enter a value between 1 and 10
|
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[3]/div/div[2] Please enter a value between 1 and 10
|
||||||
|
|
||||||
LockTimeExceedMax
|
LockTimeExceedMax
|
||||||
[Tags] Negtive UI Administration Login Restrictions
|
[Tags] Negtive UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
EditLockTime 61
|
EditLockTime 61
|
||||||
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[4]/div/div[2] Please enter a value between 1 and 60
|
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[4]/div/div[2] Please enter a value between 1 and 60
|
||||||
|
|
||||||
LockTimeExceedMinimum
|
LockTimeExceedMinimum
|
||||||
[Tags] Negtive UI Administration Login Restrictions
|
[Tags] Negtive UI Administration Login Restrictions
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[6] //*[@id="Administration"]/ul/li[6] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_Login_Restrictions
|
||||||
EditLockTime 0
|
EditLockTime 0
|
||||||
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[4]/div/div[2] Please enter a value between 1 and 60
|
Assertion //*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[4]/div/div[2] Please enter a value between 1 and 60
|
||||||
|
|
||||||
|
|||||||
@@ -8,33 +8,31 @@ Resource ../../../03-Variable/bifangapivariable.txt
|
|||||||
RolesCreateReadOnly
|
RolesCreateReadOnly
|
||||||
[Tags] Positive UI Administration Roles
|
[Tags] Positive UI Administration Roles
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[1]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
|
||||||
CreateRoles Uizidonghua${a} 自动化测试 ${list}
|
CreateRoles Uizidonghua${a} 自动化测试 ${list}
|
||||||
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles ${sleep_Wait}
|
||||||
RoleSearch Uizidonghua${a}
|
RoleSearch Uizidonghua${a}
|
||||||
RolesVerification //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/div[1]/div/div/ul/li[2]/div/i ReadOnly
|
RolesVerification //*[@id="app"]/div/div[3]/div[2]/div/div/div[5]/div/div[1]/div/div/ul/li[2]/div/i ReadOnly
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
RolesDelete
|
RolesDelete
|
||||||
|
|
||||||
RolesCreateDisable
|
RolesCreateDisable
|
||||||
[Tags] Positive UI Administration Roles
|
[Tags] Positive UI Administration Roles
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[1]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
... //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
CreateRoles Uizidonghua${a} 自动化测试 ${list}
|
CreateRoles Uizidonghua${a} 自动化测试 ${list}
|
||||||
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles ${sleep_Wait}
|
||||||
RoleSearch Uizidonghua${a}
|
RoleSearch Uizidonghua${a}
|
||||||
RolesVerification //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/div[1]/div/div/ul/li[1]/div/i Disable
|
RolesVerification //*[@id="app"]/div/div[3]/div[2]/div/div/div[5]/div/div[1]/div/div/ul/li[2]/div/i Disable
|
||||||
RolesDelete
|
RolesDelete
|
||||||
|
|
||||||
RolesEditName
|
RolesEditName
|
||||||
[Tags] Positive UI Administration Roles
|
[Tags] Positive UI Administration Roles
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[1]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
CreateRoles RolesEditName${a} 自动化测试 ${list}
|
CreateRoles RolesEditName${a} 自动化测试 ${list}
|
||||||
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles ${sleep_Wait}
|
||||||
RoleSearch RolesEditName${a}
|
RoleSearch RolesEditName${a}
|
||||||
Click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
Click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||||
EditRoles name=RolesEditName${a}
|
EditRoles name=RolesEditName${a}
|
||||||
@@ -45,10 +43,9 @@ RolesEditName
|
|||||||
RolesEditDescription
|
RolesEditDescription
|
||||||
[Tags] Positive UI Administration Roles
|
[Tags] Positive UI Administration Roles
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[1]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
|
||||||
CreateRoles RolesEditDescription${a} 自动化测试 ${list}
|
CreateRoles RolesEditDescription${a} 自动化测试 ${list}
|
||||||
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles ${sleep_Wait}
|
||||||
RoleSearch RolesEditDescription${a}
|
RoleSearch RolesEditDescription${a}
|
||||||
Click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
Click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||||
EditRoles description=RolesEditName
|
EditRoles description=RolesEditName
|
||||||
@@ -59,26 +56,20 @@ RolesEditDescription
|
|||||||
RolesEditAuthority
|
RolesEditAuthority
|
||||||
[Tags] Positive UI Administration Roles
|
[Tags] Positive UI Administration Roles
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[1]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
|
||||||
CreateRoles RolesEditAuthority${a} 自动化测试 ${list}
|
CreateRoles RolesEditAuthority${a} 自动化测试 ${list}
|
||||||
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles ${sleep_Wait}
|
||||||
RoleSearch RolesEditAuthority${a}
|
RoleSearch RolesEditAuthority${a}
|
||||||
Click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
Click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||||
EditRoles Authority=1 Authorityxpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[4]/div/i
|
EditRoles Authority=1 Authorityxpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
RoleSearch RolesEditAuthority${a}
|
RoleSearch RolesEditAuthority${a}
|
||||||
RolesVerification //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/div[1]/div/div/ul/li[4]/div/i Disable
|
RolesVerification //*[@id="app"]/div/div[3]/div[2]/div/div/div[5]/div/div[1]/div/div/ul/li[2]/div/i Disable
|
||||||
RolesDelete
|
RolesDelete
|
||||||
|
|
||||||
RolesPagingDisplay
|
|
||||||
[Tags] Positive UI Administration Roles
|
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[1] profilesTabs_Profile_Insert
|
|
||||||
AdministrationPagingDisplay 50
|
|
||||||
|
|
||||||
RolesClickAllButton
|
RolesClickAllButton
|
||||||
[Tags] Positive UI Administration Roles
|
[Tags] Positive UI Administration Roles
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[1] profilesTabs_Profile_Insert
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles
|
||||||
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/label/span[1]/span
|
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/label/span[1]/span
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
${text1} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[3]/td[1]/div/div/span/div/div/label/span[1] class
|
${text1} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[3]/td[1]/div/div/span/div/div/label/span[1] class
|
||||||
${text2} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[4]/td[1]/div/div/span/div/div/label/span[1] class
|
${text2} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[4]/td[1]/div/div/span/div/div/label/span[1] class
|
||||||
@@ -87,7 +78,7 @@ RolesClickAllButton
|
|||||||
|
|
||||||
RolesBuiltinRoleNotDeleteAndEdit
|
RolesBuiltinRoleNotDeleteAndEdit
|
||||||
[Tags] Positive UI Administration Roles
|
[Tags] Positive UI Administration Roles
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[1] profilesTabs_Profile_Insert
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles
|
||||||
RoleSearch superuser
|
RoleSearch superuser
|
||||||
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
@@ -98,16 +89,15 @@ RolesBuiltinRoleNotDeleteAndEdit
|
|||||||
|
|
||||||
RolesCitedDelete
|
RolesCitedDelete
|
||||||
[Tags] Positive UI Administration Roles
|
[Tags] Positive UI Administration Roles
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[1]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
CreateRoles RolesCitedDelete 自动化测试 ${list}
|
CreateRoles RolesCitedDelete 自动化测试 ${list}
|
||||||
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles ${sleep_Wait}
|
||||||
UserCreatePage 0000 ${a} 111111 open 30 close RolesCitedDelete
|
UserCreatePage 0000 ${a} 111111 open 30 close English 20 RolesCitedDelete
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[1] profilesTabs_Profile_Insert
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles
|
||||||
RoleSearch RolesCitedDelete
|
RoleSearch RolesCitedDelete
|
||||||
RolesDelete
|
RolesDelete
|
||||||
Menu administration Accounts
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/system_UserManagement
|
||||||
UserSearchName ${a} UserName
|
UserSearchName ${a} UserName
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
${text} Get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[5]/div/div/span
|
${text} Get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[5]/div/div/span
|
||||||
@@ -115,55 +105,51 @@ RolesCitedDelete
|
|||||||
|
|
||||||
RolesDisable
|
RolesDisable
|
||||||
[Tags] Positive UI Administration Roles
|
[Tags] Positive UI Administration Roles
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[1]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[1]/div/i
|
||||||
CreateRoles RolesDisable 自动化测试 ${list}
|
CreateRoles RolesDisable 自动化测试 ${list}
|
||||||
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles ${sleep_Wait}
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
UserCreatePage 0000 ${a} 111111 log 30 log RolesDisable
|
UserCreatePage 0000 ${a} 111111 log 30 log English 20 RolesDisable
|
||||||
Login ${a} 111111
|
Login ${a} 111111
|
||||||
${text} get text xpath=/html/body/div/div/div[2]/ul/li[1]/div/span
|
${text} get text xpath=/html/body/div[1]/div/div[2]/ul/li[1]/div/span[2]
|
||||||
Should Not Be Equal ${text} Dashboard
|
Should Not Be Equal ${text} Dashboard
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Login ${username} ${password}
|
Login ${username} ${password}
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[1] profilesTabs_Profile_Insert
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles
|
||||||
RoleSearch RolesDisable
|
RoleSearch RolesDisable
|
||||||
RolesDelete
|
RolesDelete
|
||||||
|
|
||||||
RolesReadOnly
|
RolesReadOnly
|
||||||
[Tags] Positive UI Administration Roles
|
[Tags] Positive UI Administration Roles
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[6]/ul/li[2]/ul/li[2]/div/i
|
||||||
${b} evaluate random.randint(1000,9999) random
|
${b} evaluate random.randint(1000,9999) random
|
||||||
CreateRoles RolesReadOnly${b} 自动化测试 ${list}
|
CreateRoles RolesReadOnly${b} 自动化测试 ${list}
|
||||||
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles ${sleep_Wait}
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
UserCreatePage 0000 ${a} 111111 log 30 log RolesReadOnly${b}
|
UserCreatePage 0000 ${a} 111111 log 30 log English 20 RolesReadOnly${b}
|
||||||
Login ${a} 111111
|
Login ${a} 111111
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
AdminOpenPages //*[@id="object"]/ul/li[1] //*[@id="object"]/ul/li[1] xpath Amenu=object
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles
|
||||||
Wait Until Element Is Enabled xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[1]/div/label/span[1]/span ${sleep_Wait}
|
${text} get text xpath=//*[@id="appEdit"]/span/div/div[2]/p[1]
|
||||||
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[1]/div/label/span[1]/span
|
Should Be Equal As Strings ${text} View
|
||||||
sleep ${sleep_min}
|
|
||||||
${text1} Get Element Attribute id=objectCreate class
|
|
||||||
${text2} Get Element Attribute id=objectDel class
|
|
||||||
${text3} get text xpath=//*[@id="objectEdit"]/span/div/div[2]/p[1]
|
|
||||||
Should Be Equal As Strings ${text1} el-button el-button--default el-button--small is-disabled el-dropdown-selfdefine
|
|
||||||
Should Be Equal As Strings ${text2} el-button el-button--default el-button--small is-disabled
|
|
||||||
Should Be Equal As Strings ${text3} View
|
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Login ${username} ${password}
|
Login ${username} ${password}
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[1] profilesTabs_Profile_Insert
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles
|
||||||
RoleSearch RolesReadOnly${b}
|
RoleSearch RolesReadOnly${b}
|
||||||
RolesDelete
|
RolesDelete
|
||||||
|
|
||||||
RolesNotSettingsAuthority
|
RolesNotSettingsAuthority
|
||||||
[Tags] Positive UI Administration Roles
|
[Tags] Positive UI Administration Roles
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[6]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[3]/div/i
|
||||||
CreateRoles RolesNotSettingsAuthority 自动化测试 ${list}
|
CreateRoles RolesNotSettingsAuthority 自动化测试 ${list}
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
UserCreatePage 0000 ${a} 111111 log 30 log RolesNotSettingsAuthority
|
UserCreatePage 0000 ${a} 111111 log 30 log English 20 RolesNotSettingsAuthority
|
||||||
Login ${a} 111111
|
Login ${a} 111111
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
AdminOpenPages //*[@id="policy"]/ul/li[2] //*[@id="policy"]/ul/li[2] xpath Amenu=policy
|
click element id=id="VSidebar1_Home1_App0_anonymousComponent-1_policy"
|
||||||
|
sleep ${sleep}
|
||||||
|
click element id=VSidebar1_Home1_App0_anonymousComponent-1_Objects_ProxyManipulation
|
||||||
|
sleep ${sleep}
|
||||||
click element id=app_create
|
click element id=app_create
|
||||||
Wait Until Element Is Enabled xpath=//*[@id="policy_paper_left"]/div[1]/span ${sleep_Wait}
|
Wait Until Element Is Enabled xpath=//*[@id="policy_paper_left"]/div[1]/span ${sleep_Wait}
|
||||||
click element id=proxyManipulationinsert
|
click element id=proxyManipulationinsert
|
||||||
@@ -178,123 +164,107 @@ RolesNotSettingsAuthority
|
|||||||
click element xpath=/html/body/div/div/div[3]/button[2]
|
click element xpath=/html/body/div/div/div[3]/button[2]
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
Login ${username} ${password}
|
Login ${username} ${password}
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[1] profilesTabs_Profile_Insert
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles
|
||||||
RoleSearch RolesNotSettingsAuthority
|
RoleSearch RolesNotSettingsAuthority
|
||||||
RolesDelete
|
RolesDelete
|
||||||
|
|
||||||
RolesNotPolicies&ObjectsAuthority
|
RolesNotPolicies&ObjectsAuthority
|
||||||
[Tags] Positive UI Administration Roles
|
[Tags] Positive UI Administration Roles
|
||||||
${b} evaluate random.randint(1000,9999) random
|
${b} evaluate random.randint(1000,9999) random
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
|
... //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
CreateRoles RolesNotPolicies&ObjectsAuthority${b} 自动化测试 ${list}
|
CreateRoles RolesNotPolicies&ObjectsAuthority${b} 自动化测试 ${list}
|
||||||
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles ${sleep_Wait}
|
||||||
RoleSearch RolesNotPolicies&ObjectsAuthority${b}
|
|
||||||
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
|
||||||
sleep ${sleep_min}
|
|
||||||
click element id=appEdit
|
|
||||||
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1] ${sleep_Wait}
|
|
||||||
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
|
||||||
sleep ${sleep_min}
|
|
||||||
click element id=rolesOk
|
|
||||||
Wait Until Element Is Enabled id=app_create ${sleep_Wait}
|
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
UserCreatePage 0000 ${a} 111111 log 30 log RolesNotPolicies&ObjectsAuthority${b}
|
UserCreatePage 0000 ${a} 111111 log 30 log English 20 RolesNotPolicies&ObjectsAuthority${b}
|
||||||
Login ${a} 111111
|
Login ${a} 111111
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
AdminOpenPages //*[@id="Log"]/ul/li[1] //*[@id="Log"]/ul/li[1] xpath Amenu=Log
|
click element id=VSidebar1_Home1_App0_anonymousComponent-1_Log
|
||||||
Mouse Over xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[4]/div/p/span/span
|
sleep ${sleep}
|
||||||
|
click element id=VSidebar1_Home1_App0_anonymousComponent-1_Log_SecurityEventLogs
|
||||||
|
sleep ${sleep}
|
||||||
|
Mouse Over xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[4]/div/p/span/span/span
|
||||||
Wait Until Element Is Enabled xpath=/html/body/div[last()]/div[1]/ul/div 10
|
Wait Until Element Is Enabled xpath=/html/body/div[last()]/div[1]/ul/div 10
|
||||||
${text} get text xpath=/html/body/div[last()]/div[1]/ul/div
|
${text} get text xpath=/html/body/div[last()]/div[1]/ul/div
|
||||||
Should Be Equal As Strings ${text} The user does not have the permission to read policies.
|
Should Be Equal As Strings ${text} The user does not have the permission to read policies.
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
Login ${username} ${password}
|
Login ${username} ${password}
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[1] profilesTabs_Profile_Insert
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles
|
||||||
RoleSearch RolesNotPolicies&ObjectsAuthority${b}
|
RoleSearch RolesNotPolicies&ObjectsAuthority${b}
|
||||||
RolesDelete
|
RolesDelete
|
||||||
|
|
||||||
RolesNotPoliciesAndSSLDecrptionExcelusionAndPolicyVerfyAndProxyTCPOptionAuthority
|
RolesNotPoliciesAndSSLDecrptionExcelusionAndPolicyVerfyAndProxyTCPOptionAuthority
|
||||||
[Tags] Positive UI Administration Roles
|
[Tags] Positive UI Administration Roles
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[6]/ul/li[3]/ul/li[3]/div/i
|
... //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[6]/ul/li[4]/div/i
|
... //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[3]/ul/li[3]/ul/li[3]/div/i
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[6]/ul/li[5]/div/i
|
... //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[3]/ul/li[3]/ul/li[3]/div/i
|
||||||
|
... //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[6]/ul/li[1]/ul/li[1]/div/i
|
||||||
|
... //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[3]/ul/li[4]/ul/li[1]/div/i
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
CreateRoles ReferenceCountNotShow${a} 自动化测试 ${list}
|
CreateRoles ReferenceCountNotShow${a} 自动化测试 ${list}
|
||||||
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles ${sleep_Wait}
|
||||||
RoleSearch ReferenceCountNotShow${a}
|
|
||||||
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
|
||||||
sleep ${sleep_min}
|
|
||||||
click element id=appEdit
|
|
||||||
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1] ${sleep_Wait}
|
|
||||||
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
|
||||||
sleep ${sleep_min}
|
|
||||||
Execute Javascript window.scrollTo(0, document.body.scrollHeight)
|
|
||||||
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[6]/ul/li[3]/ul/li[3]/div/i
|
|
||||||
sleep ${sleep_min}
|
|
||||||
click element id=rolesOk
|
|
||||||
Wait Until Element Is Enabled id=app_create ${sleep_Wait}
|
|
||||||
${b} evaluate random.randint(1000,9999) random
|
${b} evaluate random.randint(1000,9999) random
|
||||||
UserCreatePage 0000 ${b} 111111 log 30 log ReferenceCountNotShow${a}
|
UserCreatePage 0000 ${b} 111111 log 30 log English 20 ReferenceCountNotShow${a}
|
||||||
Login ${b} 111111
|
Login ${b} 111111
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
AdminOpenPages //*[@id="Settings"]/ul/li[1] //*[@id="profilesTabs"]/li[1] xpath Amenu=Settings
|
click element id=VSidebar1_Home1_App0_anonymousComponent-1_Profiles
|
||||||
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[1]/input #点击搜索框
|
sleep ${sleep}
|
||||||
|
click element id=VSidebar1_Home1_App0_anonymousComponent-1_Proxy_Profiles/Profile_ResponsePages
|
||||||
|
sleep ${sleep}
|
||||||
|
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[1]/span/div/div/div[2]/div/div/div[1]/input #点击搜索框
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
|
click element xpath=/html/body/div/div[1]/div[1]/ul/li[3]
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input 395
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input 395
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/i
|
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/div[1]/span/div/i
|
||||||
Wait Until Element Is Enabled id=quotefrequency ${sleep_Wait}
|
Wait Until Element Is Enabled id=quotefrequency ${sleep_Wait}
|
||||||
click element id=quotefrequency
|
click element id=quotefrequency
|
||||||
sleep 3
|
sleep 3
|
||||||
Page Should Not Contain byb-自动化测试勿动 #断言该元素未出现
|
Page Should Not Contain byb-自动化测试勿动 #断言该元素未出现
|
||||||
Login ${username} ${password}
|
Login ${username} ${password}
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[1] profilesTabs_Profile_Insert
|
System //*[@id="Administration"]/ul/li[1] VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles
|
||||||
RoleSearch ReferenceCountNotShow${a}
|
RoleSearch ReferenceCountNotShow${a}
|
||||||
RolesDelete
|
RolesDelete
|
||||||
|
|
||||||
RolesCreateNameMinSize
|
RolesCreateNameMinSize
|
||||||
[Tags] Boundary UI Administration Roles
|
[Tags] Boundary UI Administration Roles
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[1]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
|
||||||
CreateRoles qwqe 自动化测试 ${list}
|
CreateRoles qwqe 自动化测试 ${list}
|
||||||
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles ${sleep_Wait}
|
||||||
RoleSearch qwqe
|
RoleSearch qwqe
|
||||||
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/span/span qwqe
|
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/span/span qwqe
|
||||||
RolesDelete
|
RolesDelete
|
||||||
|
|
||||||
RolesCreateNameMaxSize
|
RolesCreateNameMaxSize
|
||||||
[Tags] Boundary UI Administration Roles
|
[Tags] Boundary UI Administration Roles
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[1]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
|
||||||
${b} evaluate random.randint(1000,9999) random
|
${b} evaluate random.randint(1000,9999) random
|
||||||
CreateRoles RolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNam${b} 自动化测试 ${list}
|
CreateRoles RolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNam${b} 自动化测试 ${list}
|
||||||
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles ${sleep_Wait}
|
||||||
RoleSearch RolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNam${b}
|
RoleSearch RolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNam${b}
|
||||||
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/span/span RolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNam${b}
|
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/span/span RolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNameMaxSizeRolesCreateNam${b}
|
||||||
RolesDelete
|
RolesDelete
|
||||||
|
|
||||||
RolesCreateNameSpecialChar
|
RolesCreateNameSpecialChar
|
||||||
[Tags] Boundary UI Administration Roles
|
[Tags] Boundary UI Administration Roles
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[1]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
|
||||||
CreateRoles 中文+absc+моряков+#¥%……&* 自动化测试 ${list}
|
CreateRoles 中文+absc+моряков+#¥%……&* 自动化测试 ${list}
|
||||||
Wait Until Element Is Enabled id=profilesTabs_Profile_Insert ${sleep_Wait}
|
Wait Until Element Is Enabled id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles ${sleep_Wait}
|
||||||
RoleSearch 中文+absc+моряков+#¥%……&*
|
RoleSearch 中文+absc+моряков+#¥%……&*
|
||||||
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/span/span 中文+absc+моряков+#¥%……&*
|
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/span/span 中文+absc+моряков+#¥%……&*
|
||||||
RolesDelete
|
RolesDelete
|
||||||
|
|
||||||
RolesCreateNameDuplicate
|
RolesCreateNameDuplicate
|
||||||
[Tags] Negtive UI Administration Roles
|
[Tags] Negtive UI Administration Roles
|
||||||
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[1]/div/i
|
${list} Create list //*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/ul/li[2]/div/i
|
|
||||||
CreateRoles superuser 自动化测试 ${list}
|
CreateRoles superuser 自动化测试 ${list}
|
||||||
Assertion /html/body/div[last()]/p Duplicate role name.
|
Assertion /html/body/div[last()]/p Duplicate role name.
|
||||||
|
|
||||||
RolesCreateNameNull
|
RolesCreateNameNull
|
||||||
[Tags] Negtive UI Administration Roles
|
[Tags] Negtive UI Administration Roles
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[1] profilesTabs_Profile_Insert
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles
|
||||||
Click element id=app_create
|
Click element id=app_create
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click element id=rolesOk
|
click element id=rolesOk
|
||||||
|
|||||||
@@ -5,15 +5,17 @@ Library OperatingSystem
|
|||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
UsersCreate
|
UsersCreate
|
||||||
[Tags] Positive UI Administration Users
|
[Tags] Positive UI Administration Users
|
||||||
${a} evaluate random.randint(1000,9999) random
|
# ${a} evaluate random.randint(1000,9999) random
|
||||||
UserCreatePage 0000 ${a} 111111 log 30 log superuser
|
# UserCreatePage 0000 ${a} 111111 log 30 log English 20 superuser
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/system_UserManagement
|
||||||
|
${a} Set variable ${8077}
|
||||||
UserSearchName ${a} UserName
|
UserSearchName ${a} UserName
|
||||||
${UserName1} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div
|
${UserName1} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div
|
||||||
Should Be Equal As Strings ${UserName1} ${a}
|
Should Be Equal As Strings ${UserName1} ${a}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Login ${a} 111111
|
Login ${a} 111111
|
||||||
${text1} get text xpath=//*[@id="dashboard"]/div/span
|
${text1} get text xpath=//*[@id="VSidebar1_Home1_App0_anonymousComponent-1_dashboard"]/div/span[2]
|
||||||
Should Be Equal As Strings ${text1} Dashboard
|
Should Be Equal As Strings ${text1} Dashboard
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Login ${username} ${password}
|
Login ${username} ${password}
|
||||||
@@ -21,7 +23,7 @@ UsersCreate
|
|||||||
UsersCreateOpenRequiredPasswordChange
|
UsersCreateOpenRequiredPasswordChange
|
||||||
[Tags] Positive UI Administration Users
|
[Tags] Positive UI Administration Users
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
UserCreatePage 0000 ${a} 111111 open 30 log superuser
|
UserCreatePage 0000 ${a} 111111 open 30 log English 20 superuser
|
||||||
UserSearchName ${a} UserName
|
UserSearchName ${a} UserName
|
||||||
${UserName1} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div
|
${UserName1} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div
|
||||||
Should Be Equal As Strings ${UserName1} ${a}
|
Should Be Equal As Strings ${UserName1} ${a}
|
||||||
@@ -29,16 +31,16 @@ UsersCreateOpenRequiredPasswordChange
|
|||||||
UsersCreateCloseEnableButton
|
UsersCreateCloseEnableButton
|
||||||
[Tags] Positive UI Administration Users
|
[Tags] Positive UI Administration Users
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
UserCreatePage 0000 ${a} 111111 open 30 close superuser
|
UserCreatePage 0000 ${a} 111111 open 30 close English 20 superuser
|
||||||
UserSearchName ${a} UserName
|
UserSearchName ${a} UserName
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
${text} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[13]/div/div/span/div class
|
${text} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[10]/div/div/span/div class
|
||||||
Should Be Equal As Strings ${text} el-switch
|
Should Be Equal As Strings ${text} el-switch
|
||||||
|
|
||||||
UsersCreateRoleSuperReader
|
UsersCreateRoleSuperReader
|
||||||
[Tags] Positive UI Administration Users
|
[Tags] Positive UI Administration Users
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
UserCreatePage 0000 ${a} 111111 open 30 close superreader
|
UserCreatePage 0000 ${a} 111111 open 30 close English 20 superreader
|
||||||
UserSearchName ${a} UserName
|
UserSearchName ${a} UserName
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[5]/div/div
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[5]/div/div
|
||||||
@@ -47,23 +49,23 @@ UsersCreateRoleSuperReader
|
|||||||
UsersCloseEnableButton
|
UsersCloseEnableButton
|
||||||
[Tags] Positive UI Administration Users
|
[Tags] Positive UI Administration Users
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
UserCreatePage 0000 ${a} 111111 log 30 log superuser
|
UserCreatePage 0000 ${a} 111111 log 30 log English 20 superuser
|
||||||
UserSearchName ${a} UserName
|
UserSearchName ${a} UserName
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[13]/div/div/span/div
|
Click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[10]/div/div/span/div
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
${text} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[13]/div/div/span/div class
|
${text} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[10]/div/div/span/div class
|
||||||
Should Be Equal As Strings ${text} el-switch
|
Should Be Equal As Strings ${text} el-switch
|
||||||
|
|
||||||
UsersEdit
|
UsersEdit
|
||||||
[Tags] Positive UI Administration Users
|
[Tags] Positive UI Administration Users
|
||||||
${a} evaluate random.randint(10000,99990) random
|
${a} evaluate random.randint(10000,99990) random
|
||||||
UserCreatePage UsersEdit ${a} 111111 log 30 log superuser
|
UserCreatePage UsersEdit ${a} 111111 log 30 log English 20 superuser
|
||||||
UserSearchName UsersEdit Name
|
UserSearchName UsersEdit Name
|
||||||
UserEdit 1111 close
|
UserEdit 1111 close
|
||||||
Wait Until Element Is Enabled id=userAdd ${sleep_Wait}
|
Wait Until Element Is Enabled id=userAdd ${sleep_Wait}
|
||||||
UserSearchName ${a} UserName
|
UserSearchName ${a} UserName
|
||||||
${text} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[13]/div/div/span/div class
|
${text} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[10]/div/div/span/div class
|
||||||
Should Be Equal As Strings ${text} el-switch
|
Should Be Equal As Strings ${text} el-switch
|
||||||
|
|
||||||
UserTurnPage
|
UserTurnPage
|
||||||
@@ -72,15 +74,10 @@ UserTurnPage
|
|||||||
AdminTurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[4]/div/button[1]
|
AdminTurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[4]/div/button[1]
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[4]/div/span[2]/div/input 2 //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div
|
... //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[4]/div/span[2]/div/input 2 //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div
|
||||||
|
|
||||||
UserSwitchDisplayNumber
|
|
||||||
[Tags] Positive UI Administration Users
|
|
||||||
Menu administration Accounts
|
|
||||||
AdministrationPagingDisplay 50
|
|
||||||
|
|
||||||
UsersCreateNameMinSize
|
UsersCreateNameMinSize
|
||||||
[Tags] Boundary UI Administration Users
|
[Tags] Boundary UI Administration Users
|
||||||
${a} evaluate random.randint(1000,9999) random
|
${a} evaluate random.randint(1000,9999) random
|
||||||
UserCreatePage 1 ${a} 111111 log 30 log superuser
|
UserCreatePage 1 ${a} 111111 log 30 log English 20 superuser
|
||||||
UserSearchName 1 Name
|
UserSearchName 1 Name
|
||||||
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[4]/div/div
|
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[4]/div/div
|
||||||
Should Be Equal As Strings ${name} 1
|
Should Be Equal As Strings ${name} 1
|
||||||
@@ -138,14 +135,13 @@ UsersCreatePasswordDifferent
|
|||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Click element id=userAdd
|
Click element id=userAdd
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Input Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div/input 11
|
Input Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div/input 11
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Input Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div[1]/input 111
|
Input Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div/input 111
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click button xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1]
|
click button xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[2]/button[1]
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div[2]
|
Page Should Contain The two passwords are inconsistent
|
||||||
Should Be Equal As Strings ${text} The two passwords are inconsistent
|
|
||||||
|
|
||||||
UsersCreatePasswordExpirationFormatError
|
UsersCreatePasswordExpirationFormatError
|
||||||
[Tags] Negtive UI Administration Users
|
[Tags] Negtive UI Administration Users
|
||||||
@@ -167,13 +163,8 @@ UsersCreateNull
|
|||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Click element id=userAdd
|
Click element id=userAdd
|
||||||
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1] ${sleep_Wait}
|
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1] ${sleep_Wait}
|
||||||
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1]
|
click element xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[2]/button[1]
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
${text1} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3]
|
Page Should Contain Name field is required.
|
||||||
${text2} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div[3]
|
Page Should Contain Account field is required.
|
||||||
${text3} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]
|
Page Should Contain This item is required
|
||||||
${text4} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div[2]
|
|
||||||
Should Be Equal As Strings ${text1} Name field is required.
|
|
||||||
Should Be Equal As Strings ${text2} Account field is required.
|
|
||||||
Should Be Equal As Strings ${text3} This item is required
|
|
||||||
Should Be Equal As Strings ${text4} This item is required
|
|
||||||
@@ -185,7 +185,7 @@ TrustedCertificateAuthoritiesInportEmptyFile
|
|||||||
|
|
||||||
TrustedCertificateAuthoritiesInportErrorFile
|
TrustedCertificateAuthoritiesInportErrorFile
|
||||||
[Tags] Negtive UI Settings TrustedCertificateAuthorities
|
[Tags] Negtive UI Settings TrustedCertificateAuthorities
|
||||||
UploadFilesSize TrustedCertificateAuthorities InportErrorFile ${path}keyrings//root//Error.pem The uploaded certificate is incorrect !
|
UploadFilesSize TrustedCertificateAuthorities InportErrorFile ${path}keyrings//root//Error.pem The uploaded certificate is incorrect
|
||||||
|
|
||||||
TrustedCertificateAuthoritiesImportDuplicateCertificate
|
TrustedCertificateAuthoritiesImportDuplicateCertificate
|
||||||
[Tags] Negtive UI Settings TrustedCertificateAuthorities
|
[Tags] Negtive UI Settings TrustedCertificateAuthorities
|
||||||
|
|||||||
@@ -7,53 +7,53 @@ Resource ../../../03-Variable/bifangapivariable.txt
|
|||||||
Library DatabaseLibrary
|
Library DatabaseLibrary
|
||||||
|
|
||||||
*** Keywords ***
|
*** Keywords ***
|
||||||
AdminOpenPages
|
System
|
||||||
[Arguments] ${SecondaryMenu} ${Three-levelMenu} ${Targeting}=null ${Amenu}=null
|
[Arguments] ${SecondaryMenu}
|
||||||
[Documentation]
|
[Documentation]
|
||||||
... ${SecondaryMenu}:二级菜单
|
... ${SecondaryMenu}:二级菜单
|
||||||
... ${Three-levelMenu}:三级菜单
|
|
||||||
... ${Targeting} :三级菜单 定位方式 默认不输入为id
|
click element id=VSidebar1_Home1_App0_anonymousComponent-1_System
|
||||||
run keyword if "${Amenu}"=="null" run keywords sleep ${sleep_min}
|
|
||||||
... AND click element id=Administration
|
|
||||||
... ELSE click element id=${Amenu}
|
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click element xpath=${SecondaryMenu}
|
click element id=${SecondaryMenu}
|
||||||
sleep ${sleep_min}
|
|
||||||
run keyword if "${Targeting}"=="null" run keywords sleep ${sleep_min}
|
|
||||||
... AND click element id=${Three-levelMenu}
|
|
||||||
run keyword if "${Targeting}"=="xpath" run keywords sleep ${sleep_min}
|
|
||||||
... AND click element ${Targeting}=${Three-levelMenu}
|
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
|
|
||||||
UserCreatePage
|
UserCreatePage
|
||||||
[Arguments] ${name} ${username} ${accPasswd} ${Required_Password_Change} ${day} ${accEnable} ${role}
|
[Arguments] ${name} ${username} ${accPasswd} ${Required_Password_Change} ${day} ${accEnable} ${Language} ${page} ${role}
|
||||||
Menu administration Accounts
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/system_UserManagement
|
||||||
Wait Until Element Is Enabled id=userAdd 10
|
Wait Until Element Is Enabled id=userAdd 10
|
||||||
Click element id=userAdd
|
Click element id=userAdd
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/label[contains(text(), "Name")]/following-sibling::div/div/input ${name}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div[1]/input ${username}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[2]/div/div[1]/input ${username}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${accPasswd}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div/input ${accPasswd}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div/input ${accPasswd}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[4]/div/div/input ${accPasswd}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
run keyword if "${accEnable}"=="close" run keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div
|
run keyword if "${accEnable}"=="close" run keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[6]/div/div
|
||||||
... AND sleep ${sleep_min}
|
... AND sleep ${sleep_min}
|
||||||
... ELSE log 不操作
|
... ELSE log 不操作
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
run keyword if "${Required_Password_Change}"=="open" Run Keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[5]/div/div
|
run keyword if "${Required_Password_Change}"=="open" Run Keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[5]/div/div
|
||||||
... AND sleep ${sleep_min}
|
... AND sleep ${sleep_min}
|
||||||
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div/input ${day}
|
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[6]/div/div/input ${day}
|
||||||
... ELSE log 不开启密码过期验证
|
... ELSE log 不开启密码过期验证
|
||||||
Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[last()]/div/div/div/span/span/i
|
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[7]/div/div/div/span/span/i
|
||||||
|
sleep ${sleep_min}
|
||||||
|
click element xpath=/html/body/div[2]/div[1]/div[1]/ul/li/span[contains(text(), "${Language}")]
|
||||||
|
sleep ${sleep_min}
|
||||||
|
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[8]/div/div/div/span/span/i
|
||||||
|
sleep ${sleep_min}
|
||||||
|
click element xpath=/html/body/div[3]/div[1]/div[1]/ul/li/span[contains(text(),"${page}")]
|
||||||
|
sleep ${sleep_min}
|
||||||
|
Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[10]/div/div/div[1]/span/span/i
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Execute Javascript window.scrollTo(0, document.body.scrollHeight)
|
Execute Javascript window.scrollTo(0, document.body.scrollHeight)
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click element //span[.="${role}"]
|
click element //span[.="${role}"]
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click button xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1]
|
click element xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[2]/button[1]
|
||||||
Wait Until Element Is Enabled id=userAdd ${sleep_Wait}
|
Wait Until Element Is Enabled id=userAdd ${sleep_Wait}
|
||||||
|
|
||||||
UserCreatePageErrorVerification
|
UserCreatePageErrorVerification
|
||||||
@@ -62,21 +62,21 @@ UserCreatePageErrorVerification
|
|||||||
Wait Until Element Is Enabled id=userAdd 10
|
Wait Until Element Is Enabled id=userAdd 10
|
||||||
Click element id=userAdd
|
Click element id=userAdd
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[2]/div/div[1]/input ${name}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div[1]/input ${username}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div/input ${username}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${accPasswd}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${accPasswd}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div/input ${accPasswd}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[4]/div/div/input ${accPasswd}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
run keyword if "${accEnable}"=="close" run keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div
|
run keyword if "${accEnable}"=="close" run keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[6]/div/div
|
||||||
... AND sleep ${sleep_min}
|
... AND sleep ${sleep_min}
|
||||||
... ELSE log 不操作
|
... ELSE log 不操作
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
run keyword if "${Required_Password_Change}"=="open" Run Keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[5]/div/div
|
run keyword if "${Required_Password_Change}"=="open" Run Keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[5]/div/div
|
||||||
... AND sleep ${sleep_min}
|
... AND sleep ${sleep_min}
|
||||||
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div/input ${day}
|
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[6]/div/div/input ${day}
|
||||||
... ELSE log 不开启密码过期验证
|
... ELSE log 不开启密码过期验证
|
||||||
Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[last()]/div/div/div/span/span/i
|
Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[last()]/div/div/div/span/span/i
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
@@ -84,7 +84,7 @@ UserCreatePageErrorVerification
|
|||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click element //span[.="${role}"]
|
click element //span[.="${role}"]
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click button xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1]
|
click button xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[2]/button[1]
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
|
|
||||||
UserEdit
|
UserEdit
|
||||||
@@ -92,30 +92,30 @@ UserEdit
|
|||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
click element id=userEdit
|
click element id=userEdit
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${password}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[3]/div/div/input ${password}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div/input ${password}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[4]/div/div/input ${password}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
run keyword if "${enable}"=="close" run keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div
|
run keyword if "${enable}"=="close" run keywords click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[6]/div/div
|
||||||
... AND sleep ${sleep_min}
|
... AND sleep ${sleep_min}
|
||||||
... ELSE log 不操作
|
... ELSE log 不操作
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click button xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1]
|
click button xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[2]/button[1]
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
|
|
||||||
UserSearchName
|
UserSearchName
|
||||||
[Arguments] ${name} ${type}
|
[Arguments] ${name} ${type}
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[1]/input
|
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[1]/input
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
run keyword if "${type}"=="Name" run keywords click element xpath=/html/body/div/div[1]/div[1]/ul/li[3]
|
run keyword if "${type}"=="Name" run keywords click element xpath=/html/body/div/div[1]/div[1]/ul/li[3]
|
||||||
... AND sleep ${sleep_min}
|
... AND sleep ${sleep_min}
|
||||||
run keyword if "${type}"=="UserName" run keywords click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
|
run keyword if "${type}"=="UserName" run keywords click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
|
||||||
... AND sleep ${sleep_min}
|
... AND sleep ${sleep_min}
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${name}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${name}
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/i
|
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/i
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
|
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
@@ -127,16 +127,14 @@ CreateRoles
|
|||||||
... ${description}:备注
|
... ${description}:备注
|
||||||
... ${list}:权限定位列表
|
... ${list}:权限定位列表
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Click element id=Administration
|
Click element id=VSidebar1_Home1_App0_anonymousComponent-1_System
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Click element xpath=//*[@id="Administration"]/ul/li[1]
|
Click element id=VSidebar1_Home1_App0_anonymousComponent-1_system_accounts/roles
|
||||||
sleep ${sleep_min}
|
|
||||||
Click element id=profilesTabs_Profile_Insert
|
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Click element id=app_create
|
Click element id=app_create
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name}
|
input text xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div/input ${description}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[2]/div/div/input ${description}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
FOR ${i} IN @{list}
|
FOR ${i} IN @{list}
|
||||||
log ${i}
|
log ${i}
|
||||||
@@ -151,12 +149,12 @@ EditRoles
|
|||||||
[Arguments] ${name}=null ${description}=null ${Authority}=null ${Authorityxpath}=null
|
[Arguments] ${name}=null ${description}=null ${Authority}=null ${Authorityxpath}=null
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click element id=appEdit
|
click element id=appEdit
|
||||||
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1] ${sleep_Wait}
|
Wait Until Element Is Enabled xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${sleep_Wait}
|
||||||
run keyword if "${name}" != "null" run keywords sleep ${sleep_min}
|
run keyword if "${name}" != "null" run keywords sleep ${sleep_min}
|
||||||
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name}
|
... AND input text xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name}
|
||||||
... ELSE log name不修改
|
... ELSE log name不修改
|
||||||
run keyword if "${description}" != "null" run keywords sleep ${sleep_min}
|
run keyword if "${description}" != "null" run keywords sleep ${sleep_min}
|
||||||
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div/input ${description}
|
... AND input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[2]/div/div/input ${description}
|
||||||
... ELSE log description不修改
|
... ELSE log description不修改
|
||||||
run keyword if "${Authority}" != "null" run keywords sleep ${sleep_min}
|
run keyword if "${Authority}" != "null" run keywords sleep ${sleep_min}
|
||||||
... AND click element xpath=${Authorityxpath}
|
... AND click element xpath=${Authorityxpath}
|
||||||
@@ -171,13 +169,13 @@ RolesVerification
|
|||||||
... ${rolexpath}:权限在侧滑框的定位
|
... ${rolexpath}:权限在侧滑框的定位
|
||||||
... ${role} : 权限 (Enable、ReadOnly、Disable)
|
... ${role} : 权限 (Enable、ReadOnly、Disable)
|
||||||
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[3]/div/div/span/span
|
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[3]/div/div/span/span
|
||||||
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div ${sleep_Wait}
|
Wait Until Element Is Enabled xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[5]/div/p ${sleep_Wait}
|
||||||
${text} Get Element Attribute xpath=${rolexpath} class
|
${text} Get Element Attribute xpath=${rolexpath} class
|
||||||
${role} Set Variable if "${role}" == "Enable" iconfont switch_i icon-Rolesenable
|
${role} Set Variable if "${role}" == "Enable" iconfont switch_i icon-Rolesenable
|
||||||
... "${role}" == "ReadOnly" iconfont switch_i icon-Rolesreadonly
|
... "${role}" == "ReadOnly" iconfont switch_i icon-Rolesreadonly
|
||||||
... "${role}" == "Disable" iconfont switch_i icon-Rolesdisable
|
... "${role}" == "Disable" iconfont switch_i icon-Rolesdisable
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[5]/div/div[2]/div/button
|
click element id=permission_cancel
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Should Be Equal As Strings ${text} ${role}
|
Should Be Equal As Strings ${text} ${role}
|
||||||
|
|
||||||
@@ -186,13 +184,13 @@ RoleSearch
|
|||||||
[Documentation] Roles页面搜索功能
|
[Documentation] Roles页面搜索功能
|
||||||
... ${name}:搜索条件name
|
... ${name}:搜索条件name
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[1]/input
|
Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[1]/input
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
|
Click element xpath=/html/body/div[2]/div[1]/div[1]/ul/li[2]
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${name}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div[1]/div[3]/div/input ${name}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[1]/span/div/i
|
Click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/i
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
|
|
||||||
RolesDelete
|
RolesDelete
|
||||||
@@ -279,7 +277,7 @@ CreateLDAPServer
|
|||||||
[Documentation]
|
[Documentation]
|
||||||
... ${Name}:LDAP服务器名称 ${Host}:主机地址 ${Port}:端口号 ${UserName} :用户名 ${UserMapper-prefix}:用户映射左匹配 ${UserMapper-suffix}:用户映射器右匹配
|
... ${Name}:LDAP服务器名称 ${Host}:主机地址 ${Port}:端口号 ${UserName} :用户名 ${UserMapper-prefix}:用户映射左匹配 ${UserMapper-suffix}:用户映射器右匹配
|
||||||
... ${Password}:密码 ${ConnectionTimeout}:链接超时时间 ${Enbale};是否生效默认为关闭(open开启) ${ADCAuthentication}:ADC认证默认关闭(open开启) ${NoOKButton}=1不点击OK按钮
|
... ${Password}:密码 ${ConnectionTimeout}:链接超时时间 ${Enbale};是否生效默认为关闭(open开启) ${ADCAuthentication}:ADC认证默认关闭(open开启) ${NoOKButton}=1不点击OK按钮
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[5] //*[@id="Administration"]/ul/li[5] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_LadpServer
|
||||||
click element id=ldapAdd
|
click element id=ldapAdd
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${list}[0]
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${list}[0]
|
||||||
@@ -380,7 +378,7 @@ LDAPVerificationADC
|
|||||||
[Documentation] 验证name的ADC按钮是否开启,同一个服务ADC只能开启一个
|
[Documentation] 验证name的ADC按钮是否开启,同一个服务ADC只能开启一个
|
||||||
... ${name}:要查询的LDAPServer的名称
|
... ${name}:要查询的LDAPServer的名称
|
||||||
... ${type}:判断开启和关闭(close / open)
|
... ${type}:判断开启和关闭(close / open)
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[5] //*[@id="Administration"]/ul/li[5] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_LadpServer
|
||||||
LDAPServerSearch ${name} name
|
LDAPServerSearch ${name} name
|
||||||
${text} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/span/div class
|
${text} Get Element Attribute xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/span/div class
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
@@ -460,10 +458,8 @@ EditLockTime
|
|||||||
OpenMyAccountPage
|
OpenMyAccountPage
|
||||||
[Documentation] 打开MyAccount侧滑框
|
[Documentation] 打开MyAccount侧滑框
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click element id=user_avator
|
Mouse Hover xpath=//*[@id="app"]/div/div[1]/div[3]/div/span[2]
|
||||||
sleep ${sleep_min}
|
sleep ${sleep}
|
||||||
Mouse Hover xpath=//*[@id="app"]/div/div[1]/div[2]/div/span/div/span
|
|
||||||
Wait Until Element Is Enabled id=editInfo ${sleep_Wait}
|
|
||||||
click element id=editInfo
|
click element id=editInfo
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
|
|
||||||
@@ -474,17 +470,17 @@ EditMyAccount
|
|||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text id=undefined1 ${name}
|
input text id=undefined1 ${name}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=/html/body/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${password}
|
input text xpath=/html/body/div[3]/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${password}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=/html/body/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[4]/div/div/input ${ConfirmPassword}
|
input text xpath=/html/body/div[3]/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[4]/div/div/input ${ConfirmPassword}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
${status} Get Element Attribute xpath=/html/body/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div class
|
${status} Get Element Attribute xpath=/html/body/div[3]/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div class
|
||||||
run keyword if "${RequiredPasswordChange}"=="open" and "${status}"=="el-switch" run keywords sleep ${sleep_min}
|
run keyword if "${RequiredPasswordChange}"=="open" and "${status}"=="el-switch" run keywords sleep ${sleep_min}
|
||||||
... AND click element xpath=/html/body/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div/span
|
... AND click element xpath=/html/body/div[3]/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div/span
|
||||||
... AND sleep ${sleep_min}
|
... AND sleep ${sleep_min}
|
||||||
... AND input text xpath=/html/body/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[6]/div/div/input ${Day}
|
... AND input text xpath=/html/body/div[3]/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[6]/div/div/input ${Day}
|
||||||
run keyword if "${RequiredPasswordChange}"=="close" and "${status}"=="el-switch is-checked" run keywords sleep ${sleep_min}
|
run keyword if "${RequiredPasswordChange}"=="close" and "${status}"=="el-switch is-checked" run keywords sleep ${sleep_min}
|
||||||
... AND click element xpath=/html/body/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div/span
|
... AND click element xpath=/html/body/div[3]/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[9]/div[3]/div/div[1]/span
|
||||||
... ELSE log 不修改密码提醒按钮
|
... ELSE log 不修改密码提醒按钮
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click element id=userOk
|
click element id=userOk
|
||||||
@@ -514,7 +510,7 @@ EditMailServer
|
|||||||
[Arguments] ${server} ${port} ${NeedAuthentication} ${name} ${e-mail} ${password} ${SSL}
|
[Arguments] ${server} ${port} ${NeedAuthentication} ${name} ${e-mail} ${password} ${SSL}
|
||||||
[Documentation]
|
[Documentation]
|
||||||
...
|
...
|
||||||
AdminOpenPages //*[@id="Administration"]/ul/li[4] //*[@id="Administration"]/ul/li[4] xpath
|
System VSidebar1_Home1_App0_anonymousComponent-1_system_MailServer
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div/input ${server}
|
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[1]/div[2]/form/div[1]/div/div/input ${server}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
@@ -543,9 +539,9 @@ EditMailServer
|
|||||||
|
|
||||||
Login
|
Login
|
||||||
[Arguments] ${UserName} ${Password}
|
[Arguments] ${UserName} ${Password}
|
||||||
Mouse Hover xpath=//*[@id="app"]/div/div[1]/div[2]/div/span/div/span
|
Mouse Hover xpath=//*[@id="app"]/div/div[1]/div[3]/div/span[2]
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
click element xpath=//div[@class='SignOut']
|
click element id=SignOut
|
||||||
sleep ${sleep}
|
sleep ${sleep}
|
||||||
input text xpath=//*[@id="app"]/div/div[2]/div/div[2]/div/input ${UserName}
|
input text xpath=//*[@id="app"]/div/div[2]/div/div[2]/div/input ${UserName}
|
||||||
sleep ${sleep_min}
|
sleep ${sleep_min}
|
||||||
@@ -587,72 +583,6 @@ AdminTurnPage
|
|||||||
Should Not Be Equal ${text3} ${text4}
|
Should Not Be Equal ${text3} ${text4}
|
||||||
Should Not Be Equal ${text1} ${text5}
|
Should Not Be Equal ${text1} ${text5}
|
||||||
|
|
||||||
AdministrationPagingDisplay
|
|
||||||
[Arguments] ${Number}
|
|
||||||
[Documentation]
|
|
||||||
... ${Number}: 设置页面显示数据条数 (20、5、30、50、100)
|
|
||||||
... ${last} 次关键字 当最后一页定位和其他页面不同时,传入非null的值
|
|
||||||
... ${lastxpath} 当最后一页定位和其他页面不同时,传入最后一页的xpath 定位
|
|
||||||
Mouse Over xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div/span/span/div/i
|
|
||||||
sleep ${sleep_min}
|
|
||||||
run keyword if "${Number}"=="30" run keywords sleep ${sleep_min}
|
|
||||||
... AND Click element xpath=//*[@id="page-size"]/div/label[2]
|
|
||||||
... ELSE IF "${Number}"=="50" run keywords sleep ${sleep_min}
|
|
||||||
... AND Click element xpath=//*[@id="page-size"]/div/label[3]
|
|
||||||
... ELSE IF "${Number}"=="100" run keywords sleep ${sleep_min}
|
|
||||||
... AND Click element xpath=//*[@id="page-size"]/div/label[4]
|
|
||||||
... ELSE Clear Element Text xpath=/html/body/div[last()]/div[1]/div[2]/input
|
|
||||||
... AND Input Text xpath=/html/body/div[last()]/div[1]/div[2]/input ${Number}
|
|
||||||
sleep ${sleep_min}
|
|
||||||
Click element xpath=/html/body/div[last()]/div[1]/div[2]/button
|
|
||||||
sleep ${sleep}
|
|
||||||
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div[4]/div/span[1]
|
|
||||||
sleep ${sleep_min}
|
|
||||||
${a} Set Variable ${6}
|
|
||||||
${Quantity} StringSegmentation ${text} ${a}
|
|
||||||
sleep ${sleep_min}
|
|
||||||
${quyu} Evaluate ${Quantity}%${Number}
|
|
||||||
${qumo} Evaluate ${Quantity}/${Number}
|
|
||||||
${quzheng} Evaluate int(${qumo})
|
|
||||||
${b} Set Variable ${1}
|
|
||||||
${Page1} Evaluate ${quzheng}+${b}
|
|
||||||
${Page} Set Variable if "${quyu}" != "0" ${Page1} ${quzheng}
|
|
||||||
sleep ${sleep_min}
|
|
||||||
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[2]/div/div/div/div/ul/li[last()]
|
|
||||||
Should Be Equal As Strings ${text} ${Page}
|
|
||||||
|
|
||||||
AuditLogs-PagingDisplay
|
|
||||||
[Arguments] ${Number}
|
|
||||||
[Documentation]
|
|
||||||
... ${Number}: 设置页面显示数据条数 (20、5、30、50、100)
|
|
||||||
Mouse Over xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div/span/span/div/i
|
|
||||||
sleep ${sleep_min}
|
|
||||||
run keyword if "${Number}"=="30" run keywords sleep ${sleep_min}
|
|
||||||
... AND Click element xpath=//*[@id="page-size"]/div/label[2]
|
|
||||||
... ELSE IF "${Number}"=="50" run keywords sleep ${sleep_min}
|
|
||||||
... AND Click element xpath=//*[@id="page-size"]/div/label[3]
|
|
||||||
... ELSE IF "${Number}"=="100" run keywords sleep ${sleep_min}
|
|
||||||
... AND Click element xpath=//*[@id="page-size"]/div/label[4]
|
|
||||||
... ELSE Clear Element Text xpath=/html/body/div[last()]/div[1]/div[2]/input
|
|
||||||
... AND Input Text xpath=/html/body/div[last()]/div[1]/div[2]/input ${Number}
|
|
||||||
sleep ${sleep_min}
|
|
||||||
Click element xpath=/html/body/div[last()]/div[1]/div[2]/button
|
|
||||||
sleep ${sleep}
|
|
||||||
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/span[1]
|
|
||||||
sleep ${sleep_min}
|
|
||||||
${a} Set Variable ${6}
|
|
||||||
${Quantity} StringSegmentation ${text} ${a}
|
|
||||||
sleep ${sleep_min}
|
|
||||||
${quyu} Evaluate ${Quantity}%${Number}
|
|
||||||
${qumo} Evaluate ${Quantity}/${Number}
|
|
||||||
${quzheng} Evaluate int(${qumo})
|
|
||||||
${b} Set Variable ${1}
|
|
||||||
${Page1} Evaluate ${quzheng}+${b}
|
|
||||||
${Page} Set Variable if "${quyu}" != "0" ${Page1} ${quzheng}
|
|
||||||
sleep ${sleep_min}
|
|
||||||
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/ul/li[last()]
|
|
||||||
Should Be Equal As Strings ${text} ${Page}
|
|
||||||
|
|
||||||
Assertion
|
Assertion
|
||||||
[Arguments] ${assertxpath} ${asserttext}
|
[Arguments] ${assertxpath} ${asserttext}
|
||||||
${text} Get text xpath=${assertxpath}
|
${text} Get text xpath=${assertxpath}
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ Password-prompt
|
|||||||
${status} Run Keyword And Return Status Page Should Contain Does the password need to be changed when the password expires? #判断页面是否包含该文本
|
${status} Run Keyword And Return Status Page Should Contain Does the password need to be changed when the password expires? #判断页面是否包含该文本
|
||||||
run keyword if "${status}"=="True" run keywords Password-prompt-true ${passwd} ${day} ${editpasswd}
|
run keyword if "${status}"=="True" run keywords Password-prompt-true ${passwd} ${day} ${editpasswd}
|
||||||
run keyword if "${status}"=="False" log 密码未过期
|
run keyword if "${status}"=="False" log 密码未过期
|
||||||
Wait Until Element Is Visible id=dashboard 20
|
Wait Until Element Is Visible id=VSidebar1_Home1_App0_anonymousComponent-1_dashboard 20
|
||||||
|
|
||||||
Password-prompt-true
|
Password-prompt-true
|
||||||
[Arguments] ${passwd} ${day} ${editpasswd}
|
[Arguments] ${passwd} ${day} ${editpasswd}
|
||||||
|
|||||||
Reference in New Issue
Block a user