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_objects/Object_Subscriber_Id_Case.robot
2021-01-19 18:23:16 +08:00

127 lines
5.7 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

*** Settings ***
Force Tags tsg-ui object sub-id
Resource ../../../03-Variable/bifangapivariable.txt
Resource ../../../02-Keyword/tsg_ui/objects/NewObjectPages.robot
Library OperatingSystem
Resource ../../../02-Keyword/tsg_ui/objects/NewObject.robot
*** Test Cases ***
edit-subscriber-id-001
#新建
CreatePage SubscriberID single $test37 keywordtext=$test37
#验证新建是否成功
ui-object-search-name $test37
${text} get text //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
Should Be Equal As Strings ${text} $test37
#修改
object-edit-Subscriber-ID $test37 $test35
ui-object-search-name $test37
#删除对象
objects-delete
create-subscriber-id-002
#新建
CreatePage SubscriberID single $abc_@%-+123中ДдБб keywordtext=$abc_@%-+123中ДдБб
#验证新建是否成功
ui-object-search-name $abc_@%-+123中ДдБб
${text} get text //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
Should Be Equal As Strings ${text} $abc_@%-+123中ДдБб
#删除对象
objects-delete
create-subscriber-id-003
#新建
CreatePage SubscriberID single $test37 keywordtext=$test37
#验证新建是否成功
ui-object-search-name $test37
${text} get text //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
Should Be Equal As Strings ${text} $test37
#删除对象
objects-delete
create-subscriber-id-004
#新建
CreatePage SubscriberID single $支持中文 keywordtext=$www.result.cn
#验证新建是否成功
ui-object-search-name $支持中文
${text} get text //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
Should Be Equal As Strings ${text} $支持中文
#删除对象
objects-delete
create-subscriber-id-005
#新建Account
CreatePage SubscriberID single w keywordtext=$www.node.com
#验证新建是否成功
ui-object-search-name w
${text} get text //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
Should Be Equal As Strings ${text} w
#删除对象
objects-delete
create-subscriber-id-006
#新建Account
CreatePage SubscriberID single 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 keywordtext=$www.node.com
#验证新建是否成功
ui-object-search-name 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
${text} get text //*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
Should Be Equal As Strings ${text} 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
#删除对象
objects-delete
create-subscriber-id-007
#新建
CreatePage SubscriberID single 中@enция keywordtext=$www.node.com
${objects_name} Create List 中@enция
CreatePage SubscriberID group group中@enция object_name=${objects_name}
#验证新建是否成功
ui-object-search-name group中@enция
objects-delete
clear-object-search SubscriberID
ui-object-search-name 中@enция
objects-delete
create-subscriber-id-008
#新建
CreatePage SubscriberID single w keywordtext=$www.node.com
${objects_name} Create List w
CreatePage SubscriberID group group中@enция object_name=${objects_name}
#验证新建是否成功
ui-object-search-name group中@enция
objects-delete
clear-object-search SubscriberID
ui-object-search-name w
objects-delete
create-subscriber-id-009
#新建
CreatePage SubscriberID single 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 keywordtext=$www.node.com
${objects_name} Create List 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
CreatePage SubscriberID group group中@enция object_name=${objects_name}
#验证新建是否成功
ui-object-search-name group中@enция
objects-delete
clear-object-search SubscriberID
ui-object-search-name 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
objects-delete
create-subscriber-id-010
#新建
CreatePage SubscriberID single w keywordtext=$www.node.com
CreatePage SubscriberID single 中@enция keywordtext=$www.result.cn
${objects_name} Create List w 中@enция
CreatePage SubscriberID group group中@enция object_name=${objects_name}
#验证新建是否成功
ui-object-search-name group中@enция
objects-delete
clear-object-search SubscriberID
ui-object-search-name 中@enция
objects-delete
clear-object-search SubscriberID
ui-object-search-name w
objects-delete
create-subscriber-id-011
Pages
SelectObj SubscriberID
Ui-Pages 5