This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dongxiaoyan-tsg-autotest/01-TestCase/tsg_ui/ui_settings/Response_Pages_Case.robot
2020-05-29 17:08:22 +08:00

39 lines
2.1 KiB
Plaintext

*** 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