上传Administrator模块自动化关键字及用例修改

This commit is contained in:
byb11
2021-04-22 15:05:42 +08:00
parent 796f17d24f
commit b1a4aeba09
5 changed files with 37 additions and 37 deletions

View File

@@ -38,11 +38,11 @@ EditLDAPServer
LDAPServerClickOn/OffButton
[Tags] Positive UI Administration LDAP Server
AdminOpenPages sidebarsystem_LadpServer sidebarsystem_LadpServer
LDAPServerSearch 9 id
LDAPServerSearch 1 id
${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
AdminOpenPages sidebarsystem_LadpServer sidebarsystem_LadpServer
LDAPServerSearch 9 id
LDAPServerSearch 1 id
${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}
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[7]/div/div/span/div/span
@@ -50,11 +50,11 @@ LDAPServerClickOn/OffButton
LDAPServerClickADCAuthenticationButton
[Tags] Positive UI Administration LDAP Server
AdminOpenPages sidebarsystem_LadpServer sidebarsystem_LadpServer
LDAPServerSearch 9 id
LDAPServerSearch 1 id
${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
AdminOpenPages sidebarsystem_LadpServer sidebarsystem_LadpServer
LDAPServerSearch 9 id
LDAPServerSearch 1 id
${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}
click element xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[9]/div/div/span/div/span
@@ -66,10 +66,10 @@ LDAPServerPagingDisplay
CreateLDAPServerNameMinSize
[Tags] Boundary UI Administration LDAP Server
${list} Create List 1 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
CreateLDAPServer ${list}
LDAPServerSearch 1 name
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span/span 1
LDAPServerSearch 1234 name
Assertion //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span/span 1234
DeleteLDAPServer
CreateLDAPServerNameMaxSize