调整UI自动化代码

This commit is contained in:
byb11
2021-04-14 10:10:48 +08:00
parent 458e0890e3
commit 4f488af824
11 changed files with 24 additions and 22 deletions

View File

@@ -46,7 +46,7 @@ TrafficMirrorProfilesPagingDisplay
TrafficMirrorProfilesCreateNameMinSize
[Tags] Boundary UI vlan Settings TrafficMirrorProfile
CreateTrafficMirrorProfiles 1 xpath=/html/body/div/div[1]/div[1]/ul/li[1] 11 name
CreateTrafficMirrorProfiles 1234 xpath=/html/body/div/div[1]/div[1]/ul/li[1] 11 name
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
DeletetrafficMirrorDel
@@ -109,7 +109,7 @@ TrafficMirrorProfilesNoInput
${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3]
${text2} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div[2]
${text3} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]
Should Be Equal As Strings ${text1} Please enter the name.
Should Be Equal As Strings ${text1} The length of the name is at most 128 characters and cannot be less than 4 characters
Should Be Equal As Strings ${text2} Please select
Should Be Equal As Strings ${text3} Please enter the content