上传settings模块case

This commit is contained in:
liuyuanfang
2020-05-22 21:23:08 +08:00
parent 25c5647270
commit b2eaf3aba8

View File

@@ -0,0 +1,38 @@
*** Settings ***
Force Tags tsg-ui settings response_pages
Resource ../../../../03-Variable/bifangapivariable.txt
Library OperatingSystem
Resource ../../../../02-Keyword/Tsg_Ui/Setting/Settings.robot
*** Test Cases ***
Create_Response_pages-001
[Tags] html
Create-Response Pages Create-Response Pages-001 ${path}response_pages_files\\Create-Response Pages-test.html
Create_Response_pages-002
[Tags] htm
Create-Response Pages Create-Response Pages-001 ${path}response_pages_files\\Create-Response Pages-test-2.htm
Create_Response_pages-003
[Tags] name最小值
Create-Response Pages 1 ${path}response_pages_files\\Create-Response Pages-test-2.htm
Create_Response_pages-004
[Tags] name超过128字符
Create-Response Pages ${path}response_pages_files\\Create-Response Pages-test2.htm${path}response_pages_files\\Create-Response Pages-test2.htm${path}response_pages_files\\Create-Response Pages-test2.htm ${path}response_pages_files\\Create-Response Pages-test-2.htm
Create_Response_pages-005
[Tags] 中英俄特殊字符
Create-Response Pages 中文+absc+моряков+@#¥%……&* ${path}response_pages_files\\Create-Response Pages-test.html
Edit_Response_pages-006
[Tags] 修改+以id为查找对象
Create-Response Pages Create-Response Pages-001 ${path}response_pages_files\\Create-Response Pages-test.html
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/span
Edit-Response Pages id=input_list_li1 ${id} lyf-Edit-test-001 ${path}response_pages_files\\Create-Response Pages-test-1.html
Edit_Response_pages-007
[Tags] 修改+以name为查找对象
Create-Response Pages Create-Response Pages-001 ${path}response_pages_files\\Create-Response Pages-test.html
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
Edit-Response Pages id=input_list_li2 ${name} lyf-Edit-test-007 ${path}response_pages_files\\Create-Response Pages-test-1.html