1、提价修改的UI关键字和case
2、提交Dashboard的Traffic关键字和一个case 3、提交GetTimeLibrary中新加的代码
This commit is contained in:
@@ -8,14 +8,15 @@ Resource ../../../02-Keyword/tsg_ui/objects/NewObject.robot
|
||||
*** Test Cases ***
|
||||
edit-account-001
|
||||
#新建Account
|
||||
CreatePage Account single 0000 keywordtext=0000
|
||||
CreatePage Account single 00000 keywordtext=0000
|
||||
#验证新建是否成功
|
||||
ui-object-search-name 0000
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/span
|
||||
Should Be Equal As Strings ${text} 0000
|
||||
ui-object-search-name 00000
|
||||
sleep 2
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/div/span
|
||||
Should Be Equal As Strings ${text} 00000
|
||||
#修改Account
|
||||
object-edit-account 0000 $0000
|
||||
ui-object-search-name 0000
|
||||
object-edit-account 00000 $0000
|
||||
ui-object-search-name 00000
|
||||
#删除对象
|
||||
objects-delete
|
||||
|
||||
@@ -24,7 +25,7 @@ create-account-002
|
||||
CreatePage Account single *скрипцияк keywordtext=*скрипцияк
|
||||
#验证新建是否成功
|
||||
ui-object-search-name *скрипцияк
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/span
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/div/span
|
||||
Should Be Equal As Strings ${text} *скрипцияк
|
||||
#删除对象
|
||||
objects-delete
|
||||
@@ -34,7 +35,7 @@ create-account-003
|
||||
CreatePage Account single $支持中文 keywordtext=$支持中文
|
||||
#验证新建是否成功
|
||||
ui-object-search-name $支持中文
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/span
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/div/span
|
||||
Should Be Equal As Strings ${text} $支持中文
|
||||
#删除对象
|
||||
objects-delete
|
||||
@@ -44,7 +45,7 @@ create-account-004
|
||||
CreatePage Account single 1234@#% keywordtext=1234@#%
|
||||
#验证新建是否成功
|
||||
ui-object-search-name 1234@#%
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/span
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/div/span
|
||||
Should Be Equal As Strings ${text} 1234@#%
|
||||
#删除对象
|
||||
objects-delete
|
||||
@@ -54,7 +55,7 @@ create-account-005
|
||||
CreatePage Account single www.* keywordtext=www.*
|
||||
#验证新建是否成功
|
||||
ui-object-search-name www.*
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/span
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/div/span
|
||||
Should Be Equal As Strings ${text} www.*
|
||||
#删除对象
|
||||
objects-delete
|
||||
@@ -64,7 +65,7 @@ create-account-006
|
||||
CreatePage Account single w keywordtext=www.*
|
||||
#验证新建是否成功
|
||||
ui-object-search-name w
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/span
|
||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/div/span
|
||||
Should Be Equal As Strings ${text} w
|
||||
#删除对象
|
||||
objects-delete
|
||||
|
||||
Reference in New Issue
Block a user