Delete Object-category-case.robot

This commit is contained in:
liuyuanfang
2020-05-27 17:34:53 +08:00
parent 99b9778d21
commit 9d6f0858b1

View File

@@ -1,41 +0,0 @@
*** Settings ***
Force Tags tsg-ui objects category
Resource ../../../03-Variable/bifangapivariable.txt
Resource ../../../02-Keyword/Tsg_Ui/Objects/ObjectPages.robot
Library OperatingSystem
Resource ../../../02-Keyword/Tsg_Ui/Objects/Objects.robot
*** Test Cases ***
create-category-exactly-001
#新建Category
CreatePage Category create-category-exactly-001 keywordtext=$www.baidu.com
#验证新建是否成功
ui-object-search-name
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
Should Be Equal As Strings ${text} create-category-exactly-001
#删除对象
objects-delete
create-category-suffix-002
#新建Category
CreatePage Category create-category-suffix-002 keywordtext=*baidu.com
#验证新建是否成功
ui-object-search-name create-category-suffix-002
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
Should Be Equal As Strings ${text} create-category-suffix-002
#删除对象
objects-delete
edit-category-003
#新建Category
CreatePage Category create-category-suffix-002 keywordtext=*baidu.com
#验证新建是否成功
ui-object-search-name create-category-suffix-002
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
Should Be Equal As Strings ${text} create-category-suffix-002
#修改对象
object-edit-fqdn deit-category-003 $open.node.com
#查询修改对象
ui-object-search-name deit-category-003
#删除对象
objects-delete