修改将等待时间改为提取变量
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user