调整Ui自动化代码
This commit is contained in:
@@ -766,6 +766,7 @@ DecryptionKeyringsErrorVerification
|
||||
sleep ${sleep_min}
|
||||
click id=keyringsadd_sub #点击OK缇交
|
||||
Wait Until Element Is Enabled xpath=${Positioning} ${sleep_Wait}
|
||||
sleep ${sleep}
|
||||
${text1} Get Text xpath=${Positioning} #获取点击后页面文本信息
|
||||
Should Be Equal As Strings ${text1} ${Assertion} #断言
|
||||
|
||||
@@ -2614,7 +2615,7 @@ SortButton
|
||||
${One} Set Variable [1]
|
||||
${Two} Set Variable [2]
|
||||
${assert} Set Variable if "${page}" == "Trusted Certificate Authorities" //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span
|
||||
... "${page}" == "Decryption Keyrings" //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span
|
||||
... "${page}" == "Decryption Keyrings" //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[3]/td[1]/div/div/div/p/span
|
||||
... "${page}" == "Cached Intermediate Certificates" //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/p/span
|
||||
sleep ${sleep_min}
|
||||
${text1} get text xpath=${assert}
|
||||
|
||||
Reference in New Issue
Block a user