修改关键字ID,修改将等待时间改为提取的关键字

This commit is contained in:
byb11
2021-03-09 11:03:39 +08:00
parent 813738e1e9
commit 6123632b8d
13 changed files with 206 additions and 202 deletions

View File

@@ -35,7 +35,7 @@ PacketCaptureCreateIPInterval
CreatePacketCapture PacketCaptureCreateProtocolUDP IPV4 192.168.50.1-192.168.50.62 Any Almaty 10 10 80 1.1.1.1 8080
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[7]/div/div/div/p/span
Should Be Equal As Strings ${text} 192.168.50.1-192.168.50.62
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
DeletePacketCapture
@@ -53,7 +53,7 @@ PacketCaptureSearchID
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
Settings-Search ${id} id
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div
Should Be Equal As Strings ${id} ${text}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
@@ -64,7 +64,7 @@ PacketCaptureSearchName
CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
Settings-Search PacketCaptureSearchName name
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[4]/div/div/div
Should Be Equal As Strings PacketCaptureSearchName ${text}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
@@ -75,7 +75,7 @@ PacketCaptureSearchIP
CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
Settings-Search ${testClentIP} ip
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[7]/div/div/div
Should Be Equal As Strings ${testClentIP} ${text}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
@@ -86,7 +86,7 @@ PacketCaptureSearchPort
CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
Settings-Search 80 port
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[8]/div/div/div
Should Be Equal As Strings 80-80 ${text}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
@@ -97,7 +97,7 @@ PacketCaptureSearchisValid_Effective
CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
PacketCaptureSerch Effective
sleep 1
sleep ${sleep_min}
${text} Get Element Attribute xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/span/i[2] style
Should Be Equal As Strings color: rgb(232, 123, 108); font-size: 16px; ${text}
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
@@ -107,7 +107,7 @@ PacketCaptureSearchisValid_Invalid
[Tag] Positive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
PacketCaptureSerch Invalid
sleep 1
sleep ${sleep_min}
${text} Get Element Attribute xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/span/i[1] style
Should Be Equal As Strings font-size: 16px; color: rgb(50, 115, 156); ${text}
@@ -127,9 +127,9 @@ PacketCaptureDeletePacket
click xpath=/html/body/div[1]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/span
sleep 3
click id=packetList_del
sleep 1
sleep ${sleep_min}
click xpath=/html/body/div/div/div[3]/button[2]
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[2]/td/div/div[2]
Should Be Equal As Strings ${text} No Data
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
@@ -181,9 +181,9 @@ PacketCaptureCreateALLNull
[Tag] Negtive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
click id=packet_create
sleep 1
sleep ${sleep_min}
click id=packetCaptureAdd_ok
sleep 1
sleep ${sleep_min}
${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]
@@ -195,11 +195,11 @@ PacketCaptureCreateIPFormat
[Tag] Negtive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
click id=packet_create
sleep 1
sleep ${sleep_min}
input id=PacketCaptureadd_cliIp fe80::3cf8:a41c:122a:b3
sleep 1
sleep ${sleep_min}
click id=packetCaptureAdd_ok
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[3]/div/div[2]
Should Be Equal As Strings ${text} IP format error
@@ -207,11 +207,11 @@ PacketCaptureCreatePortFormatError
[Tag] Negtive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
click id=packet_create
sleep 1
sleep ${sleep_min}
input id=PacketCaptureadd_cliPort 0
input id=PacketCaptureadd_serPort 65536
click id=packetCaptureAdd_ok
sleep 1
sleep ${sleep_min}
${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[4]/div/div[2]
${text2} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[1]/div/div[2]/form/div[6]/div/div[2]
Should Be Equal As Strings ${text1} Port format error
@@ -221,15 +221,15 @@ PacketCaptureCreateTwoEffectiveDeviceso
[Tag] Negtive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
click id=packet_create
sleep 1
sleep ${sleep_min}
click id=PacketCaptureadd_EDevice
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="policy_Manipulation_create4"]/div/div[2]/div/div/div/div[1]/div/div/div[1]/div[1]/label/span/span
sleep 1
sleep ${sleep_min}
click xpath=//*[@id="policy_Manipulation_create4"]/div/div[2]/div/div/div/div[1]/div/div/div[2]/div[1]/label/span/span
sleep 1
sleep ${sleep_min}
click id=proxyManipulationConditionsAreaSuccess
sleep 1
sleep ${sleep_min}
${text} get text xpath=/html/body/div[last()]/p
click id=proxyManipulationConditionsAreaCancel
Should Be Equal As Strings ${text} Only one valid device can be selected
@@ -238,10 +238,10 @@ PacketCaptureCreateCapturedNumberFormatError
[Tag] Negtive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
click id=packet_create
sleep 1
sleep ${sleep_min}
input id=PacketCaptureadd_MaxPacketCapNum 0
click id=PacketCaptureadd_cliPort
sleep 1
sleep ${sleep_min}
${text} 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]
Should Be Equal As Strings ${text} maxPacket should be greater than 0 and less than 100000
@@ -249,9 +249,9 @@ PacketCaptureCreateCapturedNumberFormatError
[Tag] Negtive UI Settings PacketCapture
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
click id=packet_create
sleep 1
sleep ${sleep_min}
input id=PacketCaptureadd_pcapStorageDay 596524
click id=PacketCaptureadd_cliPort
sleep 1
sleep ${sleep_min}
${text} 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 ${text} The maximum value of capture duration is 596523 and can only be integers