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_accounts/Accountscase.robot
lyf fee5a2fc89 1、提价修改的UI关键字和case
2、提交Dashboard的Traffic关键字和一个case
3、提交GetTimeLibrary中新加的代码
2020-08-18 18:02:07 +08:00

147 lines
4.8 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 accounts
Resource ../../../02-Keyword/tsg_ui/accounts/Accountspages.robot
Library OperatingSystem
Resource ../../../02-Keyword/tsg_ui/accounts/Accounts.robot
*** Test Cases ***
create-user-001
#新建Accounts
CreatePage 0000 ssjjyy 111111 log
#验证新建是否成功
Ui-User-Search-Name 0000
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/span/span
log ${name}
Should Be Equal As Strings ${name} 0000
#删除对象
User-Delete
create-user-002
#新建Accounts
CreatePage-null ${EMPTY} ${EMPTY} ${EMPTY}
create-user-003
#新建Accounts
CreatePage 111111111111111111111111111111111 ${EMPTY} ${EMPTY} log
create-user-004
#新建Accounts
CreatePage xiaohong kkkkkk aaaa log
#验证新建是否成功
Ui-User-Search-Name xiaohong
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/span/span
log ${name}
Should Be Equal As Strings ${name} xiaohong
#删除对象
User-Delete
create-user-005
#新建Accounts
CreatePage 小红 小红 a1@й log
#验证新建是否成功
Ui-User-Search-Name 小红
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/span/span
log ${name}
Should Be Equal As Strings ${name} 小红
#删除对象
User-Delete
create-user-006
#新建Accounts
CreatePage малый малый малый log
#验证新建是否成功
Ui-User-Search-Name малый
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/span/span
log ${name}
Should Be Equal As Strings ${name} малый
#删除对象
User-Delete
edit-user-007
#新建Accounts
CreatePage 修改 edit 111111 log
#验证新建是否成功
Ui-User-Search-Name 修改
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/span/span
log ${name}
Should Be Equal As Strings ${name} 修改
#修改对象
User-Edit edit-1 111111 log
#查询修改对象
Ui-User-Search-Name edit-1
#删除对象
User-Delete
create-user-008
#新建Accounts
CreatePage @#!&* *^%$ *^%$ log
#验证新建是否成功
Ui-User-Search-Name @#!&*
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/span/span
log ${name}
Should Be Equal As Strings ${name} @#!&*
#删除对象
User-Delete
edit-user-009
#新建Accounts
CreatePage 修改 edit 111111 log
#验证新建是否成功
Ui-User-Search-Name 修改
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/span/span
log ${name}
Should Be Equal As Strings ${name} 修改
#修改对象
User-Edit 要修改了啊 @#¥123lyfый close
#查询修改对象
Ui-User-Search-Name 要修改了啊
#删除对象
User-Delete
create-user-010
#新建Accounts
CreatePage @#!&* *^%$ *^%$ log
#验证新建是否成功
Ui-User-Search-Username *
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/span/span
#log ${name}
#Should Be Equal As Strings ${name} *
#删除对象
User-Delete
create-user-011
#新建Accounts
CreatePage @#!&* *^%$ *^%$ log
#验证新建是否成功
Ui-User-Search-Name @
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/span/span
#log ${name}
#Should Be Equal As Strings ${name} @
#删除对象
User-Delete
delete-user-012
#新建Accounts
CreatePage @#!&* *^%$ *^%$ log
#验证新建是否成功
Ui-User-Search-Name @#!&*
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/span/span
log ${name}
Should Be Equal As Strings ${name} @#!&*
#删除对象
User-Delete
user-013
Pages
Ui-Pages 5
#${count} Get Matching Xpath Count xpath=//*[@id="app"]/div/div[3]/div/div/div[4]/div/span[2]/div/input #获取列表数据量
#log ${count}
create-user-014
#新建Accounts
Ui-Button log