1.新增Login Logs页面Case 2.新增LoginLogs页面关键字 3.删除原有的Login logCase

This commit is contained in:
byb11
2021-02-04 14:08:06 +08:00
parent 3a404bc0f2
commit 1c3c444423
3 changed files with 43 additions and 51 deletions

View File

@@ -227,6 +227,21 @@ AuditLogsSearch-NotID
sleep 1
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/i
sleep 2
LoginLogsSearch
[Arguments] ${Operator}
sleep 2
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div/input
sleep 1
click element xpath=/html/body/div/div[1]/div[1]/ul/li[2]
sleep 2
input text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/div/div[2]/div/div/div[3]/div/div/input ${Operator}
sleep 2
click element xpath=/html/body/div/div/div/ul/li/span[contains(text(), "${Operator}")]
sleep 1
click element xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/span/div/i
sleep 2
Login
[Arguments] ${UserName} ${Password}
@@ -335,11 +350,9 @@ AuditLogs-PagingDisplay
${Page1} Evaluate ${quzheng}+${b}
${Page} Set Variable if "${qumo}" != "0" ${Page1} ${qumo}
sleep 1
${text} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[4]/div/ul/li[8]
${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
[Arguments] ${assertxpath} ${asserttext}
${text} Get text xpath=${assertxpath}