1.修改关键字名称及内容 2.修改ResponsePageCase标签名增加新用例 3.添加新html为你佳能

This commit is contained in:
byb11
2020-12-24 18:10:19 +08:00
parent 81f529defb
commit 36ec2eb497
5 changed files with 218 additions and 27 deletions

View File

@@ -6,68 +6,71 @@ Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
*** Test Cases ***
CreateResponsePagesTypeHtml
[Tags] 正向 html Settings Response Page
Create-Response Pages CreateResponsePagesTypeHtml ${path}response_pages_files\\Create-Response Pages-test.html name
[Tags] PositiveTestCase html Settings ResponsePage
CreateResponsePages CreateResponsePagesTypeHtml ${path}response_pages_files\\Create-ResponsePages-test.html name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
DeleteresinseDel
CreateResponsePagesTypeHtm
[Tags] 正向 htm Settings Response Page
Create-Response Pages CreateResponsePagesTypeHtm ${path}response_pages_files\\Create-Response_Pages-test-2.htm name
[Tags] PositiveTestCase htm Settings ResponsePage
CreateResponsePages CreateResponsePagesTypeHtm ${path}response_pages_files\\Create-Response_Pages-test-2.htm name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
DeleteresinseDel
CreateResponsePagesNameMinSize
[Tags] 正向 htm Settings Response Page
Create-Response Pages 1 ${path}response_pages_files\\Create-Response_Pages-test-2.htm name
[Tags] PositiveTestCase htm Settings ResponsePage
CreateResponsePages 1 ${path}response_pages_files\\Create-Response_Pages-test-2.htm name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
DeleteresinseDel
CreateResponsePagesNameMaxSize
[Tags] 正向 htm Settings Response Page
Create-Response Pages CreateResponsePagesNameMaxSizeCreateResponsePagesNameMaxSizeCreateResponsePagesNameMaxSizeCreateResponsePagesNameMaxSizeCreateRe ${path}response_pages_files\\Create-Response_Pages-test-2.htm name
[Tags] PositiveTestCase htm Settings ResponsePages
CreateResponsePages CreateResponsePagesNameMaxSizeCreateResponsePagesNameMaxSizeCreateResponsePagesNameMaxSizeCreateResponsePagesNameMaxSizeCreateRe ${path}response_pages_files\\Create-Response_Pages-test-2.htm name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
DeleteresinseDel
CreateResponsePagesNameSpecialChar
[Tags] 正向 htm Settings Response Page
Create-Response Pages 中文+absc+моряков+@#¥%……&* ${path}response_pages_files\\Create-Response Pages-test.html name
[Tags] PositiveTestCase htm Settings ResponsePages
CreateResponsePages 中文+absc+моряков+@#¥%……&* ${path}response_pages_files\\Create-ResponsePages-test.html name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
DeleteresinseDel
EditResponsePagesSearchID
[Tags] 正向 htm Settings Response Page
Create-Response Pages Create-Response Pages-001 ${path}response_pages_files\\Create-Response Pages-test.html name
[Tags] PositiveTestCase htm Settings ResponsePages
CreateResponsePages Create-ResponsePagess-001 ${path}response_pages_files\\Create-ResponsePages-test.html name
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/span
Edit-Response Pages ${id} lyf-Edit-test-001 ${path}response_pages_files\\Create-Response Pages-test-1.html id
Edit-Response-Pages ${id} lyf-Edit-test-001 ${path}response_pages_files\\Create-ResponsePages-test-1.html id
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
DeleteresinseDel
EditResponsePagesSearchName
[Tags] 正向 htm Settings Response Page
Create-Response Pages Create-Response Pages-001 ${path}response_pages_files\\Create-Response Pages-test.html name
[Tags] PositiveTestCase htm Settings ResponsePages
CreateResponsePages Create-ResponsePagess-001 ${path}response_pages_files\\Create-ResponsePages-test.html name
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
Edit-Response Pages ${name} lyf-Edit-test-007 ${path}response_pages_files\\Create-Response Pages-test-1.html name
Edit-Response-Pages ${name} lyf-Edit-test-007 ${path}response_pages_files\\Create-ResponsePages-test-1.html name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
DeleteresinseDel
ResponsePageUpload20MFile
[Tags] 正向 html Settings Response Page
Create-Response Pages ResponsePageUpload20MFile ${path}response_pages_files\\20MFile.html name
[Tags] PositiveTestCase html Settings ResponsePages
CreateResponsePages ResponsePageUpload20MFile ${path}response_pages_files\\20MFile.html name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
DeleteresinseDel
CreateResponsePagesSpecialFileName
[Tags] PositiveTestCase html Settings ResponsePages
CreateResponsePages CreateResponsePagesSpecialFileName ${path}response_pages_files\\ВставкаСкриптов!@#$%^&(-+=‘;。,?.html name
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
DeleteresinseDel
ResponsePageUploadNullFile
[Tags] 反向 html Settings Response Page
[Tags] NegtivetestCase html Settings ResponsePages
UploadFilesSize ResponsePages ResponsePageUploadfile ${path}response_pages_files\\null.html
${text} get text xpath=//*[@id="policy_Manipulation_create6"]/div[1]
Should Be Equal As Strings ${text} Create Response Page
ResponsePageUploadExceed20MFile
[Tags] 反向 html Settings Response Page
[Tags] NegtivetestCase html Settings ResponsePages
UploadFilesSize ResponsePages ResponsePageUploadExceed20MFile ${path}response_pages_files\\Exceed20MFile.html
${text} get text xpath=//*[@id="policy_Manipulation_create6"]/div[1]
Should Be Equal As Strings ${text} Create Response Page
Should Be Equal As Strings ${text} Create Response Page