调整Ui自动化代码

This commit is contained in:
byb11
2021-05-12 15:14:31 +08:00
parent e626643d09
commit 7732256b20
4 changed files with 38 additions and 38 deletions

View File

@@ -64,7 +64,7 @@ MyAccountEditDayExceedMax
[Tags] Negtive UI Administration My Account
OpenMyAccountPage
EditMyAccount ${username} 1111111 1111111 open 2147483648
Assertion //*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[6]/div/div[2] Cannot be 0, exceed maximum 2147483647, and be empty
Assertion /html/body/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[6]/div/div[2] Cannot be 0, exceed maximum 2147483647, and be empty
MyAccountPasswordNotModified
[Tags] Negtive UI Administration My Account
@@ -77,5 +77,5 @@ MyAccountTwoPasswordsAreInconsistent
[Tags] Negtive UI Administration My Account
OpenMyAccountPage
EditMyAccount ${username} 111 111111111
Assertion //*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[4]/div/div[2] The two passwords are inconsistent
Assertion /html/body/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[4]/div/div[2] The two passwords are inconsistent

View File

@@ -102,28 +102,28 @@ CachedIntermediateCertificatesCreateTimeSortButton
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[4] xpath
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[12]/div/span/i Cached Intermediate Certificates
CachedIntermediateCertificatesImportExpiredCertificate #导入过期证书
[Tags] Positive UI Settings CachedIntermediateCertificates
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[4] xpath
${text1} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span
Open Connection 192.168.44.11 port=22
Login root *#00#QAZxsw@edc
Write cd /home/byb/
Write ./1111.sh
sleep ${sleep}
${text2} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span
Should Be Equal As Strings ${text1} ${text2}
# CachedIntermediateCertificatesImportExpiredCertificate #导入过期证书
# [Tags] Positive UI Settings CachedIntermediateCertificates
# OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[4] xpath
# ${text1} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span
# Open Connection 192.168.44.11 port=22
# Login root *#00#QAZxsw@edc
# Write cd /home/byb/
# Write ./1111.sh
# sleep ${sleep}
# ${text2} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span
# Should Be Equal As Strings ${text1} ${text2}
CachedIntermediateCertificatesSynchronizeVerification #验证修改证书状态 rides是否同步
[Tags] Positive UI Settings CachedIntermediateCertificates
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[4] xpath
Settings-Search 1 id
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[10]/div/div/div/span
sleep 3
Open Connection ${host} port=22
Login root Xxg-PUB<>90
${Results} Execute Command redis-cli -h ${host} -p 7002 keys EFF*PXY_EXCH_INTERMEDIA_CERT,1
sleep ${sleep_min}
Should Not Be Equal ${Results} EFFECTIVE_RULE:PXY_EXCH_INTERMEDIA_CERT,1
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[10]/div/div/div/span
# CachedIntermediateCertificatesSynchronizeVerification #验证修改证书状态 rides是否同步
# [Tags] Positive UI Settings CachedIntermediateCertificates
# OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[4] xpath
# Settings-Search 1 id
# click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[10]/div/div/div/span
# sleep 3
# Open Connection ${host} port=22
# Login root Xxg-PUB<>90
# ${Results} Execute Command redis-cli -h ${host} -p 7002 keys EFF*PXY_EXCH_INTERMEDIA_CERT,1
# sleep ${sleep_min}
# Should Not Be Equal ${Results} EFFECTIVE_RULE:PXY_EXCH_INTERMEDIA_CERT,1
# click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[10]/div/div/div/span