1.增加新的Case
This commit is contained in:
@@ -112,6 +112,11 @@ HijackFilesSpecialFileName
|
|||||||
CreateHijackFiles HijackFilesUpload20MFileTest ${path}hijack_files/ВставкаСкриптов!@#$%^&(-+=‘;。,?.html id=text/html0 name
|
CreateHijackFiles HijackFilesUpload20MFileTest ${path}hijack_files/ВставкаСкриптов!@#$%^&(-+=‘;。,?.html id=text/html0 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
|
|
||||||
|
HijackFilesDownloadFile
|
||||||
|
[Tags] PositiveTestCase Settings HijackFile
|
||||||
|
CreateHijackFiles lyf-test-001-apk ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
||||||
|
DownLoadFile ${Downloadpath}Create-Hijack Files-test.apk
|
||||||
|
|
||||||
HijackFilesUploadNullFile
|
HijackFilesUploadNullFile
|
||||||
[Tags] NegtivetestCase html Settings HijackFile
|
[Tags] NegtivetestCase html Settings HijackFile
|
||||||
@@ -125,4 +130,14 @@ HijackFilesUploadTypeDoesNotMatch
|
|||||||
[Tags] NegtivetestCase Settings HijackFile
|
[Tags] NegtivetestCase Settings HijackFile
|
||||||
UploadFilesSize HijackFiles HijackFilesUploadTypeDoesNotMatch ${path}hijack_files/Create-Hijack Files-test-6.svg Invalid file format , only supported gif , jpeg , png , svg , exe , apk , html
|
UploadFilesSize HijackFiles HijackFilesUploadTypeDoesNotMatch ${path}hijack_files/Create-Hijack Files-test-6.svg Invalid file format , only supported gif , jpeg , png , svg , exe , apk , html
|
||||||
|
|
||||||
|
CreateHijackFilesNullFileName
|
||||||
|
[Tags] NegtivetestCase Settings HijackFile
|
||||||
|
OpenPages sidebarProxy_Profiles profilesTabs_Profile_HijackFiles
|
||||||
|
click id=hijackAdd
|
||||||
|
Sleep 2
|
||||||
|
click id=hijackAddOk1
|
||||||
|
sleep 1
|
||||||
|
${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
|
||||||
|
Should Be Equal As Strings ${text1} Please enter the content
|
||||||
@@ -69,6 +69,11 @@ CreateInsertScriptSpecialFileName
|
|||||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
Delete
|
Delete
|
||||||
|
|
||||||
|
InsertScriptDownloadFile
|
||||||
|
[Tags] PositiveTestCase Settings InsertScript
|
||||||
|
CreateInsertScripts lyf-test-001-css ${path}insert_files\\Create-Insert Scripts-test.css css name
|
||||||
|
DownLoadFile ${Downloadpath}Create-Insert Scripts-test.css
|
||||||
|
|
||||||
InsertScriptsUpload20MFile
|
InsertScriptsUpload20MFile
|
||||||
[Tags] PositiveTestCase css Settings InsertScript
|
[Tags] PositiveTestCase css Settings InsertScript
|
||||||
CreateInsertScripts InsertScriptsUpload20MFile ${path}insert_files\\20MFile.css css name
|
CreateInsertScripts InsertScriptsUpload20MFile ${path}insert_files\\20MFile.css css name
|
||||||
@@ -85,4 +90,16 @@ InsertScriptsUploadExceed20MFile
|
|||||||
|
|
||||||
InsertScriptsFileTypeDoesNotMatch
|
InsertScriptsFileTypeDoesNotMatch
|
||||||
[Tags] NegtivetestCase css Settings InsertScript
|
[Tags] NegtivetestCase css Settings InsertScript
|
||||||
UploadFilesSize InsertScripts InsertScriptsFileTypeDoesNotMatch ${path}insert_files\\Create-Insert_Scripts-test.js File upload failed.
|
UploadFilesSize InsertScripts InsertScriptsFileTypeDoesNotMatch ${path}insert_files\\Create-Insert_Scripts-test.js File upload failed.
|
||||||
|
|
||||||
|
CreateInsertScritsNullFileName
|
||||||
|
[Tags] NegtivetestCase Settings InsertScrit
|
||||||
|
OpenPages sidebarProxy_Profiles profilesTabs_Profile_Insert
|
||||||
|
click id=insertAdd
|
||||||
|
Sleep 2
|
||||||
|
click id=insertAddOk1
|
||||||
|
sleep 1
|
||||||
|
${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
|
||||||
|
Should Be Equal As Strings ${text1} Please enter the content
|
||||||
|
|||||||
@@ -75,7 +75,7 @@ CreateResponsePagesNullFileName
|
|||||||
${text} get text xpath=//*[@id="policy_Manipulation_create6"]/div[2]/form/div[1]/div/div[3]
|
${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
|
Should Be Equal As Strings ${text} Please enter the content
|
||||||
|
|
||||||
DownloadFile
|
ResponsePagesDownloadFile
|
||||||
[Tags] PositiveTestCase Settings ResponsePages
|
[Tags] PositiveTestCase Settings ResponsePages
|
||||||
CreateResponsePages Create-ResponsePagess-001 ${path}response_pages_files\\Create-ResponsePages-test.html name
|
CreateResponsePages Create-ResponsePagess-001 ${path}response_pages_files\\Create-ResponsePages-test.html name
|
||||||
DownLoadFile ${Downloadpath}Create-ResponsePages-test.htm
|
DownLoadFile ${Downloadpath}Create-ResponsePages-test.htm
|
||||||
|
|||||||
Reference in New Issue
Block a user