1.新增加MyAccount测试用例 2.新增关于MyAccount的关键字
This commit is contained in:
@@ -424,7 +424,38 @@ EditLockTime
|
||||
input text xpath=//*[@id="policy_Manipulation2"]/div/div[2]/div/div/form/div[4]/div/div[1]/input ${Time}
|
||||
sleep 1
|
||||
click element id=wanAdd_ok
|
||||
sleep 2
|
||||
sleep 2
|
||||
|
||||
OpenMyAccountPage
|
||||
[Documentation] 打开MyAccount侧滑框
|
||||
sleep 1
|
||||
Mouse Hover xpath=//*[@id="app"]/div/div[1]/div[2]/div/span/div/span
|
||||
sleep 1
|
||||
click element id=editInfo
|
||||
sleep 2
|
||||
|
||||
EditMyAccount
|
||||
[Arguments] ${name} ${password} ${ConfirmPassword} ${RequiredPasswordChange}=null ${Day}=null
|
||||
[Documentation]
|
||||
...
|
||||
sleep 1
|
||||
input text xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[1]/div/div[1]/input ${name}
|
||||
sleep 1
|
||||
input text xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[3]/div/div/input ${password}
|
||||
sleep 1
|
||||
input text xpath=//*[@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/input ${ConfirmPassword}
|
||||
sleep 1
|
||||
${status} Get Element Attribute xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div class
|
||||
run keyword if "${RequiredPasswordChange}"=="open" and "${status}"=="el-switch" run keywords sleep 1
|
||||
... AND click element xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div/span
|
||||
... AND sleep 1
|
||||
... AND input text xpath=//*[@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/input ${Day}
|
||||
run keyword if "${RequiredPasswordChange}"=="close" and "${status}"=="el-switch is-checked" run keywords sleep 1
|
||||
... AND click element xpath=//*[@id="app"]/div/div[3]/div[1]/div/div/div[1]/div/div/div[1]/div/div/div[1]/div[2]/form/div[5]/div/div/span
|
||||
... ELSE log 不修改密码提醒按钮
|
||||
sleep 1
|
||||
click element id=userOk
|
||||
sleep 1
|
||||
|
||||
|
||||
LoginRestrictionsObtainSQLIP
|
||||
|
||||
Reference in New Issue
Block a user