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-HTTPSignature-Case.robot

265 lines
12 KiB
Plaintext
Raw Normal View History

2020-05-29 17:01:46 +08:00
*** Settings ***
Force Tags tsg-ui objects HTTPSignature
Resource ../../../03-Variable/bifangapivariable.txt
2020-07-23 18:55:17 +08:00
Resource ../../../02-Keyword/tsg_ui/objects/NewObjectPages.robot
2020-05-29 17:01:46 +08:00
Library OperatingSystem
2020-07-23 18:55:17 +08:00
Resource ../../../02-Keyword/tsg_ui/objects/NewObject.robot
2020-05-29 17:01:46 +08:00
*** Test Cases ***
2020-07-23 18:55:17 +08:00
create-http-signature-001
#新建
CreatePage HTTPSignature single 656e676c697368636f6e74656e74 reqrestype=res reqresheader=sck keywordtext=656e676c697368636f6e74656e74 hex=open
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name 656e676c697368636f6e74656e74
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} 656e676c697368636f6e74656e74
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
edit-http-signature-002
#新建
CreatePage HTTPSignature single text* reqrestype=res reqresheader=ct keywordtext=text*
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name text*
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} text*
object-edit-HTTPSignature text* req ck $mmmm
ui-object-search-name text*
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-003
#新建
CreatePage HTTPSignature single *скрипцияк reqrestype=res reqresheader=ct keywordtext=*скрипцияк
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name *скрипцияк
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} *скрипцияк
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-004
#新建
CreatePage HTTPSignature single $支持中文 reqrestype=res reqresheader=ct keywordtext=$支持中文
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name $支持中文
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} $支持中文
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-005
#新建
CreatePage HTTPSignature single 1234@#% reqrestype=res reqresheader=ct keywordtext=1234@#%
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name 1234@#%
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} 1234@#%
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-006
#新建
CreatePage HTTPSignature single text* reqrestype=res reqresheader=ct keywordtext=text*
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name text*
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} text*
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-007
#新建
CreatePage HTTPSignature single *скрипцияк reqrestype=res reqresheader=sck keywordtext=*скрипцияк
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name *скрипцияк
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} *скрипцияк
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-008
#新建
CreatePage HTTPSignature single $支持中文 reqrestype=res reqresheader=sck keywordtext=$支持中文
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name $支持中文
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} $支持中文
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-009
#新建
CreatePage HTTPSignature single 1234@#% reqrestype=res reqresheader=sck keywordtext=1234@#%
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name 1234@#%
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} 1234@#%
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-010
#新建
CreatePage HTTPSignature single mmmm* reqrestype=res reqresheader=sck keywordtext=mmmm*
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name mmmm*
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} mmmm*
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-011
#新建
CreatePage HTTPSignature single *скрипцияк reqrestype=req reqresheader=ck keywordtext=*скрипцияк
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name *скрипцияк
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} *скрипцияк
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-012
#新建
CreatePage HTTPSignature single $支持中文 reqrestype=req reqresheader=ck keywordtext=$支持中文
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name $支持中文
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} $支持中文
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-013
#新建
CreatePage HTTPSignature single 1234@#% reqrestype=req reqresheader=ck keywordtext=1234@#%
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name 1234@#%
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} 1234@#%
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-014
#新建
CreatePage HTTPSignature single mmmm* reqrestype=req reqresheader=ck keywordtext=mmmm*
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name mmmm*
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} mmmm*
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-015
#新建
CreatePage HTTPSignature single *скрипцияк reqrestype=req reqresheader=ua keywordtext=*скрипцияк
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name *скрипцияк
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} *скрипцияк
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-016
#新建
CreatePage HTTPSignature single $支持中文 reqrestype=req reqresheader=ua keywordtext=$支持中文
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name $支持中文
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} $支持中文
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-017
#新建
CreatePage HTTPSignature single 1234@#% reqrestype=req reqresheader=ua keywordtext=1234@#%
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name 1234@#%
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} 1234@#%
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-018
#新建
CreatePage HTTPSignature single mmmm* reqrestype=req reqresheader=ua keywordtext=mmmm*
2020-05-29 17:01:46 +08:00
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name mmmm*
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} mmmm*
2020-05-29 17:01:46 +08:00
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-019
#新建Account
CreatePage HTTPSignature single w reqrestype=req reqresheader=ua keywordtext=www.*
#验证新建是否成功
2020-07-23 18:55:17 +08:00
ui-object-search-name w
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} w
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-020
#新建Account
CreatePage HTTPSignature single 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 reqrestype=req reqresheader=ua keywordtext=www.*
#验证新建是否成功
ui-object-search-name 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/div/div/span
2020-07-23 18:55:17 +08:00
Should Be Equal As Strings ${text} 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
#删除对象
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-021
#新建
CreatePage HTTPSignature single 中@enция keywordtext=中@enция
${objects_name} Create List 中@enция
CreatePage HTTPSignature group group中@enция object_name=${objects_name}
#验证新建是否成功
ui-object-search-name group中@enция
objects-delete
clear-object-search HTTPSignature
2020-07-23 18:55:17 +08:00
ui-object-search-name 中@enция
objects-delete
create-http-signature-022
#新建
CreatePage HTTPSignature single w keywordtext=中@enция
${objects_name} Create List w
CreatePage HTTPSignature group group中@enция object_name=${objects_name}
#验证新建是否成功
ui-object-search-name group中@enция
objects-delete
clear-object-search HTTPSignature
2020-07-23 18:55:17 +08:00
ui-object-search-name w
objects-delete
create-http-signature-023
#新建
CreatePage HTTPSignature single 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111 keywordtext=中@enция
${objects_name} Create List 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
CreatePage HTTPSignature group group中@enция object_name=${objects_name}
#验证新建是否成功
ui-object-search-name group中@enция
objects-delete
clear-object-search HTTPSignature
2020-07-23 18:55:17 +08:00
ui-object-search-name 11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111
objects-delete
create-http-signature-024
#新建
CreatePage HTTPSignature single w keywordtext=中@enция
CreatePage HTTPSignature single 中@enция keywordtext=中@enция
${objects_name} Create List w 中@enция
CreatePage HTTPSignature group group中@enция object_name=${objects_name}
#验证新建是否成功
ui-object-search-name group中@enция
objects-delete
clear-object-search HTTPSignature
2020-07-23 18:55:17 +08:00
ui-object-search-name 中@enция
objects-delete
clear-object-search HTTPSignature
2020-07-23 18:55:17 +08:00
ui-object-search-name w
objects-delete
2020-07-23 18:55:17 +08:00
create-http-signature-025
Pages
SelectObj HTTPSignature
Ui-Pages 5