From b9f53b7bdee78e74baf8e656faec6ca4bbfe9c62 Mon Sep 17 00:00:00 2001 From: liuyuanfang Date: Wed, 27 May 2020 17:19:19 +0800 Subject: [PATCH] Replace Object-HTTPSignature-Case.robot --- .../Object-HTTPSignature-Case.robot | 76 +++++++++---------- 1 file changed, 38 insertions(+), 38 deletions(-) diff --git a/01-TestCase/tsg-ui/ui-objects/Object-HTTPSignature-Case.robot b/01-TestCase/tsg-ui/ui-objects/Object-HTTPSignature-Case.robot index 32728e4..eac5ec4 100644 --- a/01-TestCase/tsg-ui/ui-objects/Object-HTTPSignature-Case.robot +++ b/01-TestCase/tsg-ui/ui-objects/Object-HTTPSignature-Case.robot @@ -7,11 +7,11 @@ Library OperatingSystem *** Test Cases *** create-HTTPSignature-Request-User-Agent-prefix-001 #新建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 - ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Request-User-Agent-prefix-001 #删除对象 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. #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Request-User-Agent-sub-002 #删除对象 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 #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Request-User-Agent-exactly-003 #删除对象 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 #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Request-User-Agent-suffix-004 #删除对象 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* #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Request-Cookie-prefix-005 #删除对象 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 #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Request-Cookie-sub-006 #删除对象 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 #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Request-Cookie-exactly-007 #删除对象 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 #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Request-Cookie-suffix-008 #删除对象 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* #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Response-Set-Cookie-prefix-009 #删除对象 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 #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Response-Set-Cookie-sub-010 #删除对象 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 #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Response-Set-Cookie-exactly-011 #删除对象 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 #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Response-Set-Cookie-suffix-012 #删除对象 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* #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Response-Content-Type-prefix-0013 #删除对象 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 #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Response-Content-Type-sub-0014 #删除对象 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 #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Response-Content-Type-exactly-0015 #删除对象 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 #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-Response-Content-Type-suffix-0016 #删除对象 objects-delete edit-HTTPSignature-017 #新建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 - ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span/span[2]/span - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + 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 #查询修改对象 @@ -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 #验证新建是否成功 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 - log ${text} + ${text} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span + Should Be Equal As Strings ${text} create-HTTPSignature-open-16-hex-0018 #删除对象 objects-delete