1.新增Case,修改用例命名规则 2. 修改关键字
This commit is contained in:
@@ -5,62 +5,362 @@ Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
|||||||
Library OperatingSystem
|
Library OperatingSystem
|
||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
CreateDecryptionProfileNameMinSize
|
DecryptionProfilesCreateFail-close
|
||||||
[Tags] PositiveTestCase name Settings DecryptionProfile
|
[Tags] Positive UI name Settings DecryptionProfile
|
||||||
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
|
${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
|
... 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
|
... Allow HTTP/2=1
|
||||||
CreateDecryptionProfile 1 name ${dict}
|
CreateDecryptionProfile DecryptionProfilesCreateFail-close name ${dict} fail1=Fail-close
|
||||||
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
|
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
|
Delete
|
||||||
|
|
||||||
CreateDecryptionProfileNameMaxSize
|
DecryptionProfilesCreatePass-through
|
||||||
[Tags] PositiveTestCase name Settings DecryptionProfile
|
[Tags] Positive UI name Settings DecryptionProfile
|
||||||
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
|
${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
|
... 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
|
... Allow HTTP/2=1
|
||||||
CreateDecryptionProfile CreateDecryptionProfileNameMaxSizeCreateDecryptionProfileNameMaxSizeCreateDecryptionProfileNameMaxSizeCreateDecryptionProfileNam name ${dict}
|
CreateDecryptionProfile DecryptionProfilesCreatePass-through name ${dict} fail1=Pass-through
|
||||||
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
|
|
||||||
|
|
||||||
CreateDecryptionProfileAllOpen
|
|
||||||
[Tags] PositiveTestCase AllOpen Settings DecryptionProfile
|
|
||||||
${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 lyf-test-1 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
|
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
|
Delete
|
||||||
|
|
||||||
CreateDecryptionProfileAllClose
|
DercryptionProfileOpen1
|
||||||
[Tags] PositiveTestCase AllClose Settings DecryptionProfile
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0e
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
... Allow HTTP/2=0
|
... Allow HTTP/2=0
|
||||||
CreateDecryptionProfile lyf-test-2 name ${dict}
|
CreateDecryptionProfile DercryptionProfile 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
|
Sleep 1
|
||||||
Delete
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=1 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileOpen2
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
CreateDecryptionProfile DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
CreateDecryptionProfileFail-closeAllOpen
|
DercryptionProfileOpen3
|
||||||
[Tags] PositiveTestCase AllOpen Fail-close Settings DecryptionProfile
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
CreateDecryptionProfile DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileOpen4
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
CreateDecryptionProfile DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileOpen5
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
CreateDecryptionProfile DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileOpen6
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
CreateDecryptionProfile DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
|
||||||
|
... Certificate Transparency=1 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileOpen7
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
CreateDecryptionProfile DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} 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=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileOpen8
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
CreateDecryptionProfile DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} 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=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileOpen9
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
CreateDecryptionProfile DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} 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=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileOpen10
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
CreateDecryptionProfile DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} 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=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileOpen11
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
CreateDecryptionProfile DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} 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=0
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileOpen12
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
CreateDecryptionProfile DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} 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
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileClose1
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
|
${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
|
... 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
|
... Allow HTTP/2=1
|
||||||
CreateDecryptionProfile lyf-test-3 name ${dict} fail1=Fail-close
|
CreateDecryptionProfile DercryptionProfile 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
|
Sleep 1
|
||||||
Delete
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=0 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
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
CreateDecryptionProfilePass-throughAllOpen
|
DercryptionProfileClose2
|
||||||
[Tags] PositiveTestCase AllOpen Pass-through Settings DecryptionProfile
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
|
${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
|
... 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
|
... Allow HTTP/2=1
|
||||||
CreateDecryptionProfile lyf-test-3 name ${dict} fail1=Pass-through
|
CreateDecryptionProfile DercryptionProfile 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
|
Sleep 1
|
||||||
Delete
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=0 Issuer=0 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
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
CreateDecryptionProfileAllCloseSSLv3.0
|
DercryptionProfileClose3
|
||||||
[Tags] PositiveTestCase AllClose SSLv3.0 Settings DecryptionProfile
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${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 DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 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
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileClose4
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${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 DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 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
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileClose5
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${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 DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... 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
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileClose6
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${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 DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileClose7
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${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 DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileClose8
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${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 DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileClose9
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${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 DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=1 Mirror Client Versions=1
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileClose10
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${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 DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=1
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileClose11
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${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 DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=1
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DercryptionProfileClose12
|
||||||
|
[Tags] Positive UI ID Settings DecryptionProfile
|
||||||
|
${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 DercryptionProfile name ${dict}
|
||||||
|
Sleep 1
|
||||||
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
|
... Allow HTTP/2=0
|
||||||
|
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1}
|
||||||
|
|
||||||
|
DecryptionProfileAllCloseSSLv3.0
|
||||||
|
[Tags] Positive UI SSLv3.0 Settings DecryptionProfile
|
||||||
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
... Allow HTTP/2=0
|
... Allow HTTP/2=0
|
||||||
@@ -68,8 +368,8 @@ CreateDecryptionProfileAllCloseSSLv3.0
|
|||||||
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
|
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
|
Delete
|
||||||
|
|
||||||
CreateDecryptionProfileAllCloseTLSv1.0
|
DecryptionProfileAllCloseTLSv1.0
|
||||||
[Tags] PositiveTestCase AllClose TLSv1.0 Settings DecryptionProfile
|
[Tags] Positive UI TLSv1.0 Settings DecryptionProfile
|
||||||
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
... Allow HTTP/2=0
|
... Allow HTTP/2=0
|
||||||
@@ -77,8 +377,8 @@ CreateDecryptionProfileAllCloseTLSv1.0
|
|||||||
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
|
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
|
Delete
|
||||||
|
|
||||||
CreateDecryptionProfileAllCloseTLSv1.1
|
DecryptionProfileAllCloseTLSv1.1
|
||||||
[Tags] PositiveTestCase AllClose TLSv1.1 Settings DecryptionProfile
|
[Tags] Positive UI TLSv1.1 Settings DecryptionProfile
|
||||||
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
... Allow HTTP/2=0
|
... Allow HTTP/2=0
|
||||||
@@ -86,8 +386,8 @@ CreateDecryptionProfileAllCloseTLSv1.1
|
|||||||
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
|
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
|
Delete
|
||||||
|
|
||||||
CreateDecryptionProfileAllCloseTLSv1.2
|
DecryptionProfileAllCloseTLSv1.2
|
||||||
[Tags] PositiveTestCase AllClose TLSv1.2 Settings DecryptionProfile
|
[Tags] Positive UI TLSv1.2 Settings DecryptionProfile
|
||||||
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
... Allow HTTP/2=0
|
... Allow HTTP/2=0
|
||||||
@@ -95,8 +395,8 @@ CreateDecryptionProfileAllCloseTLSv1.2
|
|||||||
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
|
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
|
Delete
|
||||||
|
|
||||||
CreateDecryptionProfileAllCloseTLSv1.3
|
DecryptionProfileAllCloseTLSv1.3
|
||||||
[Tags] PositiveTestCase AllClose TLSv1.3 Settings DecryptionProfile
|
[Tags] Positive UI TLSv1.3 Settings DecryptionProfile
|
||||||
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
||||||
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
||||||
... Allow HTTP/2=0
|
... Allow HTTP/2=0
|
||||||
@@ -104,72 +404,89 @@ CreateDecryptionProfileAllCloseTLSv1.3
|
|||||||
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
|
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
|
Delete
|
||||||
|
|
||||||
CreateDecryptionProfileCertCKSAllClose
|
|
||||||
[Tags] PositiveTestCase Settings DecryptionProfile
|
DecryptionProfileNameMinSize
|
||||||
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
[Tags] Boundary UI name Settings DecryptionProfile
|
||||||
... Certificate Transparency=0 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=0 Mirror Client Versions=1
|
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
|
||||||
... Allow HTTP/2=1
|
|
||||||
CreateDecryptionProfile lyf-test-10 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
|
|
||||||
|
|
||||||
CreateDecryptionProfileFail-close
|
|
||||||
[Tags] PositiveTestCase Fail-close Settings DecryptionProfile
|
|
||||||
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=0
|
|
||||||
... Certificate Transparency=0 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=0 Mirror Client Versions=1
|
|
||||||
... Allow HTTP/2=1
|
|
||||||
CreateDecryptionProfile lyf-test-11 name ${dict} fail1=Fail-close
|
|
||||||
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
|
|
||||||
|
|
||||||
CreateDecryptionProfilePass-through
|
|
||||||
[Tags] PositiveTestCase Pass-through Settings DecryptionProfile
|
|
||||||
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=0
|
|
||||||
... Certificate Transparency=0 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=0 Mirror Client Versions=1
|
|
||||||
... Allow HTTP/2=1
|
|
||||||
CreateDecryptionProfile lyf-test-12 name ${dict} fail1=Pass-through
|
|
||||||
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
|
|
||||||
|
|
||||||
CreateDecryptionProfileCertCKSCloseDBAndPVOpen
|
|
||||||
[Tags] PositiveTestCase Settings DecryptionProfile
|
|
||||||
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=1
|
|
||||||
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=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
|
... Allow HTTP/2=1
|
||||||
CreateDecryptionProfile lyf-test-13 name ${dict}
|
CreateDecryptionProfile 1 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
|
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
|
Delete
|
||||||
|
|
||||||
CreateDecryptionProfileProtocolVersionOpen
|
DecryptionProfileNameMaxSize
|
||||||
[Tags] PositiveTestCase Settings DecryptionProfile
|
[Tags] Boundary UI name Settings DecryptionProfile
|
||||||
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
|
||||||
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=1
|
|
||||||
... Allow HTTP/2=1
|
|
||||||
CreateDecryptionProfile lyf-test-14 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
|
|
||||||
|
|
||||||
CreateDecryptionProfileAllowHTTP/2Open
|
|
||||||
[Tags] PositiveTestCase Settings DecryptionProfile
|
|
||||||
${dict} Create Dictionary Common Name=0 Issuer=0 Self-signed=0 Expiry Date=0 EV Certificat=0
|
|
||||||
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
|
||||||
... Allow HTTP/2=1
|
|
||||||
CreateDecryptionProfile lyf-test-15 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
|
|
||||||
|
|
||||||
EditDercryptionProfileSearchID
|
|
||||||
[Tags] PositiveTestCase ID Settings DecryptionProfile
|
|
||||||
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
|
${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=0
|
... Certificate Transparency=1 Mutual Authentication=1 On Protocol Errors=1 Certificate Pinning=1 Certificate Not Installed=1 Mirror Client Versions=1
|
||||||
... Allow HTTP/2=0
|
... Allow HTTP/2=1
|
||||||
CreateDecryptionProfile lyf-test-16 name ${dict} fail1=Pass-through min1=SSLv3.0 max1=SSLv3.0
|
CreateDecryptionProfile DecryptionProfileNameMaxSizeDecryptionProfileNameMaxSizeDecryptionProfileNameMaxSizeDecryptionProfileNameMaxSizeDecryptionProfil name ${dict}
|
||||||
Sleep 1
|
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
|
||||||
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
Delete
|
||||||
|
|
||||||
|
DecryptionProfileNameSpecialChar
|
||||||
|
[Tags] Boundary UI name Settings DecryptionProfile
|
||||||
|
${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 中文+absc+моряков+@#¥%……&* 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
|
||||||
|
|
||||||
|
DecryptionProfileNamePagesTurnPage
|
||||||
|
[Tags] Positive UI Settings DecryptionProfile
|
||||||
|
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_DecryptionProfile
|
||||||
|
TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[4]/div/button[1] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[4]/div/span[2]/div/input 2
|
||||||
|
|
||||||
|
DecryptionProfileDeleteReferencedData
|
||||||
|
[Tags] Negtive UI Settings DecryptionProfile
|
||||||
|
DeleteReferencedData DecryptionProfile sidebarProxy_Profiles 641 The referenced data are not allowed to disable or delete Three-level menu=profilesTabs_Profile_DecryptionProfile
|
||||||
|
|
||||||
|
DecryptionProfileNullname
|
||||||
|
[Tags] Negtive UI Settings DecryptionProfile
|
||||||
|
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_DecryptionProfile
|
||||||
|
click id=insertAdd
|
||||||
sleep 1
|
sleep 1
|
||||||
${dict1} Create Dictionary Common Name=0 Issuer=0 Self-signed=1 Expiry Date=1 EV Certificat=0
|
click id=decryption-ok
|
||||||
... Certificate Transparency=0 Mutual Authentication=0 On Protocol Errors=0 Certificate Pinning=0 Certificate Not Installed=0 Mirror Client Versions=0
|
sleep 1
|
||||||
... Allow HTTP/2=0
|
${text} get text xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[1]/div/div[3]
|
||||||
EditDecryptionProfile ${id} EditDercryptionProfile id ${dict1} fail1=Fail-close min1=TLSv1.2
|
Should Be Equal As Strings ${text} Please enter the content
|
||||||
... max1=TLSv1.2
|
|
||||||
|
DercryptionProfileVersionLessTLSv1.2
|
||||||
|
[Tags] Negtive UI Settings DecryptionProfile
|
||||||
|
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_DecryptionProfile
|
||||||
|
Sleep 1
|
||||||
|
click id=insertAdd
|
||||||
|
sleep 1
|
||||||
|
input id=insert_profileName DercryptionProfileVersionLessTLSv1.2
|
||||||
|
sleep 1
|
||||||
|
click xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[7]/div[1]/div/div/span
|
||||||
|
Sleep 1
|
||||||
|
click xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[last()]/div[2]/div/div/div/span/span/i
|
||||||
|
sleep 1
|
||||||
|
click id=pro_min2
|
||||||
|
sleep 1
|
||||||
|
click id=decryption-ok
|
||||||
|
${test} get text xpath=/html/body/div[last()]/p
|
||||||
|
Should Be Equal As Strings ${test} HTTP/2 MUST use TLS version 1.2 or higher.
|
||||||
|
|
||||||
|
DercryptionProfileVersionError
|
||||||
|
[Tags] Negtive UI Settings DecryptionProfile
|
||||||
|
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_DecryptionProfile
|
||||||
|
Sleep 1
|
||||||
|
click id=insertAdd
|
||||||
|
sleep 1
|
||||||
|
input id=insert_profileName DercryptionProfileVersionError
|
||||||
|
sleep 1
|
||||||
|
click xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[7]/div[1]/div/div/span
|
||||||
|
Sleep 1
|
||||||
|
click xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[7]/div[4]/div/div/span
|
||||||
|
sleep 1
|
||||||
|
click xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[7]/div[3]/div/div/div/span/span/i
|
||||||
|
sleep 1
|
||||||
|
click id=pro_max0
|
||||||
|
sleep 1
|
||||||
|
click id=decryption-ok
|
||||||
|
${test} get text xpath=/html/body/div[last()]/p
|
||||||
|
Should Be Equal As Strings ${test} In Protocol version , min version can't greater than max version
|
||||||
|
|
||||||
|
|
||||||
@@ -5,133 +5,156 @@ Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
|||||||
Library OperatingSystem
|
Library OperatingSystem
|
||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
CreateHijackFilesTypeApk
|
HijackFilesCreateApkFile
|
||||||
[Tags] PositiveTestCase apk Settings HijackFile
|
[Tags] Positive UI File Settings HijackFile
|
||||||
CreateHijackFiles lyf-test-001-apk ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
CreateHijackFiles HijackFilesCreateApkFile ${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
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
CreateHijackFilesTypeExe
|
HijackFilesCreateExeFile
|
||||||
[Tags] PositiveTestCase exe Settings HijackFile
|
[Tags] Positive UI File Settings HijackFile
|
||||||
CreateHijackFiles lyf-test-002-exe ${path}hijack_files/Create-Hijack Files-test-1.exe id=application/x-msdos-program0 name
|
CreateHijackFiles HijackFilesCreateExeFile ${path}hijack_files/Create-Hijack Files-test-1.exe id=application/x-msdos-program0 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
CreateHijackFilesTypeGif
|
HijackFilesCreateGifFile
|
||||||
[Tags] PositiveTestCase gif Settings HijackFile
|
[Tags] Positive UI File Settings HijackFile
|
||||||
CreateHijackFiles lyf-test-003-gif ${path}hijack_files/Create-Hijack Files-test-2.gif id=image/gif0 name
|
CreateHijackFiles HijackFilesCreateGifFile ${path}hijack_files/Create-Hijack Files-test-2.gif id=image/gif0 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
CreateHijackFilesTypeHtml
|
HijackFilesCreateHtmlFile
|
||||||
[Tags] PositiveTestCase html Settings HijackFile
|
[Tags] Positive UI File Settings HijackFile
|
||||||
CreateHijackFiles lyf-test-004-html ${path}hijack_files/Create-Hijack Files-test-3.html id=text/html0 name
|
CreateHijackFiles HijackFilesCreateHtmlFile ${path}hijack_files/Create-Hijack Files-test-3.html id=text/html0 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
CreateHijackFilesTypeJpeg
|
HijackFilesCreateJpegFile
|
||||||
[Tags] PositiveTestCase jpeg Settings HijackFile
|
[Tags] Positive UI File Settings HijackFile
|
||||||
CreateHijackFiles lyf-test-005-jpeg ${path}hijack_files/Create-Hijack Files-test-4.jpeg id=image/jpeg1 name
|
CreateHijackFiles HijackFilesCreateJpegFile ${path}hijack_files/Create-Hijack Files-test-4.jpeg id=image/jpeg1 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
CreateHijackFilesTypePng
|
HijackFilesPngFile
|
||||||
[Tags] PositiveTestCase png Settings HijackFile
|
[Tags] Positive UI File Settings HijackFile
|
||||||
CreateHijackFiles lyf-test-006-png ${path}hijack_files/Create-Hijack Files-test-5.png id=image/png2 name
|
CreateHijackFiles HijackFilesPngFile ${path}hijack_files/Create-Hijack Files-test-5.png id=image/png2 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
CreateHijackFilesTypeSvg
|
HijackFilesCreateSvgFile
|
||||||
[Tags] PositiveTestCase svg Settings HijackFile
|
[Tags] Positive UI File Settings HijackFile
|
||||||
CreateHijackFiles lyf-test-007-svg ${path}hijack_files/Create-Hijack Files-test-6.svg id=image/svg+xml3 name
|
CreateHijackFiles HijackFilesCreateSvgFile ${path}hijack_files/Create-Hijack Files-test-6.svg id=image/svg+xml3 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
EditHijackFilesSearchName
|
HijackFilesCreateButtonOpen
|
||||||
[Tags] PositiveTestCase apk name Settings HijackFile
|
[Tags] Positive UI Button Settings HijackFile
|
||||||
CreateHijackFiles lyf-test-001-apk ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
|
||||||
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/span
|
|
||||||
EditHijackFiles ${name} lyf-Edit-test-001 ${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
|
|
||||||
|
|
||||||
EditHijackFilesSearchId
|
|
||||||
[Tags] PositiveTestCase apk id Settings HijackFile
|
|
||||||
CreateHijackFiles lyf-test-001-apk ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
|
||||||
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/span
|
|
||||||
EditHijackFiles ${id} lyf-Edit-test-002 ${path}hijack_files\\Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 id
|
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
|
||||||
DeletehijackDel
|
|
||||||
|
|
||||||
EditHijackFilesButtonClose
|
|
||||||
[Tags] PositiveTestCase apk id Settings HijackFile
|
|
||||||
CreateHijackFiles lyf-test-001-apk ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
|
||||||
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/span
|
|
||||||
EditHijackFiles ${id} lyf-Edit-test-003 ${path}hijack_files\\Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 id close
|
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
|
||||||
DeletehijackDel
|
|
||||||
|
|
||||||
CreateHijackFilesDownloadNameButtonClose
|
|
||||||
[Tags] PositiveTestCase svg Settings HijackFile ButtonClose
|
|
||||||
CreateHijackFiles lyf-test-011-svg ${path}hijack_files/Create-Hijack Files-test-6.svg id=image/svg+xml3 name close shuru
|
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
|
||||||
DeletehijackDel
|
|
||||||
|
|
||||||
CreateHijackFilesDownloadNameButtonOpen
|
|
||||||
[Tags] PositiveTestCase svg Settings HijackFile ButtonOpen
|
|
||||||
CreateHijackFiles lyf-test-011-svg ${path}hijack_files/Create-Hijack Files-test-6.svg id=image/svg+xml3 name open
|
CreateHijackFiles lyf-test-011-svg ${path}hijack_files/Create-Hijack Files-test-6.svg id=image/svg+xml3 name open
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
CreateHijackFilesNameMinSize
|
HijackFilesCreateEditDownloadName
|
||||||
[Tags] PositiveTestCase apk Settings HijackFile
|
[Tags] Positive UI Name Settings HijackFile
|
||||||
|
CreateHijackFiles lyf-test-011-svg ${path}hijack_files/Create-Hijack Files-test-6.svg id=image/svg+xml3 name close shuru
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
|
DeletehijackDel
|
||||||
|
|
||||||
|
HijackFilesEditSearchName
|
||||||
|
[Tags] Positive UI Settings HijackFile
|
||||||
|
CreateHijackFiles HijackFilesEditSearchName ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
||||||
|
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/span
|
||||||
|
EditHijackFiles ${name} lyf-Edit-test-001 ${path}hijack_files\\Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
||||||
|
DownLoadFile ${path}hijack_files/Create-Hijack Files-test.apk ${Downloadpath}Create-Hijack Files-test.apk
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
|
DeletehijackDel
|
||||||
|
|
||||||
|
HijackFilesEditSearchId
|
||||||
|
[Tags] Positive UI Settings HijackFile
|
||||||
|
CreateHijackFiles lyf-test-001-apk ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
||||||
|
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/span
|
||||||
|
EditHijackFiles ${id} lyf-Edit-test-002 ${path}hijack_files\\Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 id
|
||||||
|
DownLoadFile ${path}hijack_files/Create-Hijack Files-test.apk ${Downloadpath}Create-Hijack Files-test.apk
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
|
DeletehijackDel
|
||||||
|
|
||||||
|
HijackFilesEditButtonStatus
|
||||||
|
[Tags] Positive UI Settings HijackFile
|
||||||
|
CreateHijackFiles lyf-test-001-apk ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
||||||
|
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/span
|
||||||
|
EditHijackFiles ${id} lyf-Edit-test-003 ${path}hijack_files\\Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 id open
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
|
DeletehijackDel
|
||||||
|
|
||||||
|
HijackFilesDownloadFile
|
||||||
|
[Tags] Positive UI Settings HijackFile
|
||||||
|
CreateHijackFiles lyf-test-001-apk ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
||||||
|
DownLoadFile ${path}hijack_files/Create-Hijack Files-test.apk ${Downloadpath}Create-Hijack Files-test.apk
|
||||||
|
|
||||||
|
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 1 ${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
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
CreateHijackFilesNameMaxSize
|
HijackFilesCreateNameMaxSize
|
||||||
[Tags] PositiveTestCase apk Settings HijackFile
|
[Tags] Boundary UI Name Settings HijackFile
|
||||||
CreateHijackFiles CreateHijackFilesNameMaxSizeCreateHijackFilesNameMaxSizeCreateHijackFilesNameMaxSizeCreateHijackFilesNameMaxSizeCreateHijackFile ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
CreateHijackFiles CreateHijackFilesNameMaxSizeCreateHijackFilesNameMaxSizeCreateHijackFilesNameMaxSizeCreateHijackFilesNameMaxSizeCreateHijackFile ${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
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
CreateHijackFilesNameSpecialChar
|
HijackFilesCreateNameSpecialChar
|
||||||
[Tags] PositiveTestCase apk Settings HijackFile
|
[Tags] Boundary UI Name Settings HijackFile
|
||||||
CreateHijackFiles 中文+absc+моряков+@#¥%……&* ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
CreateHijackFiles 中文+absc+моряков+@#¥%……&* ${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
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
HijackFilesUpload20MFile
|
HijackFilesUpload20MFile
|
||||||
[Tags] PositiveTestCase html Settings HijackFile
|
[Tags] Boundary UI File Settings HijackFile
|
||||||
CreateHijackFiles HijackFilesUpload20MFileTest ${path}hijack_files/20MFile.html id=text/html0 name
|
CreateHijackFiles HijackFilesUpload20MFileTest ${path}hijack_files/20MFile.html id=text/html0 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
HijackFilesSpecialFileName
|
HijackFilesSpecialFileName
|
||||||
[Tags] PositiveTestCase html Settings HijackFile
|
[Tags] Boundary UI File Settings HijackFile
|
||||||
CreateHijackFiles HijackFilesUpload20MFileTest ${path}hijack_files/ВставкаСкриптов!@#$%^&(-+=‘;。,?.html id=text/html0 name
|
CreateHijackFiles HijackFilesUpload20MFileTest ${path}hijack_files/ВставкаСкриптов!@#$%^&(-+=‘;。,?.html id=text/html0 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
HijackFilesDownloadFile
|
|
||||||
[Tags] PositiveTestCase Settings HijackFile
|
|
||||||
CreateHijackFiles lyf-test-001-apk ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
|
||||||
DownLoadFile ${Downloadpath}Create-Hijack Files-test.apk
|
|
||||||
|
|
||||||
|
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
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
|
DeletehijackDel
|
||||||
|
|
||||||
|
HijackFilesCreateDownloadNameMaxSize
|
||||||
|
[Tags] Boundary UI Name Settings HijackFile
|
||||||
|
CreateHijackFiles CreateHijackFilesNameMaxSizeCreateHijackFilesNameMaxSizeCreateHijackFilesNameMaxSizeCreateHijackFilesNameMaxSizeCreateHijackFile ${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
|
||||||
|
|
||||||
|
HijackFilesPagesTurnPage
|
||||||
|
[Tags] Positive UI Settings HijackFile
|
||||||
|
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_HijackFiles
|
||||||
|
TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/button[1] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/span[2]/div/input 2
|
||||||
|
|
||||||
HijackFilesUploadNullFile
|
HijackFilesUploadNullFile
|
||||||
[Tags] NegtivetestCase html Settings HijackFile
|
[Tags] Negtive html Settings HijackFile
|
||||||
UploadFilesSize HijackFiles HijackFilesUploadNullFile ${path}hijack_files/null.html Please choose to upload files
|
UploadFilesSize HijackFiles HijackFilesUploadNullFile ${path}hijack_files/null.html Please choose to upload files
|
||||||
|
|
||||||
HijackFilesUploadExceed20MFile
|
HijackFilesUploadExceed20MFile
|
||||||
[Tags] NegtivetestCase html Settings HijackFile
|
[Tags] Negtive html Settings HijackFile
|
||||||
UploadFilesSize HijackFiles HijackFilesUploadExceed20MFile ${path}hijack_files/Exceed20MFile.html File Maximum Limitation 20MB
|
UploadFilesSize HijackFiles HijackFilesUploadExceed20MFile ${path}hijack_files/Exceed20MFile.html File Maximum Limitation 20MB
|
||||||
|
|
||||||
HijackFilesUploadTypeDoesNotMatch
|
HijackFilesUploadTypeDoesNotMatch
|
||||||
[Tags] NegtivetestCase Settings HijackFile
|
[Tags] Negtive Settings HijackFile
|
||||||
UploadFilesSize HijackFiles HijackFilesUploadTypeDoesNotMatch ${path}hijack_files/Create-Hijack Files-test-6.svg Type and file are not matched.
|
UploadFilesSize HijackFiles HijackFilesUploadTypeDoesNotMatch ${path}hijack_files/Create-Hijack Files-test-6.svg Type and file are not matched.
|
||||||
|
|
||||||
CreateHijackFilesNullFileName
|
InsertScritsDeleteReferencedData
|
||||||
[Tags] NegtivetestCase Settings HijackFile
|
[Tags] Negtive UI Settings HijackFile
|
||||||
|
DeleteReferencedData HijackFile sidebarProxy_Profiles 1209 The referenced data are not allowed to disable or delete Three-level menu=profilesTabs_Profile_HijackFiles
|
||||||
|
|
||||||
|
HijackFilesCreateNullName
|
||||||
|
[Tags] Negtive UI Settings HijackFile
|
||||||
OpenPages sidebarProxy_Profiles profilesTabs_Profile_HijackFiles
|
OpenPages sidebarProxy_Profiles profilesTabs_Profile_HijackFiles
|
||||||
click id=hijackAdd
|
click id=hijackAdd
|
||||||
Sleep 2
|
Sleep 2
|
||||||
@@ -140,4 +163,5 @@ CreateHijackFilesNullFileName
|
|||||||
${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3]
|
${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]
|
${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} Please enter the content
|
||||||
Should Be Equal As Strings ${text1} Please enter the content
|
Should Be Equal As Strings ${text1} Please enter the content
|
||||||
|
|
||||||
@@ -5,95 +5,97 @@ Library OperatingSystem
|
|||||||
Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
CreateInsertScriptsTypeCss
|
InsertScriptsCreateCssFile
|
||||||
[Tags] PositiveTestCase css Settings InsertScript
|
[Tags] Positive UI File Settings InsertScript
|
||||||
CreateInsertScripts lyf-test-001-css ${path}insert_files\\Create-Insert Scripts-test.css css name
|
CreateInsertScripts lyf-test-001-css ${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
|
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
|
Delete
|
||||||
|
|
||||||
CreateInsertScriptsTypeJs
|
InsertScriptsCreateJsFileBeforePageLoad
|
||||||
[Tags] PositiveTestCase js Settings InsertScript
|
[Tags] Positive UI File Settings InsertScript
|
||||||
CreateInsertScripts lyf-test-002-js ${path}insert_files\\Create-Insert_Scripts-test.js js name
|
CreateInsertScripts lyf-test-002-js ${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
|
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
|
Delete
|
||||||
|
|
||||||
CreateInsertScriptsTypeCssNameMinSize
|
|
||||||
[Tags] PositiveTestCase css Settings InsertScript
|
|
||||||
CreateInsertScripts 1 ${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
|
|
||||||
|
|
||||||
CreateInsertScriptsTypeCssNameMaxSize
|
|
||||||
[Tags] PositiveTestCase css Settings InsertScript
|
|
||||||
CreateInsertScripts CreateInsertScriptsTypeCssNameMaxSizeCreateInsertScriptsTypeCssNameMaxSizeCreateInsertScriptsTypeCssNameMaxSizeCreateInsertScrip ${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
|
|
||||||
|
|
||||||
CreateInsertScriptsTypeJsNameMinSize
|
|
||||||
[Tags] PositiveTestCase js Settings InsertScript
|
|
||||||
CreateInsertScripts 1 ${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
|
|
||||||
Delete
|
|
||||||
|
|
||||||
CreateInsertScriptsTypeJsNameMaxSize
|
|
||||||
[Tags] PositiveTestCase js Settings InsertScript
|
|
||||||
CreateInsertScripts CreateInsertScriptsTypeCssNameMaxSizeCreateInsertScriptsTypeCssNameMaxSizeCreateInsertScriptsTypeCssNameMaxSizeCreateInsertScrip ${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
|
|
||||||
Delete
|
|
||||||
|
|
||||||
CreateInsertScriptsTypeJsAfterLoadInsertOn
|
InsertScriptsCreateJsFileAfterLoadInsertOn
|
||||||
[Tags] PositiveTestCase js Settings InsertScript
|
[Tags] Positive UI File Settings InsertScript
|
||||||
CreateInsertScripts CreateInsertScriptsTypeJsAfterLoadInsertOn-test ${path}insert_files\\Create-Insert_Scripts-test.js js name jstype=After Page Load
|
CreateInsertScripts CreateInsertScriptsTypeJsAfterLoadInsertOn-test ${path}insert_files\\Create-Insert_Scripts-test.js js name jstype=After Page Load
|
||||||
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
|
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
|
Delete
|
||||||
|
|
||||||
EditInsertScriptsTypeCssSearchId
|
InsertScriptsCreateNameMinSize
|
||||||
[Tags] PositiveTestCase css Settings InsertScript
|
[Tags] Boundary UI Name Settings InsertScript
|
||||||
CreateInsertScripts lyf-test-001-css ${path}insert_files\\Create-Insert Scripts-test.css css name
|
CreateInsertScripts 1 ${path}insert_files\\Create-Insert Scripts-test.css css name
|
||||||
${id} 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[1]/div/div/span
|
|
||||||
EditInsertScripts ${id} lyf-Edit-test-001 ${path}insert_files\\Create-Insert Scripts-test.css css id
|
|
||||||
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
|
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
|
Delete
|
||||||
|
|
||||||
EditInsertScriptsTypeJsSearchName
|
InsertScriptsCreateNameMaxSize
|
||||||
[Tags] PositiveTestCase js Settings InsertScript
|
[Tags] Boundary UI Name Settings InsertScript
|
||||||
|
CreateInsertScripts CreateInsertScriptsTypeCssNameMaxSizeCreateInsertScriptsTypeCssNameMaxSizeCreateInsertScriptsTypeCssNameMaxSizeCreateInsertScrip ${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
|
||||||
|
|
||||||
|
InsertScriptsEditSearchId
|
||||||
|
[Tags] Positive UI Settings InsertScript
|
||||||
|
CreateInsertScripts lyf-test-001-css ${path}insert_files\\Create-Insert Scripts-test.css css name
|
||||||
|
${id} 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[1]/div/div/span
|
||||||
|
EditInsertScripts ${id} lyf-Edit-test-001 ${path}insert_files\\Create-Insert Scripts-test.css css id
|
||||||
|
DownLoadFile ${path}insert_files\\Create-Insert Scripts-test.css ${Downloadpath}Create-Insert Scripts-test.css
|
||||||
|
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
|
||||||
|
|
||||||
|
InsertScriptsEditSearchName
|
||||||
|
[Tags] Positive UI Settings InsertScript
|
||||||
CreateInsertScripts 1 ${path}insert_files\\Create-Insert Scripts-test.css css name
|
CreateInsertScripts 1 ${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
|
${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
|
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
|
DownLoadFile ${path}insert_files\\Create-Insert_Scripts-test.js ${Downloadpath}Create-Insert_Scripts-test.js
|
||||||
Delete
|
|
||||||
|
|
||||||
CreateInsertScriptSpecialFileName
|
|
||||||
[Tags] PositiveTestCase css Settings InsertScript
|
|
||||||
CreateInsertScripts CreateInsertScriptsSpecialFileName ${path}insert_files\\ВставкаСкриптов!@#$%^&(-+=‘;。,?.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
|
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
|
Delete
|
||||||
|
|
||||||
InsertScriptDownloadFile
|
InsertScriptDownloadFile
|
||||||
[Tags] PositiveTestCase Settings InsertScript
|
[Tags] Positive UI Settings InsertScript
|
||||||
CreateInsertScripts lyf-test-001-css ${path}insert_files\\Create-Insert Scripts-test.css css name
|
CreateInsertScripts lyf-test-001-css ${path}insert_files\\Create-Insert Scripts-test.css css name
|
||||||
DownLoadFile ${Downloadpath}Create-Insert Scripts-test.css
|
DownLoadFile ${path}insert_files\\Create-Insert Scripts-test.css ${Downloadpath}Create-Insert Scripts-test.css
|
||||||
|
Delete
|
||||||
|
|
||||||
|
InsertScriptCreateSpecialFileName
|
||||||
|
[Tags] Boundary UI File Settings InsertScript
|
||||||
|
CreateInsertScripts CreateInsertScriptsSpecialFileName ${path}insert_files\\ВставкаСкриптов!@#$%^&(-+=‘;。,?.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
|
||||||
|
|
||||||
|
InsertScriptsCreateNameSpecialChar
|
||||||
|
[Tags] Boundary UI Name Settings InsertScript
|
||||||
|
CreateInsertScripts 中文+absc+моряков+@#¥%……&* ${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
|
||||||
|
|
||||||
InsertScriptsUpload20MFile
|
InsertScriptsUpload20MFile
|
||||||
[Tags] PositiveTestCase css Settings InsertScript
|
[Tags] Boundary UI File Settings InsertScript
|
||||||
CreateInsertScripts InsertScriptsUpload20MFile ${path}insert_files\\20MFile.css css name
|
CreateInsertScripts InsertScriptsUpload20MFile ${path}insert_files\\20MFile.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
|
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
|
Delete
|
||||||
|
|
||||||
|
InsertScritsPagesTurnPage
|
||||||
|
[Tags] Positive UI Settings InsertScript
|
||||||
|
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_Insert
|
||||||
|
TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/button[1] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/span[2]/div/input 2
|
||||||
|
|
||||||
InsertScriptsUploadNullFile
|
InsertScriptsUploadNullFile
|
||||||
[Tags] NegtivetestCase css Settings InsertScript
|
[Tags] Negtive UI File Settings InsertScript
|
||||||
UploadFilesSize InsertScripts InsertScriptsUploadNullFile ${path}insert_files\\null.css Please choose to upload files
|
UploadFilesSize InsertScripts InsertScriptsUploadNullFile ${path}insert_files\\null.css Please choose to upload files
|
||||||
|
|
||||||
InsertScriptsUploadExceed20MFile
|
InsertScriptsUploadExceed20MFile
|
||||||
[Tags] NegtivetestCase css Settings InsertScript
|
[Tags] Negtive UI File Settings InsertScript
|
||||||
UploadFilesSize InsertScripts InsertScriptsUploadNullFile ${path}insert_files\\Exceed20MFile.css File Maximum Limitation 100KB
|
UploadFilesSize InsertScripts InsertScriptsUploadNullFile ${path}insert_files\\Exceed20MFile.css File Maximum Limitation 100KB
|
||||||
|
|
||||||
InsertScriptsFileTypeDoesNotMatch
|
InsertScriptsFileTypeDoesNotMatch
|
||||||
[Tags] NegtivetestCase css Settings InsertScript
|
[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 data in the uploaded file is empty or in the wrong format
|
||||||
|
|
||||||
CreateInsertScritsNullFileName
|
InsertScritsCreateNullName
|
||||||
[Tags] NegtivetestCase Settings InsertScrit
|
[Tags] Negtive UI Settings InsertScrit
|
||||||
OpenPages sidebarProxy_Profiles profilesTabs_Profile_Insert
|
OpenPages sidebarProxy_Profiles profilesTabs_Profile_Insert
|
||||||
click id=insertAdd
|
click id=insertAdd
|
||||||
Sleep 2
|
Sleep 2
|
||||||
@@ -103,3 +105,7 @@ CreateInsertScritsNullFileName
|
|||||||
${text1} get text xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[3]/div/div[2]
|
${text1} get text xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[3]/div/div[2]
|
||||||
Should Be Equal As Strings ${text} Please enter the content
|
Should Be Equal As Strings ${text} Please enter the content
|
||||||
Should Be Equal As Strings ${text1} Please enter the content
|
Should Be Equal As Strings ${text1} Please enter the content
|
||||||
|
|
||||||
|
InsertScritsDeleteReferencedData
|
||||||
|
[Tags] Negtive UI Settings InsertScrit
|
||||||
|
DeleteReferencedData InsertScript sidebarProxy_Profiles 631 The referenced data are not allowed to deleted Three-level menu=profilesTabs_Profile_Insert
|
||||||
|
|||||||
@@ -74,7 +74,7 @@ ResponsePagesDownloadFile
|
|||||||
ResponsePagesTurnPage
|
ResponsePagesTurnPage
|
||||||
[Tags] Positive UI Settings ResponsePages
|
[Tags] Positive UI Settings ResponsePages
|
||||||
OpenPages sidebarProxy_Profiles
|
OpenPages sidebarProxy_Profiles
|
||||||
Ui-Pages //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/button[1] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/span[2]/div/input 2
|
TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/button[1] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/span[2]/div/input 2
|
||||||
|
|
||||||
ResponsePagesCreateNullName
|
ResponsePagesCreateNullName
|
||||||
[Tags] Negtive UI Name Settings ResponsePages
|
[Tags] Negtive UI Name Settings ResponsePages
|
||||||
@@ -102,6 +102,6 @@ ResponsePagesFileTypeDoesNotMatch
|
|||||||
|
|
||||||
ResponsePagesDeleteReferencedData
|
ResponsePagesDeleteReferencedData
|
||||||
[Tags] Negtive UI Settings ResponsePages
|
[Tags] Negtive UI Settings ResponsePages
|
||||||
DeleteReferencedData sidebarProxy_Profiles 527 The referenced data are not allowed to disable or delete
|
DeleteReferencedData ResponsePage sidebarProxy_Profiles 897 The referenced data are not allowed to disable or delete
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -5,49 +5,116 @@ Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
|||||||
Library OperatingSystem
|
Library OperatingSystem
|
||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
CreateTrafficMirrorProfilesNameMinSize
|
TrafficMirrorProfilesCreateVlan
|
||||||
[Tags] PositiveTestCase vlan Settings TrafficMirrorProfile
|
[Tags] Positive UI vlan Settings TrafficMirrorProfile
|
||||||
CreateTrafficMirrorProfiles 1 xpath=/html/body/div/div[1]/div[1]/ul/li[1] 11 name
|
CreateTrafficMirrorProfiles TrafficMirrorProfilesCreateVlan 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
|
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
|
DeletetrafficMirrorDel
|
||||||
|
|
||||||
CreateTrafficMirrorProfilesNameMaxSize
|
TrafficMirrorProfilesCreateMac
|
||||||
[Tags] PositiveTestCase vlan Settings TrafficMirrorProfile
|
[Tags] Positive UI vlan Settings TrafficMirrorProfile
|
||||||
CreateTrafficMirrorProfiles CreateTrafficMirrorProfilesNameMaxSizeCreateTrafficMirrorProfilesNameMaxSizeCreateTrafficMirrorProfilesNameMaxSizeCreateTrafficM xpath=/html/body/div/div[1]/div[1]/ul/li[1] 11 name
|
CreateTrafficMirrorProfiles TrafficMirrorProfilesCreateMac xpath=/html/body/div/div[1]/div[1]/ul/li[2] 11:11:11:11:11: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
|
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
|
DeletetrafficMirrorDel
|
||||||
|
|
||||||
CreateTrafficMirrorProfilesVlanMinSize
|
TrafficMirrorProfilesEditMacSearchId
|
||||||
[Tags] PositiveTestCase vlan Settings TrafficMirrorProfile
|
[Tags] Positive UI mac Settings TrafficMirrorProfile
|
||||||
CreateTrafficMirrorProfiles lyf-test-001-vlan xpath=/html/body/div/div[1]/div[1]/ul/li[1] 1 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
|
|
||||||
|
|
||||||
CreateTrafficMirrorProfilesVlanMaxSize
|
|
||||||
[Tags] PositiveTestCase vlan Settings TrafficMirrorProfile
|
|
||||||
CreateTrafficMirrorProfiles lyf-test-002-vlan xpath=/html/body/div/div[1]/div[1]/ul/li[1] 4094 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
|
|
||||||
|
|
||||||
CreateTrafficMirrorProfilesMac
|
|
||||||
[Tags] PositiveTestCase mac Settings TrafficMirrorProfile
|
|
||||||
CreateTrafficMirrorProfiles lyf-test-003-mac xpath=/html/body/div/div[1]/div[1]/ul/li[2] 11:11:11:11:11: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
|
|
||||||
|
|
||||||
EditTrafficMirrorProfilesMac
|
|
||||||
[Tags] PositiveTestCase mac ID Settings TrafficMirrorProfile
|
|
||||||
CreateTrafficMirrorProfiles lyf-test-004-mac xpath=/html/body/div/div[1]/div[1]/ul/li[2] 11:11:11:11:11:11 name
|
CreateTrafficMirrorProfiles lyf-test-004-mac xpath=/html/body/div/div[1]/div[1]/ul/li[2] 11:11:11:11:11:11 name
|
||||||
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[2]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span
|
||||||
EditTrafficMirrorProfiles ${id} lyf-Edit-test-001 xpath=/html/body/div/div[1]/div[1]/ul/li[2] 11:11:11:11:11:12 id
|
EditTrafficMirrorProfiles ${id} lyf-Edit-test-001 xpath=/html/body/div/div[1]/div[1]/ul/li[2] 11:11:11:11:11:12 id
|
||||||
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
|
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
|
DeletetrafficMirrorDel
|
||||||
|
|
||||||
EditTrafficMirrorProfilesVlan
|
TrafficMirrorProfilesEditVlanSearchName
|
||||||
[Tags] PositiveTestCase vlan name Settings TrafficMirrorProfile
|
[Tags] Positive UI vlan Settings TrafficMirrorProfile
|
||||||
CreateTrafficMirrorProfiles lyf-test-005-vlan xpath=/html/body/div/div[1]/div[1]/ul/li[1] 4094 name
|
CreateTrafficMirrorProfiles lyf-test-005-vlan xpath=/html/body/div/div[1]/div[1]/ul/li[1] 88 name
|
||||||
${name} get text 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
|
${name} get text 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
|
||||||
EditTrafficMirrorProfiles ${name} lyf-Edit-test-002 xpath=/html/body/div/div[1]/div[1]/ul/li[1] 11 name
|
EditTrafficMirrorProfiles ${name} lyf-Edit-test-002 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
|
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
|
DeletetrafficMirrorDel
|
||||||
|
|
||||||
|
TrafficMirrorProfilesCreateNameMinSize
|
||||||
|
[Tags] Boundary UI vlan Settings TrafficMirrorProfile
|
||||||
|
CreateTrafficMirrorProfiles 1 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
|
||||||
|
|
||||||
|
TrafficMirrorProfilesCreateNameMaxSize
|
||||||
|
[Tags] Boundary UI vlan Settings TrafficMirrorProfile
|
||||||
|
CreateTrafficMirrorProfiles CreateTrafficMirrorProfilesNameMaxSizeCreateTrafficMirrorProfilesNameMaxSizeCreateTrafficMirrorProfilesNameMaxSizeCreateTrafficM 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
|
||||||
|
|
||||||
|
TrafficMirrorProfilesCreateNameSpecialChar
|
||||||
|
[Tags] Boundary UI vlan Settings TrafficMirrorProfile
|
||||||
|
CreateTrafficMirrorProfiles 中文+absc+моряков+@#¥%……&* 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
|
||||||
|
|
||||||
|
TrafficMirrorProfilesCreateVlanMinSize
|
||||||
|
[Tags] Boundary UI vlan Settings TrafficMirrorProfile
|
||||||
|
CreateTrafficMirrorProfiles lyf-test-001-vlan xpath=/html/body/div/div[1]/div[1]/ul/li[1] 1 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
|
||||||
|
|
||||||
|
TrafficMirrorProfilesCreateVlanMaxSize
|
||||||
|
[Tags] Boundary UI vlan Settings TrafficMirrorProfile
|
||||||
|
CreateTrafficMirrorProfiles lyf-test-002-vlan xpath=/html/body/div/div[1]/div[1]/ul/li[1] 4094 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
|
||||||
|
|
||||||
|
TrafficMirrorProfilesCreateMacMinSize
|
||||||
|
[Tags] Boundary UI mac Settings TrafficMirrorProfile
|
||||||
|
CreateTrafficMirrorProfiles lyf-test-001-mac xpath=/html/body/div/div[1]/div[1]/ul/li[2] 00:00:00:00:00:00 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
|
||||||
|
|
||||||
|
TrafficMirrorProfilesCreateMacMaxSize
|
||||||
|
[Tags] Boundary UI mac Settings TrafficMirrorProfile
|
||||||
|
CreateTrafficMirrorProfiles lyf-test-002-mac xpath=/html/body/div/div[1]/div[1]/ul/li[2] FF:FF:FF:FF:FF:FF 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
|
||||||
|
|
||||||
|
TrafficMirrorProfilesPagesTurnPage
|
||||||
|
[Tags] Positive UI Settings TrafficMirrorProfile
|
||||||
|
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_TrafficMirrorProfiles
|
||||||
|
TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/button[1] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/span[2]/div/input 2
|
||||||
|
|
||||||
|
TrafficMirrorProfilesCreateErrorVlan_1
|
||||||
|
[Tags] Negtive UI vlan Settings TrafficMirrorProfile
|
||||||
|
TrafficMirrorProfilesValidationError TrafficMirrorProfilesCreateErrorVlan_1 xpath=/html/body/div/div[1]/div[1]/ul/li[1] 0 The value range of vlan is 1-4094
|
||||||
|
|
||||||
|
TrafficMirrorProfilesCreateErrorVlan_2
|
||||||
|
[Tags] Negtive UI vlan Settings TrafficMirrorProfile
|
||||||
|
TrafficMirrorProfilesValidationError TrafficMirrorProfilesCreateErrorVlan_1 xpath=/html/body/div/div[1]/div[1]/ul/li[1] 4095 The value range of vlan is 1-4094
|
||||||
|
|
||||||
|
TrafficMirrorProfilesCreateErrorMac
|
||||||
|
[Tags] Negtive UI mac Settings TrafficMirrorProfile
|
||||||
|
TrafficMirrorProfilesValidationError TrafficMirrorProfilesCreateErrorVlan_1 xpath=/html/body/div/div[1]/div[1]/ul/li[2] 11:11:11:11:11:111 Invalid mirror destination MAC address.
|
||||||
|
|
||||||
|
TrafficMirrorProfilesNoInput
|
||||||
|
[Tags] Negtive UI Settings TrafficMirrorProfile
|
||||||
|
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_TrafficMirrorProfiles
|
||||||
|
sleep 1
|
||||||
|
click id=trafficMirrorAdd
|
||||||
|
sleep 1
|
||||||
|
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1]
|
||||||
|
sleep 3
|
||||||
|
${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 ${text2} Please select
|
||||||
|
Should Be Equal As Strings ${text3} Please enter the content
|
||||||
|
|
||||||
|
TrafficMirrorProfilesDeleteReferencedData
|
||||||
|
[Tags] Negtive UI Settings TrafficMirrorProfile
|
||||||
|
DeleteReferencedData TrafficMirrorProfile sidebarProxy_Profiles 291 The referenced data are not allowed to disable or delete Three-level menu=profilesTabs_Profile_TrafficMirrorProfiles
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -487,6 +487,30 @@ CreateInsertScripts
|
|||||||
#//*[@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 #获取点击后页面文本信息
|
#//*[@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 #获取点击后页面文本信息
|
||||||
Should Be Equal As Strings ${text1} ${name} #断言
|
Should Be Equal As Strings ${text1} ${name} #断言
|
||||||
|
|
||||||
|
TrafficMirrorProfilesValidationError
|
||||||
|
[Arguments] ${name} ${type} ${shuru} ${PromptInformation}
|
||||||
|
Sleep 1
|
||||||
|
click id=children6 #点击一级目录Settings
|
||||||
|
Sleep 1
|
||||||
|
click id=sidebarProxy_Profiles #点击二级目录Proxy Profiles
|
||||||
|
Sleep 2
|
||||||
|
click id=profilesTabs_Profile_TrafficMirrorProfiles #点击Traffic Mirror Profiles按钮
|
||||||
|
Sleep 1
|
||||||
|
click id=trafficMirrorAdd #点击Create
|
||||||
|
Sleep 2
|
||||||
|
input id=trafficmirror_profileName ${name} #输入name
|
||||||
|
Sleep 2
|
||||||
|
click id=addrTypeChoose #点击下拉框
|
||||||
|
Sleep 2
|
||||||
|
click ${type} #选择vlan或者mac
|
||||||
|
Sleep 1
|
||||||
|
input id=trafficmirror_addrArray0 ${shuru}
|
||||||
|
sleep 2
|
||||||
|
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/button[1] #点击OK
|
||||||
|
Sleep 2
|
||||||
|
${text1} Get Text xpath=/html/body/div[last()]/p #获取点击后页面提示信息
|
||||||
|
Should Be Equal As Strings ${text1} ${PromptInformation} #断言
|
||||||
|
|
||||||
CreateTrafficMirrorProfiles
|
CreateTrafficMirrorProfiles
|
||||||
[Arguments] ${name} ${type} ${shuru} ${search}
|
[Arguments] ${name} ${type} ${shuru} ${search}
|
||||||
Sleep 1
|
Sleep 1
|
||||||
@@ -513,6 +537,7 @@ CreateTrafficMirrorProfiles
|
|||||||
${text1} Get Text 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 #获取点击后页面文本信息
|
${text1} Get Text 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 #获取点击后页面文本信息
|
||||||
Should Be Equal As Strings ${text1} ${name} #断言
|
Should Be Equal As Strings ${text1} ${name} #断言
|
||||||
|
|
||||||
|
|
||||||
EditInsertScripts
|
EditInsertScripts
|
||||||
[Arguments] ${id-name} ${name1} ${file} ${type} ${search} ${jstype}=Before Page Load
|
[Arguments] ${id-name} ${name1} ${file} ${type} ${search} ${jstype}=Before Page Load
|
||||||
[Documentation] 引用关键字,填入必填参数
|
[Documentation] 引用关键字,填入必填参数
|
||||||
@@ -1113,14 +1138,14 @@ Min_max_version
|
|||||||
... AND click id=pro_max0
|
... AND click id=pro_max0
|
||||||
... ELSE log 错误
|
... ELSE log 错误
|
||||||
|
|
||||||
CreateDecryptionProfile
|
CreateDecryptionProfile
|
||||||
[Arguments] ${name} ${search} ${dict1}=null ${fail1}=null ${min1}=null ${max1}=null
|
[Arguments] ${name} ${search} ${dict1}=null ${fail1}=null ${min1}=null ${max1}=null
|
||||||
Sleep 1
|
Sleep 1
|
||||||
click id=children6 #点击一级目录Settings
|
click id=children6 #点击一级目录Settings
|
||||||
Sleep 1
|
Sleep 1
|
||||||
click id=sidebarProxy_Profiles #点击二级目录Proxy Profiles
|
click id=sidebarProxy_Profiles #点击二级目录Proxy Profiles
|
||||||
sleep 2
|
sleep 2
|
||||||
click id=profilesTabs_Profile_DecryptionProfile #点击Decryption Profile
|
click id=profilesTabs_Profile_DecryptionProfile #点击Decryption Profile
|
||||||
Sleep 1
|
Sleep 1
|
||||||
click id=insertAdd #点击Create
|
click id=insertAdd #点击Create
|
||||||
Sleep 1
|
Sleep 1
|
||||||
@@ -1732,7 +1757,7 @@ OpenPages
|
|||||||
... AND click id=${Three-levelMenu}
|
... AND click id=${Three-levelMenu}
|
||||||
sleep 5
|
sleep 5
|
||||||
|
|
||||||
Ui-Pages
|
TurnPage
|
||||||
[Arguments] ${NextPage} ${PreviousPage} ${JumpInput} ${pages}
|
[Arguments] ${NextPage} ${PreviousPage} ${JumpInput} ${pages}
|
||||||
[Documentation]
|
[Documentation]
|
||||||
... ${NextPage} 下一页按钮定位
|
... ${NextPage} 下一页按钮定位
|
||||||
@@ -1741,12 +1766,12 @@ Ui-Pages
|
|||||||
... ${pages} 跳转得页码
|
... ${pages} 跳转得页码
|
||||||
click xpath=${NextPage}
|
click xpath=${NextPage}
|
||||||
sleep 2
|
sleep 2
|
||||||
${text1} Get Element Attribute xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/ul/li[2] class
|
${text1} Get Element Attribute xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[last()]/div/ul/li[2] class
|
||||||
sleep 1
|
sleep 1
|
||||||
Should Be Equal As Strings ${text1} number active
|
Should Be Equal As Strings ${text1} number active
|
||||||
click xpath=${PreviousPage}
|
click xpath=${PreviousPage}
|
||||||
sleep 2
|
sleep 2
|
||||||
${text2} Get Element Attribute xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/ul/li[1] class
|
${text2} Get Element Attribute xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[last()]/div/ul/li[1] class
|
||||||
sleep 1
|
sleep 1
|
||||||
Should Be Equal As Strings ${text1} number active
|
Should Be Equal As Strings ${text1} number active
|
||||||
Clear Element Text xpath=${JumpInput}
|
Clear Element Text xpath=${JumpInput}
|
||||||
@@ -1755,7 +1780,7 @@ Ui-Pages
|
|||||||
sleep 2
|
sleep 2
|
||||||
press keys xpath=${JumpInput} ENTER
|
press keys xpath=${JumpInput} ENTER
|
||||||
sleep 2
|
sleep 2
|
||||||
${text1} Get Element Attribute xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[5]/div/ul/li[${pages}] class
|
${text1} Get Element Attribute xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[last()]/div/ul/li[${pages}] class
|
||||||
sleep 1
|
sleep 1
|
||||||
Should Be Equal As Strings ${text1} number active
|
Should Be Equal As Strings ${text1} number active
|
||||||
|
|
||||||
@@ -1896,21 +1921,52 @@ DownLoadFile
|
|||||||
#Run_Keyword_And_Continue_On_Failure File_Should_Exist ${DownloadFilePath} #出错后继续执行,如文件在指定路径存在则通过
|
#Run_Keyword_And_Continue_On_Failure File_Should_Exist ${DownloadFilePath} #出错后继续执行,如文件在指定路径存在则通过
|
||||||
|
|
||||||
DeleteReferencedData
|
DeleteReferencedData
|
||||||
[Arguments] ${SecondaryMenu} ${ID} ${PromptInformation}
|
[Arguments] ${Page} ${SecondaryMenu} ${ID} ${PromptInformation} ${Three-level menu}=null
|
||||||
[Documentation]
|
[Documentation]
|
||||||
... ${SecondaryMenu}:测试也ID
|
... ${Page}:当前页面
|
||||||
|
... ${SecondaryMenu}:二级目录
|
||||||
... ${ID} :查询数据的ID
|
... ${ID} :查询数据的ID
|
||||||
... ${PromptInformation} :提示信息
|
... ${PromptInformation} :提示信息
|
||||||
|
... ${Three-levelMenu}:三级菜单
|
||||||
Sleep 1
|
Sleep 1
|
||||||
click id=children6 #点击一级目录Settings
|
click id=children6 #点击一级目录Settings
|
||||||
Sleep 1
|
Sleep 1
|
||||||
click id=${SecondaryMenu} #点击二级目录Proxy Profiles
|
click id=${SecondaryMenu} #点击二级目录Proxy Profiles
|
||||||
Sleep 2
|
Sleep 2
|
||||||
|
run keyword if "${Three-levelMenu}"!="null" run keywords sleep 1
|
||||||
|
... AND click id=${Three-levelMenu}
|
||||||
|
sleep 1
|
||||||
Settings-Search ${ID} id
|
Settings-Search ${ID} id
|
||||||
Sleep 2
|
Sleep 2
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
run keyword if "${Page}"=="ResponsePage" run keywords sleep 1
|
||||||
sleep 1
|
... AND click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||||
DeleteresinseDel
|
... AND sleep 1
|
||||||
|
... AND DeleteresinseDel
|
||||||
|
run keyword if "${Page}"=="InsertScript" run keywords sleep 1
|
||||||
|
... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr
|
||||||
|
... AND sleep 1
|
||||||
|
... AND Delete
|
||||||
|
run keyword if "${Page}"=="HijackFile" run keywords sleep 1
|
||||||
|
... AND click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
|
... AND sleep 1
|
||||||
|
... AND DeletehijackDel
|
||||||
|
run keyword if "${Page}"=="TrafficMirrorProfile" run keywords sleep 1
|
||||||
|
... AND 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
|
||||||
|
... AND sleep 1
|
||||||
|
... AND DeletetrafficMirrorDel
|
||||||
|
run keyword if "${Page}"=="DecryptionProfile" run keywords sleep 1
|
||||||
|
... AND 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
|
||||||
|
... AND sleep 1
|
||||||
|
... AND Delete
|
||||||
${text} get text xpath=/html/body/div[last()]/p
|
${text} get text xpath=/html/body/div[last()]/p
|
||||||
Should Be Equal As Strings ${text} ${PromptInformation}
|
Should Be Equal As Strings ${text} ${PromptInformation}
|
||||||
|
|
||||||
|
test
|
||||||
|
[Arguments] ${list}
|
||||||
|
Create list ${p}
|
||||||
|
FOR ${i} IN @{list}
|
||||||
|
${p} Set Variable ${i}
|
||||||
|
|
||||||
|
END
|
||||||
|
log many @{p}
|
||||||
|
|
||||||
Reference in New Issue
Block a user