调整Ui自动化代码

This commit is contained in:
byb11
2021-04-26 10:45:47 +08:00
parent 47ca680bba
commit ea6ff33a3e
3 changed files with 11 additions and 10 deletions

View File

@@ -8,7 +8,7 @@ MyAccountEditClose
[Tags] Positive UI Administration My Account
OpenMyAccountPage
EditMyAccount ${TEST NAME} 1111111 1111111 close
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
Wait Until Element Is Enabled xpath=//*[@id="app"]/following-sibling::div/p ${sleep_Wait}
OpenMyAccountPage
EditMyAccount ${username} ${password} ${password} close
@@ -16,7 +16,7 @@ MyAccountEditOpen
[Tags] Positive UI Administration My Account
OpenMyAccountPage
EditMyAccount ${TEST NAME} 1111111 1111111 Open
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
Wait Until Element Is Enabled xpath=//*[@id="app"]/following-sibling::div/p ${sleep_Wait}
OpenMyAccountPage
EditMyAccount ${username} ${password} ${password} close
@@ -24,7 +24,7 @@ MyAccountEditNameMinSize
[Tags] Boundary UI Administration My Account
OpenMyAccountPage
EditMyAccount 1 1111111 1111111 close
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
Wait Until Element Is Enabled xpath=//*[@id="app"]/following-sibling::div/p ${sleep_Wait}
OpenMyAccountPage
EditMyAccount ${username} ${password} ${password} close
@@ -32,7 +32,7 @@ MyAccountEditNameMaxSize
[Tags] Boundary UI Administration My Account
OpenMyAccountPage
EditMyAccount MyAccountEditNameMaxSizeMyAccoun 1111111 1111111 close
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
Wait Until Element Is Enabled xpath=//*[@id="app"]/following-sibling::div/p ${sleep_Wait}
OpenMyAccountPage
EditMyAccount ${username} ${password} ${password} close
@@ -40,7 +40,7 @@ MyAccountEditNameSpecialChar
[Tags] Boundary UI Administration My Account
OpenMyAccountPage
EditMyAccount 中文+absc+моряков+@#¥%……&* 1111111 1111111 close
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
Wait Until Element Is Enabled xpath=//*[@id="app"]/following-sibling::div/p ${sleep_Wait}
OpenMyAccountPage
EditMyAccount ${username} ${password} ${password} close
@@ -48,7 +48,7 @@ MyAccountEditDayMinimum
[Tags] Boundary UI Administration My Account
OpenMyAccountPage
EditMyAccount ${username} 1111111 1111111 open 1
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
Wait Until Element Is Enabled xpath=//*[@id="app"]/following-sibling::div/p ${sleep_Wait}
OpenMyAccountPage
EditMyAccount ${username} ${password} ${password} close
@@ -56,7 +56,7 @@ MyAccountEditDayMax
[Tags] Boundary UI Administration My Account
OpenMyAccountPage
EditMyAccount ${username} 1111111 1111111 open 2147483647
Wait Until Element Is Enabled xpath=/html/body/div[last()]/p ${sleep_Wait}
Wait Until Element Is Enabled xpath=//*[@id="app"]/following-sibling::div/p ${sleep_Wait}
OpenMyAccountPage
EditMyAccount ${username} ${password} ${password} close
@@ -71,7 +71,7 @@ MyAccountPasswordNotModified
OpenMyAccountPage
EditMyAccount ${username} ${password} ${password}
Wait Until Element Is Enabled xpath=//*[@id="app"]/following-sibling::div/p ${sleep_Wait}
Assertion /html/body/div[last()]/p The password setting cannot be the same as the previous one.
Assertion //*[@id="app"]/following-sibling::div/p The password setting cannot be the same as the previous one.
MyAccountTwoPasswordsAreInconsistent
[Tags] Negtive UI Administration My Account

View File

@@ -182,7 +182,7 @@ DecryptionKeyringsTypeSortButton
[Tags] Positive UI Settings DecryptionKeyrings
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath
SortButton //*[@id="ly-table1-listcontent"]/div/div[2]/table/thead/tr/th[3]/div/span/i Decryption Keyrings
DecryptionKeyringsExpiryDateSortButton
[Tags] Positive UI Settings DecryptionKeyrings
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[2] xpath