This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dongxiaoyan-tsg-autotest/01-TestCase/tsg_ui/ui_settings/DecryptionProfileCase.robot

492 lines
34 KiB
Plaintext
Raw Normal View History

2020-05-29 17:01:46 +08:00
*** Settings ***
Force Tags tsg-ui settings Decryption Profile
Resource ../../../03-Variable/bifangapivariable.txt
2020-05-29 17:08:22 +08:00
Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
2020-05-29 17:01:46 +08:00
Library OperatingSystem
*** Test Cases ***
DecryptionProfilesCreateFail-close
[Tags] Positive UI name Settings DecryptionProfile
2020-05-29 17:01:46 +08:00
${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 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
Delete
DecryptionProfilesCreatePass-through
[Tags] Positive 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 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
DercryptionProfileOpen1
[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=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}
DercryptionProfileOpen3
[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
2020-05-29 17:01:46 +08:00
... 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
2020-05-29 17:01:46 +08:00
${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=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}
DercryptionProfileClose2
[Tags] Positive UI ID Settings DecryptionProfile
2020-05-29 17:01:46 +08:00
${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=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}
DercryptionProfileClose3
[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
2020-05-29 17:01:46 +08:00
${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 lyf-test-5 name ${dict} min1=SSLv3.0 max1=SSLv3.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
Delete
DecryptionProfileAllCloseTLSv1.0
[Tags] Positive UI TLSv1.0 Settings DecryptionProfile
2020-05-29 17:01:46 +08:00
${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 lyf-test-6 name ${dict} min1=TLSv1.0 max1=TLSv1.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
Delete
DecryptionProfileAllCloseTLSv1.1
[Tags] Positive UI TLSv1.1 Settings DecryptionProfile
2020-05-29 17:01:46 +08:00
${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 lyf-test-7 name ${dict} min1=TLSv1.1 max1=TLSv1.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
Delete
DecryptionProfileAllCloseTLSv1.2
[Tags] Positive UI TLSv1.2 Settings DecryptionProfile
2020-05-29 17:01:46 +08:00
${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 lyf-test-8 name ${dict} min1=TLSv1.2 max1=TLSv1.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
Delete
DecryptionProfileAllCloseTLSv1.3
[Tags] Positive UI TLSv1.3 Settings DecryptionProfile
2020-05-29 17:01:46 +08:00
${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 lyf-test-9 name ${dict} min1=TLSv1.3 max1=TLSv1.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
Delete
DecryptionProfileNameMinSize
[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
2020-05-29 17:01:46 +08:00
... Allow HTTP/2=1
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
Delete
DecryptionProfileNameMaxSize
[Tags] Boundary UI name Settings DecryptionProfile
${dict} Create Dictionary Common Name=1 Issuer=1 Self-signed=1 Expiry Date=1 EV Certificat=1
2020-05-29 17:01:46 +08:00
... 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 DecryptionProfileNameMaxSizeDecryptionProfileNameMaxSizeDecryptionProfileNameMaxSizeDecryptionProfileNameMaxSizeDecryptionProfil 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
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
2020-05-29 17:01:46 +08:00
... 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
click id=decryption-ok
sleep 1
${text} get text xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[1]/div/div[3]
Should Be Equal As Strings ${text} Please enter the content
DercryptionProfileVersionLessTLSv1.2
[Tags] Negtive UI Settings DecryptionProfile
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_DecryptionProfile
2020-05-29 17:01:46 +08:00
Sleep 1
click id=insertAdd
2020-05-29 17:01:46 +08:00
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