修改关键字ID,修改将等待时间改为提取的关键字

This commit is contained in:
byb11
2021-03-09 11:03:39 +08:00
parent 813738e1e9
commit 6123632b8d
13 changed files with 206 additions and 202 deletions

View File

@@ -156,9 +156,9 @@ HijackFilesUploadExceed20MFile
[Tags] Negtive html Settings HijackFile
OpenPages sidebarProxy_Profiles Three-levelMenu=profilesTabs_Profile_HijackFiles
click id=hijackAdd
sleep 1
sleep ${sleep_min}
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div/div[1]/input ${path}hijack_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
@@ -174,9 +174,9 @@ HijackFilesCreateNullName
[Tags] Negtive UI Settings HijackFile
OpenPages sidebarProxy_Profiles profilesTabs_Profile_HijackFiles
click id=hijackAdd
Sleep 2
sleep ${sleep}
click id=hijackAddOk1
sleep 1
sleep ${sleep_min}
${text} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3]
${text1} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[4]/div/div[2]
Should Be Equal As Strings ${text} Please enter the content