1.Packet Capture测试用例补充
This commit is contained in:
@@ -102,39 +102,71 @@ PacketCaptureSearchisValid_Invalid
|
||||
${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}
|
||||
|
||||
PacketCaptureShutDownButton
|
||||
[Tag] Positive UI Settings PacketCapture
|
||||
CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080
|
||||
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
|
||||
${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}
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
|
||||
DeletePacketCapture
|
||||
|
||||
PacketCaptureDeletePacket
|
||||
[Tag] Positive UI Settings PacketCapture
|
||||
CreatePacketCapture PacketCaptureSearchName IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080
|
||||
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
|
||||
click xpath=/html/body/div/div/div[3]/button[2]
|
||||
sleep 1
|
||||
${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]
|
||||
DeletePacketCapture
|
||||
|
||||
PacketCaptureCreateNameMinSize
|
||||
[Tag] Boundary UI IPV4 Settings PacketCapture
|
||||
CreatePacketCapture 1 IPV4 ${testClentIP} TCP Nur-sultan 10 10 80 1.1.1.1 8080
|
||||
CreatePacketCapture 1 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
|
||||
|
||||
PacketCaptureCreateNameMaxSize
|
||||
[Tag] Boundary UI IPV4 Settings PacketCapture
|
||||
CreatePacketCapture PacketCaptureCreateNameMaxSizePacketCaptureCreateNameMaxSizePacketCaptureCreateNameMaxSizePacketCaptureCreateNameMaxSizePacketCa IPV4 ${testClentIP} TCP Nur-sultan 10 10 80 1.1.1.1 8080
|
||||
[Tag] Boundary UI IPV4 Settings PacketCapture
|
||||
CreatePacketCapture PacketCaptureCreateNameMaxSizePacketCaptureCreateNameMaxSizePacketCaptureCreateNameMaxSizePacketCaptureCreateNameMaxSizePacketCa IPV4 ${testClentIP} TCP Pavlodar 10 10 80 1.1.1.1 8080
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
|
||||
DeletePacketCapture
|
||||
|
||||
PacketCaptureCreateNameSpecialChar
|
||||
[Tag] Boundary UI IPV4 Settings PacketCapture
|
||||
CreatePacketCapture 中文+absc+моряков+@#¥%……&* IPV4 ${testClentIP} TCP Nur-sultan 10 10 80 1.1.1.1 8080
|
||||
CreatePacketCapture 中文+absc+моряков+@#¥%……&* IPV4 ${testClentIP} TCP Semey 10 10 80 1.1.1.1 8080
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
|
||||
DeletePacketCapture
|
||||
|
||||
PacketCaptureCreatePortMinSize
|
||||
[Tag] Boundary UI Settings PacketCapture
|
||||
CreatePacketCapture 中文+absc+моряков+@#¥%……&* IPV4 ${testClentIP} TCP Nur-sultan 10 10 1 1.1.1.1 1
|
||||
CreatePacketCapture 中文+absc+моряков+@#¥%……&* IPV4 ${testClentIP} TCP Shymkent 10 10 1 1.1.1.1 1
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
|
||||
DeletePacketCapture
|
||||
|
||||
PacketCaptureCreatePortMaxSize
|
||||
[Tag] Boundary UI Settings PacketCapture
|
||||
CreatePacketCapture 中文+absc+моряков+@#¥%……&* IPV4 ${testClentIP} TCP Nur-sultan 10 10 65535 1.1.1.1 65535
|
||||
CreatePacketCapture 中文+absc+моряков+@#¥%……&* IPV4 ${testClentIP} TCP Taldykurgan 10 10 65535 1.1.1.1 65535
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
|
||||
DeletePacketCapture
|
||||
|
||||
|
||||
|
||||
|
||||
PacketCaptureCreateCapturedNumberAndDurationMinSize
|
||||
[Tag] Boundary UI Settings PacketCapture
|
||||
CreatePacketCapture PacketCaptureCreateCapturedNumberAndDurationMinSize IPV4 ${testClentIP} TCP Taraz 1 0 65535 1.1.1.1 65535
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
|
||||
DeletePacketCapture
|
||||
|
||||
PacketCaptureCreateCapturedNumberAndDurationMaxSize
|
||||
[Tag] Boundary UI Settings PacketCapture
|
||||
CreatePacketCapture PacketCaptureCreateCapturedNumberAndDurationMinSize IPV4 ${testClentIP} TCP Taraz 100000 596523 65535 1.1.1.1 65535
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
|
||||
DeletePacketCapture
|
||||
|
||||
PacketCaptureCreateALLNull
|
||||
[Tag] Negtive UI Settings PacketCapture
|
||||
@@ -162,24 +194,55 @@ PacketCaptureCreateIPFormat
|
||||
${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
|
||||
|
||||
|
||||
PacketCaptureCreatePortFormatError
|
||||
[Tag] Negtive UI Settings PacketCapture
|
||||
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
|
||||
click id=packet_create
|
||||
sleep 1
|
||||
input id=PacketCaptureadd_cliPort 0
|
||||
input id=PacketCaptureadd_serPort 65536
|
||||
click id=packetCaptureAdd_ok
|
||||
sleep 1
|
||||
${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
|
||||
Should Be Equal As Strings ${text1} Port format error
|
||||
|
||||
PacketCaptureCreateTwoEffectiveDeviceso
|
||||
[Tag] Negtive UI Settings PacketCapture
|
||||
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
|
||||
click id=packet_create
|
||||
sleep 1
|
||||
click id=PacketCaptureadd_EDevice
|
||||
sleep 1
|
||||
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
|
||||
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
|
||||
click id=proxyManipulationConditionsAreaSuccess
|
||||
sleep 1
|
||||
${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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
PacketCaptureCreateCapturedNumberFormatError
|
||||
[Tag] Negtive UI Settings PacketCapture
|
||||
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
|
||||
click id=packet_create
|
||||
sleep 1
|
||||
input id=PacketCaptureadd_MaxPacketCapNum 0
|
||||
click id=PacketCaptureadd_cliPort
|
||||
sleep 1
|
||||
${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
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
PacketCaptureCreateCapturedDurationFormatError
|
||||
[Tag] Negtive UI Settings PacketCapture
|
||||
OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert
|
||||
click id=packet_create
|
||||
sleep 1
|
||||
input id=PacketCaptureadd_pcapStorageDay 596524
|
||||
click id=PacketCaptureadd_cliPort
|
||||
sleep 1
|
||||
${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
|
||||
|
||||
Reference in New Issue
Block a user