页面定位发生变化调整UI自动化代码

This commit is contained in:
byb11
2021-06-16 18:44:33 +08:00
parent 3007ccb543
commit 4d89fbf79a
26 changed files with 378 additions and 306 deletions

View File

@@ -71,7 +71,7 @@ TrustedCertificateAuthoritiesDownLoadCertificate
TrustedCertificateAuthoritiesEditDefaultCertificate
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath
Settings-Search 1 id
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
sleep ${sleep_min}
@@ -79,58 +79,58 @@ TrustedCertificateAuthoritiesEditDefaultCertificate
TrustedCertificateAuthoritiesTurnPage
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath
TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[4]/div/button[1]
... //*[@id="app"]/div/div[3]/div[2]/div/div[2]/div[1]/div/div[4]/div/span[2]/div/input 2 //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span
TrustedCertificateAuthoritiesPagingDisplay
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath
PagingDisplay 50
TrustedCertificateAuthoritiesIDSortButton
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[1]/div/span/i Trusted Certificate Authorities
TrustedCertificateAuthoritiesNameSortButton
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[2]/div/span/i Trusted Certificate Authorities
TrustedCertificateAuthoritiesIssuerBySortButton
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[4]/div/span/i Trusted Certificate Authorities
TrustedCertificateAuthoritiesIssuerToSortButton
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[5]/div/span/i Trusted Certificate Authorities
TrustedCertificateAuthoritiesExpiryDateSortButton
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[7]/div/span/i Trusted Certificate Authorities
TrustedCertificateAuthoritiesCommonNameSortButton
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[8]/div/span/i Trusted Certificate Authorities
TrustedCertificateAuthoritiesCertificateFingerprintSortButton
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[9]/div/span/i Trusted Certificate Authorities
TrustedCertificateAuthoritiesModifiedTimeSortButton
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[10]/div/span/i Trusted Certificate Authorities
TrustedCertificateAuthoritiesCertificateExpirationDelay
[Tags] Positive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath
Settings-Search CertificateExpirationDelay name
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[2]/td[6]/div/div/div/span
Should Be Equal As Strings Expired ${text}
@@ -161,7 +161,7 @@ TrustedCertificateAuthoritiesCreateFileNameSpecialChar
TrustedCertificateAuthoritiesCreateNameThreeCharacters
[Tags] Negtive UI Settings TrustedCertificateAuthorities
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
OpenPages //*[@id="Settings"]/ul/li[3] //*[@id="proxyTabs"]/div/ul/li[1] xpath
click id=app_create #点击Import
sleep ${sleep}
input id=authoritiesAdd_name1 123 #输入name