修改将等待时间改为提取变量

This commit is contained in:
byb11
2021-03-09 11:04:37 +08:00
parent 6123632b8d
commit 2dafd31f93
2 changed files with 18 additions and 18 deletions

View File

@@ -90,11 +90,11 @@ ResponsePagesCreateNullNames
[Tags] Negtive UI Name Settings ResponsePages
OpenPages sidebarProxy_Profiles profilesTabs_Profile_ResponsePages
click id=respinseAdd
sleep 1
sleep ${sleep_min}
Choose File xpath=//*[@id="policy_Manipulation_create6"]/div[2]/form/div[2]/div/div/div/input ${path}response_pages_files\\Create-ResponsePages-test.html #上传文件
Sleep 2
sleep ${sleep}
click id=responseAddOk1
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="policy_Manipulation_create6"]/div[2]/form/div[1]/div/div[3]
Should Be Equal As Strings ${text} Please enter the content
@@ -106,9 +106,9 @@ ResponsePageUploadExceed20MFile
[Tags] Negtive UI File Settings ResponsePages
OpenPages sidebarProxy_Profiles profilesTabs_Profile_ResponsePages
click id=respinseAdd
sleep 1
sleep ${sleep_min}
Choose File xpath=//*[@id="policy_Manipulation_create6"]/div[2]/form/div[2]/div/div/div/input ${path}response_pages_files\\Exceed20MFile.html
sleep 1
sleep ${sleep_min}
${text} get text xpath=/html/body/div[last()]/p
Should Be Equal As Strings ${text} File size upload limit is 20MB