*** Settings *** Force Tags tsg-ui settings Hijack Files Resource ../../../03-Variable/bifangapivariable.txt Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot Library OperatingSystem *** Test Cases *** PacketCaptureCreateAddressTypeIPV4 [Tag] Positive UI IPV4 Settings PacketCapture CreatePacketCapture PacketCaptureCreateAddressTypeIPV4 IPV4 ${testClentIP} TCP Nur-sultan 10 10 80 1.1.1.1 8080 click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] DeletePacketCapture PacketCaptureCreateAddressTypeIPV6 [Tag] Positive UI IPV6 Settings PacketCapture CreatePacketCapture PacketCaptureCreateAddressTypeIPV6 IPV6 fe80::3cf8:a41c:122a:b3bd TCP Aktau 10 10 click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] DeletePacketCapture PacketCaptureCreateProtocolUDP [Tag] Positive UI UDP Settings PacketCapture CreatePacketCapture PacketCaptureCreateProtocolUDP IPV4 ${testClentIP} UDP Aktubinsk 10 10 80 1.1.1.1 8080 click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] DeletePacketCapture PacketCaptureCreateProtocolAny [Tag] Positive UI UDP Settings PacketCapture CreatePacketCapture PacketCaptureCreateProtocolUDP IPV4 ${testClentIP} Any Almaty 10 10 80 1.1.1.1 8080 click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] DeletePacketCapture PacketCaptureEdit [Tag] Positive UI Settings PacketCapture CreatePacketCapture PacketCaptureCreateProtocolUDP IPV4 ${testClentIP} TCP Atyrau 10 10 80 1.1.1.1 8080 ${ID} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div EditPacketCapture PacketCaptureEditSearchID IPV6 fe80::3cf8:a41c:122a:b3bd UDP Karaganda 20 20 8080 fe80::3cf8:a41c:122a:b3 80 click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] DeletePacketCapture PacketCaptureSearchID [Tag] Positive UI Settings PacketCapture CreatePacketCapture PacketCaptureSearchID IPV4 ${testClentIP} TCP Kostanay 10 10 80 1.1.1.1 8080 ${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 ${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] DeletePacketCapture PacketCaptureSearchName [Tag] Positive UI Settings PacketCapture 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 ${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] DeletePacketCapture PacketCaptureSearchIP [Tag] Positive UI Settings PacketCapture 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 ${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] DeletePacketCapture PacketCaptureSearchPort [Tag] Positive UI Settings PacketCapture 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 ${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] DeletePacketCapture PacketCaptureSearchisValid_Effective [Tag] Positive UI Settings PacketCapture 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 ${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] DeletePacketCapture PacketCaptureSearchisValid_Invalid [Tag] Positive UI Settings PacketCapture OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert PacketCaptureSerch Invalid sleep 1 ${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} PacketCaptureCreateNameMinSize [Tag] Boundary UI IPV4 Settings PacketCapture CreatePacketCapture 1 IPV4 ${testClentIP} TCP Nur-sultan 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 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 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 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 click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1] DeletePacketCapture PacketCaptureCreateALLNull [Tag] Negtive UI Settings PacketCapture OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert click id=packet_create sleep 1 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[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 ${text2} Please enter the content Should Be Equal As Strings ${text3} Please enter the content PacketCaptureCreateIPFormat [Tag] Negtive UI Settings PacketCapture OpenPages sidebarTrouble_shooting Proxy_Profiles_Profile_Insert click id=packet_create sleep 1 input id=PacketCaptureadd_cliIp fe80::3cf8:a41c:122a:b3 sleep 1 click id=packetCaptureAdd_ok sleep 1 ${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