2020-12-30 13:59:34 +08:00
*** Settings ***
Force Tags tsg-ui settings SSL Decryption Exclusion
Resource ../../../03-Variable/bifangapivariable.txt
Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
Library OperatingSystem
*** Test Cases ***
2021-01-26 14:35:49 +08:00
SSLDecryptionExclusionCreateExactlyMatching
[Tags] Positive UI Settings SSLDecryptionExclusion
2020-12-30 13:59:34 +08:00
CreateSSLDecryptionExclusion $www.jianshu.com jianshu www.jianshu.com name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
Deletessl_del
2021-01-26 14:35:49 +08:00
SSLDecryptionExclusionCreateSuffixMatching
[Tags] Positive UI Settings SSLDecryptionExclusion
2021-01-18 16:40:46 +08:00
CreateSSLDecryptionExclusion *myssl.com myssl.com myssl.com name
2020-12-30 13:59:34 +08:00
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
2021-01-26 14:35:49 +08:00
Deletessl_del
2021-02-23 15:23:23 +08:00
SSLDecryptionExclusionEditSearchID
2021-01-26 14:35:49 +08:00
[Tags] Positive UI Settings SSLDecryptionExclusion
CreateSSLDecryptionExclusion *myssl.com myssl.com myssl.com name
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/p/span
EditSSLDecryptionExclusion ${id} $www.jianshu.com 简书 www.jianshu.com id
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
Deletessl_del
2021-02-23 15:23:23 +08:00
SSLDecryptionExclusionEditSearchName
2021-01-26 14:35:49 +08:00
[Tags] Positive UI Settings SSLDecryptionExclusion
CreateSSLDecryptionExclusion *myssl.com myssl.com myssl.com name
EditSSLDecryptionExclusion myssl.com $www.jianshu.com 简xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/p/spanxpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/p/span书 www.jianshu.com name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
2020-12-30 13:59:34 +08:00
Deletessl_del
2021-02-23 15:23:23 +08:00
SSLDecryptionExclusionEditDefault
[Tags] Positive UI Settings SSLDecryptionExclusion
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[3] xpath
EditSSLDecryptionExclusion 1 *fe3.delivery.mp.microsoft.com test11 *fe3.delivery.mp.microsoft.com id
EditSSLDecryptionExclusion 1 *fe3.delivery.mp.microsoft.com Mircosoft Store *fe3.delivery.mp.microsoft.com id
SSLDecryptionExclusionPagingDisplay
[Tags] Positive UI Settings SSLDecryptionExclusion
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[3] xpath
PagingDisplay 50
2021-01-26 14:35:49 +08:00
SSLDecryptionCreateFQDNMinSize
[Tags] Boundary UI Settings SSLDecryptionExclusion
2020-12-30 13:59:34 +08:00
CreateSSLDecryptionExclusion *abc abc abc name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
Deletessl_del
2021-01-26 14:35:49 +08:00
SSLDecryptionCreateFQDNMaxSize
[Tags] Boundary UI Settings SSLDecryptionExclusion
2020-12-30 13:59:34 +08:00
CreateSSLDecryptionExclusion *CreateSSLDecryptionFQDNMaxSizeCreateSSLDecryptionFQDNMaSizetest CreateSSLDecryptionFQDNMaxSizeCreateSSLDecryptionFQDNMaSizetest CreateSSLDecryptionFQDNMaxSizeCreateSSLDecryptionFQDNMaSizetest name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
Deletessl_del
2021-01-26 14:35:49 +08:00
SSLDecryptionExclusionFQDNThreeCharacters
[Tags] Negtive UI Settings SSLDecryptionExclusion
CreateSSLDecryptionExclusionErrorVerification *te test //*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[1]/div/div[3] Content length is less than 4
2020-12-30 13:59:34 +08:00
2021-01-26 14:35:49 +08:00
SSLDecryptionExclusionFQDN65Characters
[Tags] Negtive UI Settings SSLDecryptionExclusion
CreateSSLDecryptionExclusionErrorVerification *SSLDecryptionExclusionFQDNThreeCharactersSSLDecryptionExclusioti test /html/body/div[last()]/p Each lable of domain may contain 1 to 63 characters.
2020-12-30 13:59:34 +08:00
2021-01-26 14:35:49 +08:00
SSLDecryptionExclusionFQDNNot*$Beginning
[Tags] Negtive UI Settings SSLDecryptionExclusion
CreateSSLDecryptionExclusionErrorVerification www.baidu.com test /html/body/div[last()]/p Suffix matching and exactly matching only.
SSLDecryptionExclusionFQDNSpecialChar
[Tags] Negtive UI Settings SSLDecryptionExclusion
CreateSSLDecryptionExclusionErrorVerification *!@#$%^&*(-/-*+ test /html/body/div[last()]/p Invalid domain, acceptable characters are a-z, 0-9, '-', '.' and '_'.
SSLDecryptionExclusionNullDescriptionAndFQDN
[Tags] Negtive UI Settings SSLDecryptionExclusion
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[3] xpath
click id=ssl_create
2021-03-09 11:03:39 +08:00
sleep ${sleep_min}
2021-01-26 14:35:49 +08:00
click id=ssl_ok
2021-03-09 11:03:39 +08:00
sleep ${sleep}
2021-01-26 14:35:49 +08:00
${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[1]/div/div[3]
${text2} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[2]/div/div[2]
Should Be Equal As Strings ${text1} Please enter the content
Should Be Equal As Strings ${text2} Please enter the content