调整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

@@ -137,7 +137,7 @@ PacketCaptureDeletePacket
PacketCaptureCreateNameMinSize
[Tag] Boundary UI IPV4 Settings PacketCapture
CreatePacketCapture 1 IPV4 ${testClentIP} TCP Kyzylorda 10 10 80 1.1.1.1 8080
CreatePacketCapture 1234 IPV4 ${testClentIP} TCP Kyzylorda 10 10 80 1.1.1.1 8080
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
DeletePacketCapture
@@ -187,7 +187,7 @@ PacketCaptureCreateALLNull
${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[1]/div/div[3]
${text2} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[9]/div/div[2]
${text3} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[10]/div/div[2]
Should Be Equal As Strings ${text1} Please enter the content
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 enter the content
Should Be Equal As Strings ${text3} Please enter the content