*** Settings ***
Force Tags tsg-ui settings Cached Intermediate Certificates
Resource ../../../03-Variable/bifangapivariable.txt
Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
Library OperatingSystem
*** Test Cases ***
CachedIntermediateCertificates-001
[Tags] Positive UI Settings CachedIntermediateCertificates
Sleep 1
click id=children6 #点击一级目录Settings
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
Search-Cached Intermediate Certificates ${id} xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[10]/div/div/div id
CachedIntermediateCertificates-002
${Source Website} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/p/span
Search-Cached Intermediate Certificates ${Source Website} xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[10]/div/div/div Source Website