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/zResponsepagesCase.robot

27 lines
1.3 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
Library ../../../04-CustomLibrary/Custometest/UIAssert.py
Library Selenium2Library
*** Variables ***
*** Test Cases ***
CreateAndEdit
${ResponsrPageInfo} Create Dictionary CreateOrEdit=Create search=name Name=${TEST NAME} file=${path}response_pages_files\\Create-ResponsePages-test.html
${EditResponsrPageInfo} Create Dictionary CreateOrEdit=Edit search=id Name=${TEST NAME} file=${path}response_pages_files\\Create-ResponsePages-test.html
... EditName=Edit${TEST NAME} Delete=yes
ResponsrPageCreateAndEdit ${ResponsrPageInfo}
ResponsrPageCreateAndEdit ${EditResponsrPageInfo}
NoName
${ResponsrPageInfo} Create Dictionary CreateOrEdit=Create search=name Name=${EMPTY} file=${path}response_pages_files\\Create-ResponsePages-test.html
... Negtive=yes Assertposition=//*[@id="policy_Manipulation_create6"]/div[2]/form/div[1]/div/div[3] asserttext=Please enter the content
ResponsrPageCreateAndEdit ${ResponsrPageInfo}