18 lines
1.1 KiB
Plaintext
18 lines
1.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 ***
|
||
|
|
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}
|