Replace Object-HTTPSignature-Case.robot
This commit is contained in:
@@ -7,11 +7,11 @@ Library OperatingSystem
|
|||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
create-HTTPSignature-Request-User-Agent-prefix-001
|
create-HTTPSignature-Request-User-Agent-prefix-001
|
||||||
#新建user-agent
|
#新建user-agent
|
||||||
CreatePage ReqRes create-HTTPSignature-Request-User-Agent-prefix-001 reqrestype=req reqresheader=ua keywordtext=Mozilla/5.0*
|
CreatePage ReqRes create-HTTPSignature-Request-User-Agent-prefix-001 reqrestype=req reqresheader=ua keywordtext=Mozilla/5.0*
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Request-User-Agent-prefix-001
|
ui-object-search-name create-HTTPSignature-Request-User-Agent-prefix-001
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Request-User-Agent-prefix-001
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -20,8 +20,8 @@ create-HTTPSignature-Request-User-Agent-sub-002
|
|||||||
CreatePage ReqRes create-HTTPSignature-Request-User-Agent-sub-002 reqrestype=req reqresheader=ua keywordtext=Mozilla/5.
|
CreatePage ReqRes create-HTTPSignature-Request-User-Agent-sub-002 reqrestype=req reqresheader=ua keywordtext=Mozilla/5.
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Request-User-Agent-sub-002
|
ui-object-search-name create-HTTPSignature-Request-User-Agent-sub-002
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Request-User-Agent-sub-002
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -30,8 +30,8 @@ create-HTTPSignature-Request-User-Agent-exactly-003
|
|||||||
CreatePage ReqRes create-HTTPSignature-Request-User-Agent-exactly-003 reqrestype=req reqresheader=ua keywordtext=$Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
|
CreatePage ReqRes create-HTTPSignature-Request-User-Agent-exactly-003 reqrestype=req reqresheader=ua keywordtext=$Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/81.0.4044.113 Safari/537.36
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Request-User-Agent-exactly-003
|
ui-object-search-name create-HTTPSignature-Request-User-Agent-exactly-003
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Request-User-Agent-exactly-003
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -40,8 +40,8 @@ create-HTTPSignature-Request-User-Agent-suffix-004
|
|||||||
CreatePage ReqRes create-HTTPSignature-Request-User-Agent-suffix-004 reqrestype=req reqresheader=ua keywordtext=*Safari/537.36
|
CreatePage ReqRes create-HTTPSignature-Request-User-Agent-suffix-004 reqrestype=req reqresheader=ua keywordtext=*Safari/537.36
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Request-User-Agent-suffix-004
|
ui-object-search-name create-HTTPSignature-Request-User-Agent-suffix-004
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Request-User-Agent-suffix-004
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -50,8 +50,8 @@ create-HTTPSignature-Request-Cookie-prefix-005
|
|||||||
CreatePage ReqRes create-HTTPSignature-Request-Cookie-prefix-005 reqrestype=req reqresheader=ck keywordtext=cookie*
|
CreatePage ReqRes create-HTTPSignature-Request-Cookie-prefix-005 reqrestype=req reqresheader=ck keywordtext=cookie*
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Request-Cookie-prefix-005
|
ui-object-search-name create-HTTPSignature-Request-Cookie-prefix-005
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Request-Cookie-prefix-005
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -60,8 +60,8 @@ create-HTTPSignature-Request-Cookie-sub-006
|
|||||||
CreatePage ReqRes create-HTTPSignature-Request-Cookie-sub-006 reqrestype=req reqresheader=ck keywordtext=cookie
|
CreatePage ReqRes create-HTTPSignature-Request-Cookie-sub-006 reqrestype=req reqresheader=ck keywordtext=cookie
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Request-Cookie-sub-006
|
ui-object-search-name create-HTTPSignature-Request-Cookie-sub-006
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Request-Cookie-sub-006
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -70,8 +70,8 @@ create-HTTPSignature-Request-Cookie-exactly-007
|
|||||||
CreatePage ReqRes create-HTTPSignature-Request-Cookie-exactly-007 reqrestype=req reqresheader=ck keywordtext=$cookie
|
CreatePage ReqRes create-HTTPSignature-Request-Cookie-exactly-007 reqrestype=req reqresheader=ck keywordtext=$cookie
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Request-Cookie-exactly-007
|
ui-object-search-name create-HTTPSignature-Request-Cookie-exactly-007
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Request-Cookie-exactly-007
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -80,8 +80,8 @@ create-HTTPSignature-Request-Cookie-suffix-008
|
|||||||
CreatePage ReqRes create-HTTPSignature-Request-Cookie-suffix-008 reqrestype=req reqresheader=ck keywordtext=*cookie
|
CreatePage ReqRes create-HTTPSignature-Request-Cookie-suffix-008 reqrestype=req reqresheader=ck keywordtext=*cookie
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Request-Cookie-suffix-008
|
ui-object-search-name create-HTTPSignature-Request-Cookie-suffix-008
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Request-Cookie-suffix-008
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -90,8 +90,8 @@ create-HTTPSignature-Response-Set-Cookie-prefix-009
|
|||||||
CreatePage ReqRes create-HTTPSignature-Response-Set-Cookie-prefix-009 reqrestype=res reqresheader=sck keywordtext=set-cookie*
|
CreatePage ReqRes create-HTTPSignature-Response-Set-Cookie-prefix-009 reqrestype=res reqresheader=sck keywordtext=set-cookie*
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Response-Set-Cookie-prefix-009
|
ui-object-search-name create-HTTPSignature-Response-Set-Cookie-prefix-009
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Response-Set-Cookie-prefix-009
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -100,8 +100,8 @@ create-HTTPSignature-Response-Set-Cookie-sub-010
|
|||||||
CreatePage ReqRes create-HTTPSignature-Response-Set-Cookie-sub-010 reqrestype=res reqresheader=sck keywordtext=set-cookie
|
CreatePage ReqRes create-HTTPSignature-Response-Set-Cookie-sub-010 reqrestype=res reqresheader=sck keywordtext=set-cookie
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Response-Set-Cookie-sub-010
|
ui-object-search-name create-HTTPSignature-Response-Set-Cookie-sub-010
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Response-Set-Cookie-sub-010
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -110,8 +110,8 @@ create-HTTPSignature-Response-Set-Cookie-exactly-011
|
|||||||
CreatePage ReqRes create-HTTPSignature-Response-Set-Cookie-exactly-011 reqrestype=res reqresheader=sck keywordtext=$set-cookie
|
CreatePage ReqRes create-HTTPSignature-Response-Set-Cookie-exactly-011 reqrestype=res reqresheader=sck keywordtext=$set-cookie
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Response-Set-Cookie-exactly-011
|
ui-object-search-name create-HTTPSignature-Response-Set-Cookie-exactly-011
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Response-Set-Cookie-exactly-011
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -120,8 +120,8 @@ create-HTTPSignature-Response-Set-Cookie-suffix-012
|
|||||||
CreatePage ReqRes create-HTTPSignature-Response-Set-Cookie-suffix-012 reqrestype=res reqresheader=sck keywordtext=*set-cookie
|
CreatePage ReqRes create-HTTPSignature-Response-Set-Cookie-suffix-012 reqrestype=res reqresheader=sck keywordtext=*set-cookie
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Response-Set-Cookie-suffix-012
|
ui-object-search-name create-HTTPSignature-Response-Set-Cookie-suffix-012
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Response-Set-Cookie-suffix-012
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -130,8 +130,8 @@ create-HTTPSignature-Response-Content-Type-prefix-0013
|
|||||||
CreatePage ReqRes create-HTTPSignature-Response-Content-Type-prefix-0013 reqrestype=res reqresheader=ct keywordtext=Content-Type*
|
CreatePage ReqRes create-HTTPSignature-Response-Content-Type-prefix-0013 reqrestype=res reqresheader=ct keywordtext=Content-Type*
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Response-Content-Type-prefix-0013
|
ui-object-search-name create-HTTPSignature-Response-Content-Type-prefix-0013
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Response-Content-Type-prefix-0013
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -140,8 +140,8 @@ create-HTTPSignature-Response-Content-Type-sub-0014
|
|||||||
CreatePage ReqRes create-HTTPSignature-Response-Content-Type-sub-0014 reqrestype=res reqresheader=ct keywordtext=Content-Type
|
CreatePage ReqRes create-HTTPSignature-Response-Content-Type-sub-0014 reqrestype=res reqresheader=ct keywordtext=Content-Type
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Response-Content-Type-sub-0014
|
ui-object-search-name create-HTTPSignature-Response-Content-Type-sub-0014
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Response-Content-Type-sub-0014
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -150,8 +150,8 @@ create-HTTPSignature-Response-Content-Type-exactly-0015
|
|||||||
CreatePage ReqRes create-HTTPSignature-Response-Content-Type-exactly-0015 reqrestype=res reqresheader=ct keywordtext=$Content-Type
|
CreatePage ReqRes create-HTTPSignature-Response-Content-Type-exactly-0015 reqrestype=res reqresheader=ct keywordtext=$Content-Type
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Response-Content-Type-exactly-0015
|
ui-object-search-name create-HTTPSignature-Response-Content-Type-exactly-0015
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Response-Content-Type-exactly-0015
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
@@ -160,18 +160,18 @@ create-HTTPSignature-Response-Content-Type-suffix-0016
|
|||||||
CreatePage ReqRes create-HTTPSignature-Response-Content-Type-suffix-0016 reqrestype=res reqresheader=ct keywordtext=*Content-Type
|
CreatePage ReqRes create-HTTPSignature-Response-Content-Type-suffix-0016 reqrestype=res reqresheader=ct keywordtext=*Content-Type
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Response-Content-Type-suffix-0016
|
ui-object-search-name create-HTTPSignature-Response-Content-Type-suffix-0016
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Response-Content-Type-suffix-0016
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|
||||||
edit-HTTPSignature-017
|
edit-HTTPSignature-017
|
||||||
#新建user-agent
|
#新建user-agent
|
||||||
CreatePage ReqRes create-HTTPSignature-Request-User-Agent-prefix-001 reqrestype=req reqresheader=ua keywordtext=Mozilla/5.0*
|
CreatePage ReqRes create-HTTPSignature-Request-User-Agent-prefix-001 reqrestype=req reqresheader=ua keywordtext=Mozilla/5.0*
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-Request-User-Agent-prefix-001
|
ui-object-search-name create-HTTPSignature-Request-User-Agent-prefix-001
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-Request-User-Agent-prefix-001
|
||||||
#修改对象
|
#修改对象
|
||||||
object-edit-HTTPSignature edit-HTTPSignature-017 res sck 8f6c 6362 31 36 8fdb 5236 hex=open
|
object-edit-HTTPSignature edit-HTTPSignature-017 res sck 8f6c 6362 31 36 8fdb 5236 hex=open
|
||||||
#查询修改对象
|
#查询修改对象
|
||||||
@@ -184,7 +184,7 @@ create-HTTPSignature-open-16-hex-0018
|
|||||||
CreatePage ReqRes create-HTTPSignature-open-16-hex-0018 reqrestype=res reqresheader=ct keywordtext=*63 6f 6e 74 65 6e 74 hex=open
|
CreatePage ReqRes create-HTTPSignature-open-16-hex-0018 reqrestype=res reqresheader=ct keywordtext=*63 6f 6e 74 65 6e 74 hex=open
|
||||||
#验证新建是否成功
|
#验证新建是否成功
|
||||||
ui-object-search-name create-HTTPSignature-open-16-hex-0018
|
ui-object-search-name create-HTTPSignature-open-16-hex-0018
|
||||||
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span
|
${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
log ${text}
|
Should Be Equal As Strings ${text} create-HTTPSignature-open-16-hex-0018
|
||||||
#删除对象
|
#删除对象
|
||||||
objects-delete
|
objects-delete
|
||||||
|
|||||||
Reference in New Issue
Block a user