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/CachedIntermediateCertificatesCase.robot

33 lines
1.7 KiB
Plaintext
Raw Normal View History

2020-05-29 17:01:46 +08:00
*** Settings ***
Force Tags tsg-ui settings Cached Intermediate Certificates
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 ***
CachedIntermediateCertificates-001
[Tags] Positive UI Settings CachedIntermediateCertificates
2020-05-29 17:01:46 +08:00
Sleep 1
click id=children6 #点击一级目录Settings
2020-05-29 17:01:46 +08:00
Sleep 1
click id=sidebarProxy_CertificateManagement #点击二级目录Trusted Certificate Authorities
Sleep 2
click xpath=//*[@id="proxyTabs"]/div/ul/li[4] #点击Cached Intermediate Certificates按钮
Sleep 3
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span
Sleep 2
Search-Cached Intermediate Certificates ${id} xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[10]/div/div/div id
2020-05-29 17:01:46 +08:00
CachedIntermediateCertificates-002
[Tags] Positive UI Settings CachedIntermediateCertificates
2020-05-29 17:01:46 +08:00
Sleep 1
click id=children6 #点击一级目录Settings
2020-05-29 17:01:46 +08:00
Sleep 1
click id=sidebarProxy_CertificateManagement #点击二级目录Trusted Certificate Authorities
Sleep 2
click xpath=//*[@id="proxyTabs"]/div/ul/li[4] #点击Cached Intermediate Certificates按钮
Sleep 3
${Source Website} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/p/span
2020-05-29 17:01:46 +08:00
Sleep 3
Search-Cached Intermediate Certificates ${Source Website} xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[10]/div/div/div Source Website