From 47484a07b2159a7ab6bba01df0ddb21e80de112c Mon Sep 17 00:00:00 2001 From: byb11 Date: Mon, 18 Jan 2021 16:40:46 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=94=B9=E7=94=A8=E4=BE=8B=20=20=20?= =?UTF-8?q?2.=20=E4=BF=AE=E6=94=B9=E5=85=B3=E9=94=AE=E5=AD=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 01-TestCase/tsg_ui/ui_settings/HijackFilesCase.robot | 2 +- 01-TestCase/tsg_ui/ui_settings/InsertScriptCase.robot | 2 +- 01-TestCase/tsg_ui/ui_settings/ResponsePagesCase.robot | 2 +- 01-TestCase/tsg_ui/ui_settings/SSLDecryptionExclusionCase.robot | 2 +- 02-Keyword/tsg_ui/setting/Settings.robot | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/01-TestCase/tsg_ui/ui_settings/HijackFilesCase.robot b/01-TestCase/tsg_ui/ui_settings/HijackFilesCase.robot index e55e5ae..5b4038d 100644 --- a/01-TestCase/tsg_ui/ui_settings/HijackFilesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/HijackFilesCase.robot @@ -128,7 +128,7 @@ HijackFilesUploadExceed20MFile HijackFilesUploadTypeDoesNotMatch [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 Type and file are not matched. CreateHijackFilesNullFileName [Tags] NegtivetestCase Settings HijackFile diff --git a/01-TestCase/tsg_ui/ui_settings/InsertScriptCase.robot b/01-TestCase/tsg_ui/ui_settings/InsertScriptCase.robot index a9e1203..0dc83f9 100644 --- a/01-TestCase/tsg_ui/ui_settings/InsertScriptCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/InsertScriptCase.robot @@ -90,7 +90,7 @@ InsertScriptsUploadExceed20MFile InsertScriptsFileTypeDoesNotMatch [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 The data in the uploaded file is empty or in the wrong format CreateInsertScritsNullFileName [Tags] NegtivetestCase Settings InsertScrit diff --git a/01-TestCase/tsg_ui/ui_settings/ResponsePagesCase.robot b/01-TestCase/tsg_ui/ui_settings/ResponsePagesCase.robot index f3ef0c4..d072512 100644 --- a/01-TestCase/tsg_ui/ui_settings/ResponsePagesCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/ResponsePagesCase.robot @@ -78,7 +78,7 @@ CreateResponsePagesNullFileName ResponsePagesDownloadFile [Tags] PositiveTestCase Settings ResponsePages CreateResponsePages Create-ResponsePagess-001 ${path}response_pages_files\\Create-ResponsePages-test.html name - DownLoadFile ${Downloadpath}Create-ResponsePages-test.htm + DownLoadFile ${Downloadpath}Create-ResponsePages-test.html ResponsePageUploadNullFile [Tags] NegtivetestCase html Settings ResponsePages diff --git a/01-TestCase/tsg_ui/ui_settings/SSLDecryptionExclusionCase.robot b/01-TestCase/tsg_ui/ui_settings/SSLDecryptionExclusionCase.robot index 72794b9..99ffa5e 100644 --- a/01-TestCase/tsg_ui/ui_settings/SSLDecryptionExclusionCase.robot +++ b/01-TestCase/tsg_ui/ui_settings/SSLDecryptionExclusionCase.robot @@ -13,7 +13,7 @@ CreateSSLDecryptionExclusionExactlyMatching CreateSSLDecryptionExclusionSuffixMatching [Tags] PositiveTestCase SuffixMatching Settings SSLDecryptionExclusion - Create-SSL Decryption Exclusion *myssl.com myssl.com myssl.com name + CreateSSLDecryptionExclusion *myssl.com myssl.com myssl.com name click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span Deletessl_del diff --git a/02-Keyword/tsg_ui/setting/Settings.robot b/02-Keyword/tsg_ui/setting/Settings.robot index babb318..2228c07 100644 --- a/02-Keyword/tsg_ui/setting/Settings.robot +++ b/02-Keyword/tsg_ui/setting/Settings.robot @@ -1870,7 +1870,7 @@ DownLoadFile [Documentation] ${DownloadFilePath}:文件下载路径 sleep 1 click id=dowmloadi - sleep 2 + sleep 3 Run_Keyword_And_Continue_On_Failure File_Should_Exist ${DownloadFilePath} #出错后继续执行,如文件在指定路径存在则通过 DeleteReferencedData