1.修改部分关键字的等待方式 2.修改Auditlogs、RolesCase、UsersCase 的部分用例
This commit is contained in:
@@ -261,7 +261,7 @@ AuditLogsIPLibraries
|
||||
CreateIpLibraries Geo Name City Algeria 548488 548452 ${iplist} Longitude=-1 Latitude=12.13
|
||||
EditIpLibraries Geo Name 548488 Longitude=-2 Latitude=12.13
|
||||
DeleteIPLibraries
|
||||
c
|
||||
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p 20
|
||||
AdminOpenPages sidebarsystem_PolicyConfigurationLog sidebarsystem_PolicyConfigurationLog
|
||||
AuditLogsSearch 548488 IP Libraries
|
||||
Wait Until Element Is Enabled xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div 20
|
||||
@@ -343,7 +343,7 @@ AuditLogsTrunPage
|
||||
[Tags] Positive UI Administration AuditLogs
|
||||
AdminOpenPages sidebarsystem_PolicyConfigurationLog sidebarsystem_PolicyConfigurationLog
|
||||
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 last=1 lastxpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/ul/li[8]
|
||||
... //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span last=1 lastxpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/ul/li[last()]
|
||||
|
||||
PagingDisplay
|
||||
[Tags] Positive UI Administration AuditLogs
|
||||
|
||||
@@ -137,6 +137,7 @@ RolesReadOnly
|
||||
Login ${a} 111111
|
||||
sleep 1
|
||||
AdminOpenPages sidebarObjects_ip sidebarObjects_ip Amenu=children2
|
||||
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 ${}
|
||||
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
|
||||
sleep 1
|
||||
${text1} Get Element Attribute id=objectCreate class
|
||||
@@ -243,6 +244,7 @@ RolesNotPoliciesAndSSLDecrptionExcelusionAndPolicyVerfyAndProxyTCPOptionAuthorit
|
||||
sleep 2
|
||||
${text} Get Element Attribute xpath=//*[@id="profile_referenceCount1"]/div/div/div[3] class
|
||||
Should Be Equal As Strings ${text} el-loading-mask
|
||||
Login ${username} ${password}
|
||||
sleep 2
|
||||
AdminOpenPages sidebarsystem_accounts profilesTabs_Profile_Insert
|
||||
RoleSearch ReferenceCountNotShow
|
||||
|
||||
@@ -15,6 +15,8 @@ UsersCreate
|
||||
Login ${a} 111111
|
||||
${text1} get text xpath=//*[@id="children0"]/div/span
|
||||
Should Be Equal As Strings ${text1} Dashboard
|
||||
sleep 1
|
||||
Login ${username} ${password}
|
||||
|
||||
UsersCreateOpenRequiredPasswordChange
|
||||
[Tags] Positive UI Administration Users
|
||||
|
||||
@@ -467,6 +467,7 @@ CreateHijackFiles
|
||||
click ${type} #选择文件类型
|
||||
sleep 2
|
||||
click id=hijackAddOk1 #点击OK
|
||||
Wait Until Element Is Enabled id=hijackAdd 20
|
||||
Settings-Search ${name} ${search} #搜索框的关键字
|
||||
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/span #获取点击后页面文本信息
|
||||
Should Be Equal As Strings ${text1} ${name} #断言
|
||||
@@ -498,7 +499,7 @@ CreateInsertScripts
|
||||
... AND click //span[.="${jstype}"]
|
||||
sleep 1
|
||||
click id=insertAddOk1 #点击OK
|
||||
Sleep 1
|
||||
Wait Until Element Is Enabled id=insertAdd 20
|
||||
Settings-Search ${name} ${search} #搜索框的关键字
|
||||
log psssssssssssssssssssssssssss
|
||||
Sleep 1
|
||||
|
||||
Reference in New Issue
Block a user