86 lines
5.4 KiB
Plaintext
86 lines
5.4 KiB
Plaintext
*** 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 ***
|
|
SSLDecryptionExclusionCreateExactlyMatching
|
|
[Tags] Positive UI Settings SSLDecryptionExclusion
|
|
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
|
|
|
|
SSLDecryptionExclusionCreateSuffixMatching
|
|
[Tags] Positive UI Settings SSLDecryptionExclusion
|
|
CreateSSLDecryptionExclusion *myssl.com myssl.com myssl.com name
|
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
|
Deletessl_del
|
|
|
|
SSLDecryptionExclusionEditSearchID
|
|
[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[1]/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
|
|
|
|
SSLDecryptionExclusionEditSearchName
|
|
[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
|
|
Deletessl_del
|
|
|
|
SSLDecryptionExclusionEditDefault
|
|
[Tags] Positive UI Settings SSLDecryptionExclusion
|
|
OpenPages //*[@id="Settings"]/ul/li[3] //*[@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 //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[3] xpath
|
|
PagingDisplay 50
|
|
|
|
SSLDecryptionCreateFQDNMinSize
|
|
[Tags] Boundary UI Settings SSLDecryptionExclusion
|
|
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
|
|
|
|
SSLDecryptionCreateFQDNMaxSize
|
|
[Tags] Boundary UI Settings SSLDecryptionExclusion
|
|
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
|
|
|
|
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] The length of the name is at most 128 characters and cannot be less than 4 characters
|
|
|
|
SSLDecryptionExclusionFQDN65Characters
|
|
[Tags] Negtive UI Settings SSLDecryptionExclusion
|
|
CreateSSLDecryptionExclusionErrorVerification *SSLDecryptionExclusionFQDNThreeCharactersSSLDecryptionExclusioti test /html/body/div[last()]/p Each lable of domain may contain 1 to 63 characters.
|
|
|
|
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 //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[3] xpath
|
|
click id=ssl_create
|
|
sleep ${sleep_min}
|
|
click id=ssl_ok
|
|
sleep ${sleep}
|
|
${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[1]/div/div[3]
|
|
${text2} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[3]/form/div[2]/div/div[2]
|
|
Should Be Equal As Strings ${text1} The length of the name is at most 128 characters and cannot be less than 4 characters
|
|
Should Be Equal As Strings ${text2} Please enter the content
|
|
|