调整UI自动化代码
This commit is contained in:
@@ -271,7 +271,7 @@ DecryptionKeyringsNullName
|
||||
${text1} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[1]/div/div[3]
|
||||
${text2} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[6]/div/div[2]
|
||||
${text3} Get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[7]/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} Type is mandatory.
|
||||
Should Be Equal As Strings ${text3} Type is mandatory.
|
||||
|
||||
|
||||
@@ -532,7 +532,7 @@ DecryptionProfileNameMinSize
|
||||
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
|
||||
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
|
||||
... Allow HTTP/2=1
|
||||
CreateDecryptionProfile 1 name ${dict}
|
||||
CreateDecryptionProfile 2341 name ${dict}
|
||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[2]/div/div/span
|
||||
Delete
|
||||
|
||||
@@ -566,7 +566,8 @@ DecryptionProfileNullname
|
||||
click id=decryption-ok
|
||||
sleep ${sleep_min}
|
||||
${text} get text xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[1]/div/div[3]
|
||||
Should Be Equal As Strings ${text} Please enter the content
|
||||
Should Be Equal As Strings ${text} The length of the name is at most 128 characters and cannot be less than 4 characters
|
||||
|
||||
|
||||
DercryptionProfileVersionLessTLSv1.2
|
||||
[Tags] Negtive UI Settings DecryptionProfile
|
||||
|
||||
@@ -108,7 +108,7 @@ HijackFilesPagingDisplay
|
||||
|
||||
HijackFilesCreateNameMinSize
|
||||
[Tags] Boundary UI Name Settings HijackFile
|
||||
CreateHijackFiles 1 ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
||||
CreateHijackFiles 1234 ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||
DeletehijackDel
|
||||
|
||||
@@ -138,7 +138,7 @@ HijackFilesSpecialFileName
|
||||
|
||||
HijackFilesCreateDownloadNameMinSize
|
||||
[Tags] Boundary UI Name Settings HijackFile
|
||||
CreateHijackFiles 1 ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name close shuru
|
||||
CreateHijackFiles 1234 ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name close shuru
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||
DeletehijackDel
|
||||
|
||||
@@ -179,6 +179,7 @@ HijackFilesCreateNullName
|
||||
sleep ${sleep_min}
|
||||
${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3]
|
||||
${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div[2]
|
||||
Should Be Equal As Strings ${text} Please enter the content
|
||||
Should Be Equal As Strings ${text} The length of the name is at most 128 characters and cannot be less than 4 characters
|
||||
Should Be Equal As Strings ${text1} Please enter the content
|
||||
|
||||
|
||||
@@ -25,7 +25,7 @@ InsertScriptsCreateJsFileAfterLoadInsertOn
|
||||
|
||||
InsertScriptsCreateNameMinSize
|
||||
[Tags] Boundary UI Name Settings InsertScript
|
||||
CreateInsertScripts 1 ${path}insert_files\\Create-Insert Scripts-test.css css name
|
||||
CreateInsertScripts 1234 ${path}insert_files\\Create-Insert Scripts-test.css css name
|
||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||
Delete
|
||||
|
||||
@@ -47,7 +47,7 @@ InsertScriptsEditSearchId
|
||||
|
||||
InsertScriptsEditSearchName
|
||||
[Tags] Positive UI Settings InsertScript
|
||||
CreateInsertScripts 1 ${path}insert_files\\Create-Insert Scripts-test.css css name
|
||||
CreateInsertScripts 1234 ${path}insert_files\\Create-Insert Scripts-test.css css name
|
||||
${name} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||
EditInsertScripts ${name} lyf-Edit-test-008 ${path}insert_files\\Create-Insert_Scripts-test.js js name
|
||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||
@@ -105,7 +105,7 @@ InsertScriptsUploadExceed20MFile
|
||||
|
||||
InsertScriptsFileTypeDoesNotMatch
|
||||
[Tags] Negtive UI Settings InsertScript
|
||||
UploadFilesSize InsertScripts InsertScriptsFileTypeDoesNotMatch ${path}insert_files\\Create-Insert_Scripts-test.js The data in the uploaded file is empty or in the wrong format
|
||||
UploadFilesSize InsertScripts InsertScriptsFileTypeDoesNotMatch ${path}insert_files\\Create-Insert_Scripts-test.js The length of the name is at most 128 characters and cannot be less than 4 characters
|
||||
|
||||
InsertScritsCreateNullName
|
||||
[Tags] Negtive UI Settings InsertScrit
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ ResponsePagesPagingDisplay
|
||||
|
||||
ResponsePagesCreateNameMinSize
|
||||
[Tags] Boundary UI name Settings ResponsePage
|
||||
CreateResponsePages 1 ${path}response_pages_files\\Create-Response_Pages-test-2.htm name
|
||||
CreateResponsePages 1234 ${path}response_pages_files\\Create-Response_Pages-test-2.htm name
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
|
||||
DeleteresinseDel
|
||||
|
||||
@@ -96,7 +96,7 @@ ResponsePagesCreateNullNames
|
||||
click id=responseAddOk1
|
||||
sleep ${sleep_min}
|
||||
${text} get text xpath=//*[@id="policy_Manipulation_create6"]/div[2]/form/div[1]/div/div[3]
|
||||
Should Be Equal As Strings ${text} Please enter the content
|
||||
Should Be Equal As Strings ${text} The length of the name is at most 128 characters and cannot be less than 4 characters
|
||||
|
||||
ResponsePageUploadNullFile
|
||||
[Tags] Negtive UI File Settings ResponsePages
|
||||
|
||||
@@ -88,8 +88,8 @@ SNATIPPoolsPagingDisplay
|
||||
CreateSNATIPPoolsNameMinSize
|
||||
[Tags] Boundary UI name Settings SNATIPPools
|
||||
${iplist} create list 192.168.50.35
|
||||
CreateSNATIPPools 1 1 ${iplist}
|
||||
SNATIPDelete 1 Name
|
||||
CreateSNATIPPools 1234 1 ${iplist}
|
||||
SNATIPDelete 1234 Name
|
||||
|
||||
CreateSNATIPPoolsNameMaxSize
|
||||
[Tags] Boundary UI name Settings SNATIPPools
|
||||
@@ -111,7 +111,7 @@ CreateSNATIPPoolsNameNull
|
||||
click id=wanAdd_ok
|
||||
sleep ${sleep_min}
|
||||
${text} Get Text xpath=//*[@id="wannat_vpn_color"]/form/div[1]/div/div[2]
|
||||
Should Be Equal As Strings ${text} This item is required
|
||||
Should Be Equal As Strings ${text} The length of the name is at most 128 characters and cannot be less than 4 characters
|
||||
|
||||
CreateSNATIPPoolsIpFormatError
|
||||
[Tags] Negtive UI Settings SNATIPPools
|
||||
|
||||
@@ -57,7 +57,7 @@ SSLDecryptionCreateFQDNMaxSize
|
||||
|
||||
SSLDecryptionExclusionFQDNThreeCharacters
|
||||
[Tags] Negtive UI Settings SSLDecryptionExclusion
|
||||
CreateSSLDecryptionExclusionErrorVerification *te test //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[1]/div/div[3] Content length is less than 4
|
||||
CreateSSLDecryptionExclusionErrorVerification *te test //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[1]/div/div[3] The length of the name is at most 128 characters and cannot be less than 4 characters
|
||||
|
||||
SSLDecryptionExclusionFQDN65Characters
|
||||
[Tags] Negtive UI Settings SSLDecryptionExclusion
|
||||
@@ -80,6 +80,6 @@ SSLDecryptionExclusionNullDescriptionAndFQDN
|
||||
sleep ${sleep}
|
||||
${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[1]/div/div[3]
|
||||
${text2} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[2]/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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -169,7 +169,7 @@ TrustedCertificateAuthoritiesCreateNameThreeCharacters
|
||||
click id=authoritiesAdd_sub
|
||||
sleep ${sleep_min}
|
||||
${text} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[1]/div/div[3]
|
||||
Should Be Equal As Strings ${text} Content length is less than 4
|
||||
Should Be Equal As Strings ${text} The length of the name is at most 128 characters and cannot be less than 4 characters
|
||||
|
||||
TrustedCertificateAuthoritiesInportEntityCertificate
|
||||
[Tags] Negtive UI Settings TrustedCertificateAuthorities
|
||||
|
||||
@@ -73,5 +73,5 @@ VPNAccountsCreateNullNameAndPassword
|
||||
sleep ${sleep_min}
|
||||
${text1} get text xpath=//*[@id="wannat_vpn_username"]/div/div[2]
|
||||
${text2} get text xpath=//*[@id="wannat_vpn_password"]/div/div[2]
|
||||
Should Be Equal As Strings ${text1} This item is required
|
||||
Should Be Equal As Strings ${text1} The name can be up to 64 characters in length and cannot be empty
|
||||
Should Be Equal As Strings ${text2} This item is required
|
||||
Reference in New Issue
Block a user