修改关键字ID,修改将等待时间改为提取的关键字
This commit is contained in:
@@ -97,9 +97,9 @@ InsertScriptsUploadExceed20MFile
|
||||
[Tags] Negtive UI File Settings InsertScript
|
||||
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_Insert
|
||||
click id=insertAdd
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
Choose File xpath=//*[@id="insertAddUpload"]/div[1]/input ${path}insert_files\\Exceed20MFile.css
|
||||
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
|
||||
|
||||
@@ -111,9 +111,9 @@ InsertScritsCreateNullName
|
||||
[Tags] Negtive UI Settings InsertScrit
|
||||
OpenPages sidebarProxy_Profiles profilesTabs_Profile_Insert
|
||||
click id=insertAdd
|
||||
Sleep 2
|
||||
sleep ${sleep}
|
||||
click id=insertAddOk1
|
||||
sleep 1
|
||||
sleep ${sleep_min}
|
||||
${text} get text xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[1]/div/div[3]
|
||||
${text1} get text xpath=//*[@id="policy_Manipulation_create8"]/div[2]/form/div[3]/div/div[2]
|
||||
Should Be Equal As Strings ${text} Please enter the content
|
||||
|
||||
Reference in New Issue
Block a user