1.修改Case 2.修改及增加关键字
This commit is contained in:
@@ -5,7 +5,8 @@ Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
|||||||
Library OperatingSystem
|
Library OperatingSystem
|
||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
Search_Cached_Intermediate_Certificates-001
|
CachedIntermediateCertificates-001
|
||||||
|
[Tags] Positive UI Settings CachedIntermediateCertificates
|
||||||
Sleep 1
|
Sleep 1
|
||||||
click id=children6 #点击一级目录Settings
|
click id=children6 #点击一级目录Settings
|
||||||
Sleep 1
|
Sleep 1
|
||||||
@@ -17,7 +18,8 @@ Search_Cached_Intermediate_Certificates-001
|
|||||||
Sleep 2
|
Sleep 2
|
||||||
Search-Cached Intermediate Certificates ${id} xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[10]/div/div/div id
|
Search-Cached Intermediate Certificates ${id} xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[10]/div/div/div id
|
||||||
|
|
||||||
Search_Cached_Intermediate_Certificates-002
|
CachedIntermediateCertificates-002
|
||||||
|
[Tags] Positive UI Settings CachedIntermediateCertificates
|
||||||
Sleep 1
|
Sleep 1
|
||||||
click id=children6 #点击一级目录Settings
|
click id=children6 #点击一级目录Settings
|
||||||
Sleep 1
|
Sleep 1
|
||||||
@@ -5,117 +5,99 @@ Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
|||||||
Library OperatingSystem
|
Library OperatingSystem
|
||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
CreateDecryptionKeyringsNameMinSize
|
DecryptionKeyringsCreateCARootAndRSA2048
|
||||||
[Tags] PositiveTestCase RootCertificate Settings DecryptionKeyrings
|
[Tags] Positive UI CARoot Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings test ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
|
CreateDecryptionKeyrings lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 2 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
|
DeleteKeyrings_del
|
||||||
|
DecryptionKeyringsCreateCARootAndRSA1024
|
||||||
|
[Tags] Positive UI CARoot Settings DecryptionKeyrings
|
||||||
|
CreateDecryptionKeyrings lyf-RF-test-002 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 2 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet0 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
CreateDecryptionKeyringsNameMaxSize
|
DecryptionKeyringsCreateCARootAndSECP256r1HSM
|
||||||
[Tags] PositiveTestCase RootCertificate Settings DecryptionKeyrings
|
[Tags] Positive UI CARoot Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings CreateDecryptionKeyringsNameMaxSizeCreateDecryptionKeyringsNameMaxSizeCreateDecryptionKeyringsNameMaxSizeCreateDecryptionKeyring ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
|
CreateDecryptionKeyrings lyf-RF-test-003 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet2 name shift=close PrivateKeyType=HSM
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
|
||||||
DeleteKeyrings_del
|
|
||||||
|
|
||||||
CreateDecryptionKeyringsNameSpecialChar
|
|
||||||
[Tags] PositiveTestCase RootCertificate Settings DecryptionKeyrings
|
|
||||||
CreateDecryptionKeyrings ВставкаСкриптов!@#$%^&(-+=‘;。,? ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
|
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
CreateDecryptionKeyringsRootCertificateAndRSA2048
|
DecryptionKeyringsCreateCARootAndSECP384r1
|
||||||
[Tags] PositiveTestCase RootCertificate Settings DecryptionKeyrings
|
[Tags] Positive UI CARoot Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
|
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
|
||||||
DeleteKeyrings_del
|
|
||||||
CreateDecryptionKeyringsRootCertificateAndRSA1024
|
|
||||||
[Tags] PositiveTestCase RootCertificate Settings DecryptionKeyrings
|
|
||||||
CreateDecryptionKeyrings lyf-RF-test-002 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet0 name
|
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
|
||||||
DeleteKeyrings_del
|
|
||||||
|
|
||||||
CreateDecryptionKeyringsRootCertificateAndSECP256r1
|
|
||||||
[Tags] PositiveTestCase RootCertificate Settings DecryptionKeyrings
|
|
||||||
CreateDecryptionKeyrings lyf-RF-test-003 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet2 name
|
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
|
||||||
DeleteKeyrings_del
|
|
||||||
|
|
||||||
CreateDecryptionKeyringsRootCertificateAndSECP384r1
|
|
||||||
[Tags] PositiveTestCase RootCertificate Settings DecryptionKeyrings
|
|
||||||
CreateDecryptionKeyrings lyf-RF-test-004 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet3 name
|
CreateDecryptionKeyrings lyf-RF-test-004 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet3 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
CreateDecryptionKeyringsRootCertificateOpenButton
|
DecryptionKeyringsCreateCARootOpenButtonHSM
|
||||||
[Tags] PositiveTestCase RootCertificate Settings DecryptionKeyrings
|
[Tags] Positive UI CARoot Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-005 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet3 name shift=open
|
CreateDecryptionKeyrings lyf-RF-test-005 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet3 name shift=open PrivateKeyType=HSM
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
CreateDecryptionKeyringsIntermediateCertificateAndSECP384r1
|
DecryptionKeyringsCreateCAMiddleAndSECP384r1
|
||||||
[Tags] PositiveTestCase IntermediateCertificate Settings DecryptionKeyrings
|
[Tags] Positive UI CAMiddle Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 23 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet3 name
|
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 23 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet3 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
CreateDecryptionKeyringsIntermediateCertificateAndSECP256r1
|
DecryptionKeyringsCreateCAMiddleAndSECP256r1HSM
|
||||||
[Tags] PositiveTestCase IntermediateCertificate Settings DecryptionKeyrings
|
[Tags] Positive UI CAMiddle Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 1 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet2 name
|
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 1 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet2 name PrivateKeyType=HSM
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
CreateDecryptionKeyringsIntermediateCertificateAndRSA2048
|
DecryptionKeyringsCreateCAMiddleAndRSA2048
|
||||||
[Tags] PositiveTestCase IntermediateCertificate Settings DecryptionKeyrings
|
[Tags] Positive UI CAMiddle Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet1 name
|
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet1 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
CreateDecryptionKeyringsIntermediateCertificateAndRSA1024
|
DecryptionKeyringsCreateCAMiddleAndRSA1024
|
||||||
[Tags] PositiveTestCase IntermediateCertificate Settings DecryptionKeyrings
|
[Tags] Positive UI CAMiddle Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet0 name
|
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet0 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
CreateDecryptionKeyringsIntermediateCertificateOpenButton
|
DecryptionKeyringsCreateCAMiddleOpenButtonHSM
|
||||||
[Tags] PositiveTestCase IntermediateCertificate Settings DecryptionKeyrings
|
[Tags] Positive UI CAMiddle Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet0 name
|
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet0 name
|
||||||
... open
|
... open HSM
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
CreateDecryptionKeyringsEnd-entityAndRSA1024
|
DecryptionKeyringsCreateCAEntityAndRSA1024
|
||||||
[Tags] PositiveTestCase End-entity Settings DecryptionKeyrings
|
[Tags] Positive UI CAEntity Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-013 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 23 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet0 name
|
CreateDecryptionKeyrings lyf-RF-test-013 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 23 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet0 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
CreateDecryptionKeyringsEnd-entityAndRSA2048
|
DecryptionKeyringsCreateCAEntityAndRSA2048
|
||||||
[Tags] PositiveTestCase End-entity Settings DecryptionKeyrings
|
[Tags] Positive UI CAEntity Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-014 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 23 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet1 name
|
CreateDecryptionKeyrings lyf-RF-test-014 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 23 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet1 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
CreateDecryptionKeyringsEnd-entityAndSECP256r1
|
DecryptionKeyringsCreateCAEntityAndSECP256r1
|
||||||
[Tags] PositiveTestCase End-entity Settings DecryptionKeyrings
|
[Tags] Positive UI CAEntity Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-015 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 23 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet2 name
|
CreateDecryptionKeyrings lyf-RF-test-015 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 23 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet2 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
CreateDecryptionKeyringsEnd-entityAndSECP384r1
|
DecryptionKeyringsCreateCAEntityAndSECP384r1
|
||||||
[Tags] PositiveTestCase End-entity Settings DecryptionKeyrings
|
[Tags] Positive UI CAEntity Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-016 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 23 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet3 name
|
CreateDecryptionKeyrings lyf-RF-test-016 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 23 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet3 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
CreateDecryptionKeyringsEnd-entityOpenButton
|
DecryptionKeyringsCreateCAEntityOpenButton
|
||||||
[Tags] PositiveTestCase End-entity Settings DecryptionKeyrings
|
[Tags] Positive UI CAEntity Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-017 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 1 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet3 name
|
CreateDecryptionKeyrings lyf-RF-test-017 ${path}keyrings//end-entity//caentity.chain.pem ${path}keyrings//end-entity//caentity.key 1 id=certificateType_select2 id=keyringsadd_publicKeyAlgoSelet3 name
|
||||||
... open
|
... open
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
EditDecryptionKeyringsSearchID
|
DecryptionKeyringsEditSearchID
|
||||||
[Tags] PositiveTestCase Settings DecryptionKeyrings
|
[Tags] Positive UI Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet0 name
|
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet0 name
|
||||||
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/p/span
|
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/p/span
|
||||||
EditDecryptionKeyrings ${id} lyf-RF-edit-1 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 1
|
EditDecryptionKeyrings ${id} lyf-RF-edit-1 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 1
|
||||||
@@ -123,13 +105,31 @@ EditDecryptionKeyringsSearchID
|
|||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
EditDecryptionKeyringsSearchName
|
DecryptionKeyringsEditSearchName
|
||||||
[Tags] PositiveTestCase Settings DecryptionKeyrings
|
[Tags] Positive UI Settings DecryptionKeyrings
|
||||||
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet0 name
|
CreateDecryptionKeyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet0 name
|
||||||
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
EditDecryptionKeyrings ${name} lyf-RF-edit-1 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 1
|
EditDecryptionKeyrings ${name} lyf-RF-edit-1 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 1
|
||||||
... id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
|
... id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
|
|
||||||
|
DecryptionKeyringsCreateNameMinSize
|
||||||
|
[Tags] Boundary UI Settings DecryptionKeyrings
|
||||||
|
CreateDecryptionKeyrings test ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
|
DeleteKeyrings_del
|
||||||
|
|
||||||
|
DecryptionKeyringsCreateNameMaxSize
|
||||||
|
[Tags] Boundary UI Settings DecryptionKeyrings
|
||||||
|
CreateDecryptionKeyrings CreateDecryptionKeyringsNameMaxSizeCreateDecryptionKeyringsNameMaxSizeCreateDecryptionKeyringsNameMaxSizeCreateDecryptionKeyring ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
|
DeleteKeyrings_del
|
||||||
|
|
||||||
|
DecryptionKeyringsNameCreateSpecialChar
|
||||||
|
[Tags] Boundary UI Settings DecryptionKeyrings
|
||||||
|
CreateDecryptionKeyrings ВставкаСкриптов!@#$%^&(-+=‘;。,? ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 23 id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 name
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
|
DeleteKeyrings_del
|
||||||
|
|
||||||
|
|
||||||
@@ -64,6 +64,7 @@ HijackFilesEditSearchName
|
|||||||
CreateHijackFiles HijackFilesEditSearchName ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
CreateHijackFiles HijackFilesEditSearchName ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
||||||
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/span
|
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/span
|
||||||
EditHijackFiles ${name} lyf-Edit-test-001 ${path}hijack_files\\Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
EditHijackFiles ${name} lyf-Edit-test-001 ${path}hijack_files\\Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
||||||
|
click id=dowmloadi
|
||||||
DownLoadFile ${path}hijack_files/Create-Hijack Files-test.apk ${Downloadpath}Create-Hijack Files-test.apk
|
DownLoadFile ${path}hijack_files/Create-Hijack Files-test.apk ${Downloadpath}Create-Hijack Files-test.apk
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
@@ -73,6 +74,7 @@ HijackFilesEditSearchId
|
|||||||
CreateHijackFiles lyf-test-001-apk ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
CreateHijackFiles lyf-test-001-apk ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
||||||
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/span
|
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/span
|
||||||
EditHijackFiles ${id} lyf-Edit-test-002 ${path}hijack_files\\Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 id
|
EditHijackFiles ${id} lyf-Edit-test-002 ${path}hijack_files\\Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 id
|
||||||
|
click id=dowmloadi
|
||||||
DownLoadFile ${path}hijack_files/Create-Hijack Files-test.apk ${Downloadpath}Create-Hijack Files-test.apk
|
DownLoadFile ${path}hijack_files/Create-Hijack Files-test.apk ${Downloadpath}Create-Hijack Files-test.apk
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
DeletehijackDel
|
DeletehijackDel
|
||||||
@@ -88,8 +90,11 @@ HijackFilesEditButtonStatus
|
|||||||
HijackFilesDownloadFile
|
HijackFilesDownloadFile
|
||||||
[Tags] Positive UI Settings HijackFile
|
[Tags] Positive UI Settings HijackFile
|
||||||
CreateHijackFiles lyf-test-001-apk ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
CreateHijackFiles lyf-test-001-apk ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
||||||
|
click id=dowmloadi
|
||||||
DownLoadFile ${path}hijack_files/Create-Hijack Files-test.apk ${Downloadpath}Create-Hijack Files-test.apk
|
DownLoadFile ${path}hijack_files/Create-Hijack Files-test.apk ${Downloadpath}Create-Hijack Files-test.apk
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[2]/div/span
|
||||||
|
DeletehijackDel
|
||||||
|
|
||||||
HijackFilesCreateNameMinSize
|
HijackFilesCreateNameMinSize
|
||||||
[Tags] Boundary UI Name Settings HijackFile
|
[Tags] Boundary UI Name Settings HijackFile
|
||||||
CreateHijackFiles 1 ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
CreateHijackFiles 1 ${path}hijack_files/Create-Hijack Files-test.apk id=application/vnd.android.package-archive0 name
|
||||||
|
|||||||
@@ -4,15 +4,13 @@ Resource ../../../03-Variable/bifangapivariable.txt
|
|||||||
Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
||||||
Library OperatingSystem
|
Library OperatingSystem
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
IP_Libraries_Create_Country-001
|
IPLibrariesCreateCountry-001
|
||||||
#ip段
|
[Tags] Positive UI Settings DecryptionKeyrings
|
||||||
${iplist} create list 10.1.1.1-20.1.1.1 20.1.1.1-30.1.1.1
|
${iplist} create list 10.1.1.1-20.1.1.1 20.1.1.1-30.1.1.1
|
||||||
#新建国家
|
|
||||||
Create_Ip_Libraries Geo Name Country Africa 115111 L1111 ${iplist} j=2 Country=L1 Longitude=1 Latitude=2
|
Create_Ip_Libraries Geo Name Country Africa 115111 L1111 ${iplist} j=2 Country=L1 Longitude=1 Latitude=2
|
||||||
#删除
|
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-002
|
IPLibrariesCreateCountry-002
|
||||||
#新建ip归属地-国家(输入框最小值)
|
#新建ip归属地-国家(输入框最小值)
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
@@ -21,7 +19,7 @@ IP_Libraries_Create_Country-002
|
|||||||
#删除
|
#删除
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-003
|
IPLibrariesCreateCountry-003
|
||||||
#新建ip归属地-国家
|
#新建ip归属地-国家
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
@@ -30,7 +28,7 @@ IP_Libraries_Create_Country-003
|
|||||||
#删除
|
#删除
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-004
|
IPLibrariesCreateCountry-004
|
||||||
#新建ip归属地-国家,经纬度输入负数
|
#新建ip归属地-国家,经纬度输入负数
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
@@ -39,7 +37,7 @@ IP_Libraries_Create_Country-004
|
|||||||
#删除
|
#删除
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-005
|
IPLibrariesCreateCountry-005
|
||||||
#新建ip归属地-国家(输入框最大值)
|
#新建ip归属地-国家(输入框最大值)
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
@@ -48,7 +46,7 @@ IP_Libraries_Create_Country-005
|
|||||||
#删除
|
#删除
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-006
|
IPLibrariesCreateCountry-006
|
||||||
#新建ip归属地-国家(输入多个ip组合)
|
#新建ip归属地-国家(输入多个ip组合)
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2 0.0.0.0-255.255.255.255 ::-FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF 1234:3456::AAAA-AAAA:BBBB::FFFF
|
${iplist} create list 1.1.1.1-2.2.2.2 0.0.0.0-255.255.255.255 ::-FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF 1234:3456::AAAA-AAAA:BBBB::FFFF
|
||||||
@@ -57,7 +55,7 @@ IP_Libraries_Create_Country-006
|
|||||||
#删除
|
#删除
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-007
|
IPLibrariesCreateCountry-007
|
||||||
#新建ip归属地-城市(国家选择内置国家)
|
#新建ip归属地-城市(国家选择内置国家)
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
@@ -66,7 +64,7 @@ IP_Libraries_Create_Country-007
|
|||||||
#删除
|
#删除
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-008
|
IPLibrariesCreateCountry-008
|
||||||
#新建ip归属地-城市(国家选择非内置国家)
|
#新建ip归属地-城市(国家选择非内置国家)
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
@@ -75,7 +73,7 @@ IP_Libraries_Create_Country-008
|
|||||||
#删除
|
#删除
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-009
|
IPLibrariesCreateCountry-009
|
||||||
#修改ip归属地城市
|
#修改ip归属地城市
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
@@ -85,28 +83,28 @@ IP_Libraries_Create_Country-009
|
|||||||
#删除
|
#删除
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-010
|
IPLibrariesCreateCountry-010
|
||||||
#使用Geo Name为搜索条件查找ip归属地信息
|
#使用Geo Name为搜索条件查找ip归属地信息
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
#新建国家
|
#新建国家
|
||||||
Create_Ip_Libraries Geo Name City 1 1811 1 ${iplist}
|
Create_Ip_Libraries Geo Name City 1 1811 1 ${iplist}
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-011
|
IPLibrariesCreateCountry-011
|
||||||
#使用Country为搜索条件查找ip归属地信息
|
#使用Country为搜索条件查找ip归属地信息
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
#新建国家
|
#新建国家
|
||||||
Create_Ip_Libraries Geo Name City 1 2841 1 ${iplist}
|
Create_Ip_Libraries Geo Name City 1 2841 1 ${iplist}
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-012
|
IPLibrariesCreateCountry-012
|
||||||
#使用City为搜索条件查找ip归属地信息
|
#使用City为搜索条件查找ip归属地信息
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
#新建国家
|
#新建国家
|
||||||
Create_Ip_Libraries Geo Name City 1 2861 1 ${iplist}
|
Create_Ip_Libraries Geo Name City 1 2861 1 ${iplist}
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-013
|
IPLibrariesCreateCountry-013
|
||||||
#删除非内置的归属地信息列表
|
#删除非内置的归属地信息列表
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
@@ -115,7 +113,7 @@ IP_Libraries_Create_Country-013
|
|||||||
#删除
|
#删除
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-014
|
IPLibrariesCreateCountry-014
|
||||||
#新建国家或城市,添加两个以上的iprange
|
#新建国家或城市,添加两个以上的iprange
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2 1.2.2.2-3.2.2.2 10.10.10.10-20.20.20.20 15.15.15.15-25.25.25.25 13.13.13.13-26.26.26.26
|
${iplist} create list 1.1.1.1-2.2.2.2 1.2.2.2-3.2.2.2 10.10.10.10-20.20.20.20 15.15.15.15-25.25.25.25 13.13.13.13-26.26.26.26
|
||||||
@@ -123,12 +121,12 @@ IP_Libraries_Create_Country-014
|
|||||||
Create_Ip_Libraries Geo Name City Algeria 1271 1 ${iplist} j=5 Longitude=-1 Latitude=12.13
|
Create_Ip_Libraries Geo Name City Algeria 1271 1 ${iplist} j=5 Longitude=-1 Latitude=12.13
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-015
|
IPLibrariesCreateCountry-015
|
||||||
#翻页功能以及每页的归属地条数
|
#翻页功能以及每页的归属地条数
|
||||||
OpenPages sidebarAdvanced Three-levelMenu=Advanced/ipLibrary
|
OpenPages sidebarAdvanced Three-levelMenu=Advanced/ipLibrary
|
||||||
Ui-Pages 5
|
Ui-Pages 5
|
||||||
|
|
||||||
IP_Libraries_Create_Country-016
|
IPLibrariesCreateCountry-016
|
||||||
#1、ip归属地新建国家或城市,经纬度输入负数和浮点数、2、ip归属地修改城市,经纬度输入负数和浮点数、
|
#1、ip归属地新建国家或城市,经纬度输入负数和浮点数、2、ip归属地修改城市,经纬度输入负数和浮点数、
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
@@ -137,7 +135,7 @@ IP_Libraries_Create_Country-016
|
|||||||
Edit_Ip_Libraries Geo Name 1171 Longitude=-2 Latitude=12.13
|
Edit_Ip_Libraries Geo Name 1171 Longitude=-2 Latitude=12.13
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-017
|
IPLibrariesCreateCountry-017
|
||||||
#p归属地新建国家或者城市,Iprange中搜索框功能
|
#p归属地新建国家或者城市,Iprange中搜索框功能
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2 1.2.2.2-3.2.2.2 10.10.10.10-20.20.20.20 15.15.15.15-25.25.25.25 13.13.13.13-26.26.26.26
|
${iplist} create list 1.1.1.1-2.2.2.2 1.2.2.2-3.2.2.2 10.10.10.10-20.20.20.20 15.15.15.15-25.25.25.25 13.13.13.13-26.26.26.26
|
||||||
@@ -145,35 +143,35 @@ IP_Libraries_Create_Country-017
|
|||||||
Create_Ip_Libraries Geo Name City Algeria 1291 1 ${iplist} j=5 Longitude=-1 Latitude=12.13
|
Create_Ip_Libraries Geo Name City Algeria 1291 1 ${iplist} j=5 Longitude=-1 Latitude=12.13
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-018
|
IPLibrariesCreateCountry-018
|
||||||
#新建国家Country输入中文
|
#新建国家Country输入中文
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
#新建国家
|
#新建国家
|
||||||
Create_Ip_Libraries Geo Name Country Africa 1851 中文 ${iplist} Country=中文1 Longitude=-1 Latitude=-1
|
Create_Ip_Libraries Geo Name Country Africa 1851 中文 ${iplist} Country=中文1 Longitude=-1 Latitude=-1
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-019
|
IPLibrariesCreateCountry-019
|
||||||
#新建国家Country输入英文
|
#新建国家Country输入英文
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
#新建国家
|
#新建国家
|
||||||
Create_Ip_Libraries Geo Name Country Africa 1851 english ${iplist} Country=english1 Longitude=-1 Latitude=-1
|
Create_Ip_Libraries Geo Name Country Africa 1851 english ${iplist} Country=english1 Longitude=-1 Latitude=-1
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-020
|
IPLibrariesCreateCountry-020
|
||||||
#新建国家Country输入俄文
|
#新建国家Country输入俄文
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
#新建国家
|
#新建国家
|
||||||
Create_Ip_Libraries Geo Name Country Africa 1851 упражнение ${iplist} Country=упражнение1 Longitude=-1 Latitude=-1
|
Create_Ip_Libraries Geo Name Country Africa 1851 упражнение ${iplist} Country=упражнение1 Longitude=-1 Latitude=-1
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-021
|
IPLibrariesCreateCountry-021
|
||||||
#新建国家Country输入特殊字符
|
#新建国家Country输入特殊字符
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
#新建国家
|
#新建国家
|
||||||
Create_Ip_Libraries Geo Name Country Africa 1851 @^& ${iplist} Country=@^&1 Longitude=-1 Latitude=-1
|
Create_Ip_Libraries Geo Name Country Africa 1851 @^& ${iplist} Country=@^&1 Longitude=-1 Latitude=-1
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-022
|
IPLibrariesCreateCountry-022
|
||||||
#修改国家Country输入中文
|
#修改国家Country输入中文
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
@@ -182,7 +180,7 @@ IP_Libraries_Create_Country-022
|
|||||||
Edit_Ip_Libraries Geo Name 1971 City=中文0
|
Edit_Ip_Libraries Geo Name 1971 City=中文0
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-023
|
IPLibrariesCreateCountry-023
|
||||||
#修改国家Country输入英文
|
#修改国家Country输入英文
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
@@ -191,7 +189,7 @@ IP_Libraries_Create_Country-023
|
|||||||
Edit_Ip_Libraries Geo Name 1872 City=english0
|
Edit_Ip_Libraries Geo Name 1872 City=english0
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
|
|
||||||
IP_Libraries_Create_Country-024
|
IPLibrariesCreateCountry-024
|
||||||
#修改国家Country输入俄文
|
#修改国家Country输入俄文
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
@@ -199,7 +197,7 @@ IP_Libraries_Create_Country-024
|
|||||||
Create_Ip_Libraries Geo Name Country Africa 1883 1666 ${iplist} Country=упражнение13 Longitude=-1 Latitude=12.13
|
Create_Ip_Libraries Geo Name Country Africa 1883 1666 ${iplist} Country=упражнение13 Longitude=-1 Latitude=12.13
|
||||||
Edit_Ip_Libraries Geo Name 1883 City=упражнение0
|
Edit_Ip_Libraries Geo Name 1883 City=упражнение0
|
||||||
Delete_IP_Libraries
|
Delete_IP_Libraries
|
||||||
IP_Libraries_Create_Country-025
|
IPLibrariesCreateCountry-025
|
||||||
#修改国家Country输入特殊字符
|
#修改国家Country输入特殊字符
|
||||||
#ip段
|
#ip段
|
||||||
${iplist} create list 1.1.1.1-2.2.2.2
|
${iplist} create list 1.1.1.1-2.2.2.2
|
||||||
@@ -40,6 +40,7 @@ InsertScriptsEditSearchId
|
|||||||
CreateInsertScripts lyf-test-001-css ${path}insert_files\\Create-Insert Scripts-test.css css name
|
CreateInsertScripts lyf-test-001-css ${path}insert_files\\Create-Insert Scripts-test.css css name
|
||||||
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span
|
${id} get text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/span
|
||||||
EditInsertScripts ${id} lyf-Edit-test-001 ${path}insert_files\\Create-Insert Scripts-test.css css id
|
EditInsertScripts ${id} lyf-Edit-test-001 ${path}insert_files\\Create-Insert Scripts-test.css css id
|
||||||
|
click id=dowmloadi
|
||||||
DownLoadFile ${path}insert_files\\Create-Insert Scripts-test.css ${Downloadpath}Create-Insert Scripts-test.css
|
DownLoadFile ${path}insert_files\\Create-Insert Scripts-test.css ${Downloadpath}Create-Insert Scripts-test.css
|
||||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div[3]/div/div/div[2]/div/div[3]/table/tbody/tr[1]/td[2]/div/div/span
|
||||||
Delete
|
Delete
|
||||||
@@ -55,6 +56,7 @@ InsertScriptsEditSearchName
|
|||||||
InsertScriptDownloadFile
|
InsertScriptDownloadFile
|
||||||
[Tags] Positive UI Settings InsertScript
|
[Tags] Positive UI Settings InsertScript
|
||||||
CreateInsertScripts lyf-test-001-css ${path}insert_files\\Create-Insert Scripts-test.css css name
|
CreateInsertScripts lyf-test-001-css ${path}insert_files\\Create-Insert Scripts-test.css css name
|
||||||
|
click id=dowmloadi
|
||||||
DownLoadFile ${path}insert_files\\Create-Insert Scripts-test.css ${Downloadpath}Create-Insert Scripts-test.css
|
DownLoadFile ${path}insert_files\\Create-Insert Scripts-test.css ${Downloadpath}Create-Insert Scripts-test.css
|
||||||
Delete
|
Delete
|
||||||
|
|
||||||
|
|||||||
@@ -22,6 +22,7 @@ ResponsePagesEditSearchID
|
|||||||
CreateResponsePages Create-ResponsePagess-001 ${path}response_pages_files\\Create-ResponsePages-test.html name
|
CreateResponsePages Create-ResponsePagess-001 ${path}response_pages_files\\Create-ResponsePages-test.html name
|
||||||
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/span
|
||||||
Edit-Response-Pages ${id} lyf-Edit-test-001 ${path}response_pages_files\\Create-ResponsePages-test-1.html id
|
Edit-Response-Pages ${id} lyf-Edit-test-001 ${path}response_pages_files\\Create-ResponsePages-test-1.html id
|
||||||
|
click id=dowmloadi
|
||||||
DownLoadFile ${path}response_pages_files\\Create-ResponsePages-test-1.html ${Downloadpath}Create-ResponsePages-test-1.html
|
DownLoadFile ${path}response_pages_files\\Create-ResponsePages-test-1.html ${Downloadpath}Create-ResponsePages-test-1.html
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
|
||||||
DeleteresinseDel
|
DeleteresinseDel
|
||||||
@@ -31,7 +32,8 @@ ResponsePagesEditSearchName
|
|||||||
CreateResponsePages Create-ResponsePagess-001 ${path}response_pages_files\\Create-ResponsePages-test.html name
|
CreateResponsePages Create-ResponsePagess-001 ${path}response_pages_files\\Create-ResponsePages-test.html name
|
||||||
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
|
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
|
||||||
Edit-Response-Pages ${name} lyf-Edit-test-007 ${path}response_pages_files\\Create-ResponsePages-test-1.html name
|
Edit-Response-Pages ${name} lyf-Edit-test-007 ${path}response_pages_files\\Create-ResponsePages-test-1.html name
|
||||||
DownLoadFile ${path}response_pages_files\\Create-ResponsePages-test-1.html ${Downloadpath}Create-ResponsePages-test-1.html
|
click id=dowmloadi
|
||||||
|
DownLoadFile ${path}response_pages_files\\Create-ResponsePages-test-1.html ${Downloadpath}Create-ResponsePages-test-1.html
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/span
|
||||||
DeleteresinseDel
|
DeleteresinseDel
|
||||||
|
|
||||||
@@ -68,6 +70,7 @@ ResponsePagesSpecialFileName
|
|||||||
ResponsePagesDownloadFile
|
ResponsePagesDownloadFile
|
||||||
[Tags] Positive UI Settings ResponsePages
|
[Tags] Positive UI Settings ResponsePages
|
||||||
CreateResponsePages Create-ResponsePagess-001 ${path}response_pages_files\\Create-ResponsePages-test.html name
|
CreateResponsePages Create-ResponsePagess-001 ${path}response_pages_files\\Create-ResponsePages-test.html name
|
||||||
|
click id=dowmloadi
|
||||||
DownLoadFile ${path}response_pages_files\\Create-ResponsePages-test.html ${Downloadpath}Create-ResponsePages-test.html
|
DownLoadFile ${path}response_pages_files\\Create-ResponsePages-test.html ${Downloadpath}Create-ResponsePages-test.html
|
||||||
DeleteresinseDel
|
DeleteresinseDel
|
||||||
|
|
||||||
|
|||||||
@@ -7,19 +7,19 @@ Library OperatingSystem
|
|||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
SSLFingerprintCreatePinning
|
SSLFingerprintCreatePinning
|
||||||
[Tag] Positive UI Pinning Settings SSLFingerprint
|
[Tag] Positive UI Pinning Settings SSLFingerprint
|
||||||
CreateSSLFingerprint a75de44db3e351bbd8d38b64c41fffff Yes JA3Hash Description=test
|
CreateSSLFingerprint aaaaaa4db3e351bbd8d38b64c41fffff Yes JA3Hash Description=test
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||||
DeleteSSLFingerprint
|
DeleteSSLFingerprint
|
||||||
|
|
||||||
SSLFingerprintCreateNotPinning
|
SSLFingerprintCreateNotPinning
|
||||||
[Tag] Positive UI NotPinning Settings SSLFingerprint
|
[Tag] Positive UI NotPinning Settings SSLFingerprint
|
||||||
CreateSSLFingerprint a75de44db3e351bbd8d38b64c41aaaaa No JA3Hash Description=test
|
CreateSSLFingerprint bbbbbb4db3e351bbd8d38b64c41aaaaa No JA3Hash Description=test
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||||
DeleteSSLFingerprint
|
DeleteSSLFingerprint
|
||||||
|
|
||||||
SSLFingerprintEditPingningSearchID
|
SSLFingerprintEditPingningSearchID
|
||||||
[Tag] Positive UI Pinning Settings SSLFingerprint
|
[Tag] Positive UI Pinning Settings SSLFingerprint
|
||||||
CreateSSLFingerprint a75de44db3e351bbd8d38b64c41fffff Yes JA3Hash Description=test
|
CreateSSLFingerprint cccccc4db3e351bbd8d38b64c41fffff Yes JA3Hash Description=test
|
||||||
${ID} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/div/span
|
${ID} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/div/span
|
||||||
EditSSLFingerprint ${ID} a75de44db3e351bbd8d3ffffffffffff No id Description=test1111
|
EditSSLFingerprint ${ID} a75de44db3e351bbd8d3ffffffffffff No id Description=test1111
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||||
@@ -27,8 +27,7 @@ SSLFingerprintEditPingningSearchID
|
|||||||
|
|
||||||
SSLFingerprintEditNotPingningSearchJA3Hash
|
SSLFingerprintEditNotPingningSearchJA3Hash
|
||||||
[Tag] Positive UI Pinning Settings SSLFingerprint
|
[Tag] Positive UI Pinning Settings SSLFingerprint
|
||||||
CreateSSLFingerprint a75de44db3e351bbd8d38b64c41fffff No JA3Hash Description=test
|
CreateSSLFingerprint dddddd4db3e351bbd8d38b64c41fffff No JA3Hash Description=test
|
||||||
${ID} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/div/span
|
|
||||||
EditSSLFingerprint a75de44db3e351bbd8d38b64c41fffff a75de44db3e351bbd8d3ffffffffffff Yes JA3Hash Description=test1111
|
EditSSLFingerprint a75de44db3e351bbd8d38b64c41fffff a75de44db3e351bbd8d3ffffffffffff Yes JA3Hash Description=test1111
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||||
DeleteSSLFingerprint
|
DeleteSSLFingerprint
|
||||||
@@ -44,9 +43,9 @@ SSLFingerprintImportUserAgent
|
|||||||
|
|
||||||
SSLFingerprintImportUserAgentExceedFour
|
SSLFingerprintImportUserAgentExceedFour
|
||||||
[Tag] Positive UI UserAgent Settings SSLFingerprint
|
[Tag] Positive UI UserAgent Settings SSLFingerprint
|
||||||
CreateSSLFingerprint bff309a26951912be7dba376398abc3b No JA3Hash Description=test
|
CreateSSLFingerprint b32309a26951912be7dba376398abc3b No JA3Hash Description=test
|
||||||
${ID} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/div/span
|
${ID} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[1]/div/div/div/div/span
|
||||||
SSLFingerprintImportUserAgent ${ID} c 4 Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.2; Win64; x64; Trident/5.0)
|
SSLFingerprintImportUserAgent ${ID} ${path}SSLFingerprint_files/UserAgent.json 4 Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.2; Win64; x64; Trident/5.0)
|
||||||
... //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[3]/div/div/div[1]/div/div/div[1]/div/form/div[2]/div/div[1]
|
... //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[3]/div/div/div[1]/div/div/div[1]/div/form/div[2]/div/div[1]
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr
|
||||||
DeleteSSLFingerprint
|
DeleteSSLFingerprint
|
||||||
|
|||||||
@@ -5,44 +5,20 @@ Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
|||||||
Library OperatingSystem
|
Library OperatingSystem
|
||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
CreateTrustedCertificateAuthorities
|
TrustedCertificateAuthoritiesImportCa
|
||||||
[Tags] PositiveTestCase Settings TrustedCertificateAuthorities
|
[Tags] Positive UI CA Settings TrustedCertificateAuthorities
|
||||||
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
|
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteAuthorities_del
|
DeleteAuthorities_del
|
||||||
|
|
||||||
CreateTrustedCertificateAuthoritiesNameMinSize
|
|
||||||
[Tags] PositiveTestCase name Settings TrustedCertificateAuthorities
|
|
||||||
importTrustedCertificateAuthorities test ${path}keyrings//root//ca-cer.pem name
|
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
|
||||||
DeleteAuthorities_del
|
|
||||||
|
|
||||||
CreateTrustedCertificateAuthoritiesNameMaxSize
|
|
||||||
[Tags] PositiveTestCase name Settings TrustedCertificateAuthorities
|
|
||||||
importTrustedCertificateAuthorities CreateTrustedCertificateAuthoritiesCreateTrustedCertificateAuthoritiesCreateTrustedCertificateAuthoritiesCreateTrustedCertificat ${path}keyrings//root//ca-cer.pem name
|
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
|
||||||
DeleteAuthorities_del
|
|
||||||
|
|
||||||
CreateTrustedCertificateAuthoritiesNameSpecialChar
|
TrustedCertificateAuthoritiesImportCaroot
|
||||||
[Tags] PositiveTestCase name Settings TrustedCertificateAuthorities
|
[Tags] Positive UI Caroot Settings TrustedCertificateAuthorities
|
||||||
importTrustedCertificateAuthorities ВставкаСкриптов!@#$%^&(-+=‘;。,? ${path}keyrings//root//ca-cer.pem name
|
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
|
||||||
DeleteAuthorities_del
|
|
||||||
|
|
||||||
CreateTrustedCertificateAuthoritiesImportCaroot
|
|
||||||
[Tags] PositiveTestCase Settings TrustedCertificateAuthorities
|
|
||||||
importTrustedCertificateAuthorities CreateTrustedCertificateAuthoritiesImportCaroot ${path}keyrings//Intermediate//camiddle.chain.pem name
|
importTrustedCertificateAuthorities CreateTrustedCertificateAuthoritiesImportCaroot ${path}keyrings//Intermediate//camiddle.chain.pem name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteAuthorities_del
|
DeleteAuthorities_del
|
||||||
|
|
||||||
CreateTrustedCertificateAuthoritiesFileNameSpecialChar
|
TrustedCertificateAuthoritiesEditNameSearchID
|
||||||
[Tags] PositiveTestCase name Settings TrustedCertificateAuthorities
|
[Tags] Positive UI ID Settings TrustedCertificateAuthorities
|
||||||
importTrustedCertificateAuthorities CreateTrustedCertificateAuthoritiesFileNameSpecialChar ${path}keyrings//root//ВставкаСкриптов!@#$%^&(-+=‘;。,?.pem name
|
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
|
||||||
DeleteAuthorities_del
|
|
||||||
|
|
||||||
EditTrustedCertificateAuthoritiesNameSearchID
|
|
||||||
[Tags] PositiveTestCase ID Settings TrustedCertificateAuthorities
|
|
||||||
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
|
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
|
||||||
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/p/span
|
${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/p/span
|
||||||
EditTrustedCertificateAuthorities ${id} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem id
|
EditTrustedCertificateAuthorities ${id} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem id
|
||||||
@@ -50,8 +26,8 @@ EditTrustedCertificateAuthoritiesNameSearchID
|
|||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteAuthorities_del
|
DeleteAuthorities_del
|
||||||
|
|
||||||
EditTrustedCertificateAuthoritiesFileSearchName
|
TrustedCertificateAuthoritiesEditFileSearchName
|
||||||
[Tags] PositiveTestCase name Settings TrustedCertificateAuthorities
|
[Tags] Positive UI name Settings TrustedCertificateAuthorities
|
||||||
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
|
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
|
||||||
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
EditTrustedCertificateAuthorities ${name} lyf-RF-test-001 ${path}keyrings//root//mesalab-ca-cert.pem name
|
EditTrustedCertificateAuthorities ${name} lyf-RF-test-001 ${path}keyrings//root//mesalab-ca-cert.pem name
|
||||||
@@ -59,8 +35,8 @@ EditTrustedCertificateAuthoritiesFileSearchName
|
|||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteAuthorities_del
|
DeleteAuthorities_del
|
||||||
|
|
||||||
EditTrustedCertificateAuthoritiesSearchIssuer
|
TrustedCertificateAuthoritiesEditSearchIssuer
|
||||||
[Tags] PositiveTestCase Settings TrustedCertificateAuthorities
|
[Tags] Positive UI Settings TrustedCertificateAuthorities
|
||||||
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
|
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
|
||||||
${Issuer} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/div/p/span
|
${Issuer} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[4]/div/div/div/p/span
|
||||||
EditTrustedCertificateAuthorities ${Issuer} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem Issuer
|
EditTrustedCertificateAuthorities ${Issuer} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem Issuer
|
||||||
@@ -68,8 +44,8 @@ EditTrustedCertificateAuthoritiesSearchIssuer
|
|||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteAuthorities_del
|
DeleteAuthorities_del
|
||||||
|
|
||||||
EditTrustedCertificateAuthoritiesSearchCommonName
|
TrustedCertificateAuthoritiesEditSearchCommonName
|
||||||
[Tags] PositiveTestCase Settings TrustedCertificateAuthorities
|
[Tags] Positive UI Settings TrustedCertificateAuthorities
|
||||||
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
|
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
|
||||||
${CommonName} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[8]/div/div/div/p/span
|
${CommonName} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[8]/div/div/div/p/span
|
||||||
EditTrustedCertificateAuthorities ${CommonName} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem CommonName
|
EditTrustedCertificateAuthorities ${CommonName} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem CommonName
|
||||||
@@ -77,32 +53,80 @@ EditTrustedCertificateAuthoritiesSearchCommonName
|
|||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteAuthorities_del
|
DeleteAuthorities_del
|
||||||
|
|
||||||
EditTrustedCertificateAuthoritiesSearchCertificateFingerprint
|
TrustedCertificateAuthoritiesEditSearchCertificateFingerprint
|
||||||
[Tags] PositiveTestCase Settings TrustedCertificateAuthorities
|
[Tags] Positive UI Settings TrustedCertificateAuthorities
|
||||||
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
|
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
|
||||||
${CertificateFingerprint} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/div/p/span
|
${CertificateFingerprint} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[9]/div/div/div/p/span
|
||||||
EditTrustedCertificateAuthorities ${CertificateFingerprint} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem CertificateFingerprint
|
EditTrustedCertificateAuthorities ${CertificateFingerprint} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem CertificateFingerprint
|
||||||
Wait Until Element Is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span 20
|
Wait Until Element Is Visible xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span 20
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
DeleteAuthorities_del
|
DeleteAuthorities_del
|
||||||
|
|
||||||
|
TrustedCertificateAuthoritiesDownLoadCertificate
|
||||||
|
[Tags] Positive UI Settings TrustedCertificateAuthorities
|
||||||
|
importTrustedCertificateAuthorities lyf-RF-test-001 ${path}keyrings//root//ca-cer.pem name
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]/td[3]/div/div/div/p/i
|
||||||
|
DownLoadFile ${path}keyrings//root//ca-cer.pem ${DownLoadPath}ca-cer.pem
|
||||||
|
DeleteAuthorities_del
|
||||||
|
|
||||||
|
TrustedCertificateAuthoritiesTurnPage
|
||||||
|
[Tags] Positive UI Settings TrustedCertificateAuthorities
|
||||||
|
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
|
||||||
|
TurnPage //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[4]/div/button[2] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[4]/div/button[1] //*[@id="app"]/div/div[3]/div[2]/div/div[3]/div[1]/div/div[4]/div/span[2]/div/input 2
|
||||||
|
|
||||||
|
TrustedCertificateAuthoritiesCreateNameMinSize
|
||||||
|
[Tags] Boundary UI name Settings TrustedCertificateAuthorities
|
||||||
|
importTrustedCertificateAuthorities test ${path}keyrings//root//ca-cer.pem name
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
|
DeleteAuthorities_del
|
||||||
|
|
||||||
|
TrustedCertificateAuthoritiesCreateNameMaxSize
|
||||||
|
[Tags] Boundary UI name Settings TrustedCertificateAuthorities
|
||||||
|
importTrustedCertificateAuthorities CreateTrustedCertificateAuthoritiesCreateTrustedCertificateAuthoritiesCreateTrustedCertificateAuthoritiesCreateTrustedCertificat ${path}keyrings//root//ca-cer.pem name
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
|
DeleteAuthorities_del
|
||||||
|
|
||||||
|
TrustedCertificateAuthoritiesCreateNameSpecialChar
|
||||||
|
[Tags] Boundary UI name Settings TrustedCertificateAuthorities
|
||||||
|
importTrustedCertificateAuthorities ВставкаСкриптов!@#$%^&(-+=‘;。,? ${path}keyrings//root//ca-cer.pem name
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
|
DeleteAuthorities_del
|
||||||
|
|
||||||
|
TrustedCertificateAuthoritiesCreateFileNameSpecialChar
|
||||||
|
[Tags] Boundary UI name Settings TrustedCertificateAuthorities
|
||||||
|
importTrustedCertificateAuthorities CreateTrustedCertificateAuthoritiesFileNameSpecialChar ${path}keyrings//root//ВставкаСкриптов!@#$%^&(-+=‘;。,?.pem name
|
||||||
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
|
DeleteAuthorities_del
|
||||||
|
|
||||||
|
TrustedCertificateAuthoritiesCreateNameThreeCharacters
|
||||||
|
[Tags] Negtive UI Settings TrustedCertificateAuthorities
|
||||||
|
OpenPages sidebarProxy_CertificateManagement //*[@id="proxyTabs"]/div/ul/li[1] xpath
|
||||||
|
click id=app_create #点击Import
|
||||||
|
Sleep 2
|
||||||
|
input id=authoritiesAdd_name 123 #输入name
|
||||||
|
sleep 1
|
||||||
|
click id=authoritiesAdd_sub
|
||||||
|
sleep 1
|
||||||
|
${text} Get Text xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[1]/div/div[3]
|
||||||
|
Should Be Equal As Strings ${text} Content length is less than 4
|
||||||
|
|
||||||
TrustedCertificateAuthoritiesInportEntityCertificate
|
TrustedCertificateAuthoritiesInportEntityCertificate
|
||||||
[Tags] NegtivetestCase Settings TrustedCertificateAuthorities
|
[Tags] Negtive UI Settings TrustedCertificateAuthorities
|
||||||
importTrustedCertificateAuthoritiesErrorVerification InportEntityCertificate ${path}keyrings//end-entity//caentity.chain.pem End-entity certificate is not allowed to upload
|
UploadFilesSize TrustedCertificateAuthorities InportEntityCertificate ${path}keyrings//end-entity//caentity.chain.pem End-entity certificate is not allowed to upload
|
||||||
|
|
||||||
TrustedCertificateAuthoritiesInportNullFile
|
TrustedCertificateAuthoritiesInportEmptyFile
|
||||||
[Tags] NegtivetestCase Settings TrustedCertificateAuthorities
|
[Tags] Negtive UI Settings TrustedCertificateAuthorities
|
||||||
importTrustedCertificateAuthoritiesErrorVerification InportNullFile ${path}keyrings//root//null.pem File content is empty
|
UploadFilesSize TrustedCertificateAuthorities InportNullFile ${path}keyrings//root//null.pem File content is empty
|
||||||
|
|
||||||
TrustedCertificateAuthoritiesInportErrorFile
|
TrustedCertificateAuthoritiesInportErrorFile
|
||||||
[Tags] NegtivetestCase Settings TrustedCertificateAuthorities
|
[Tags] Negtive UI Settings TrustedCertificateAuthorities
|
||||||
importTrustedCertificateAuthoritiesErrorVerification InportErrorFile ${path}keyrings//root//Error.pem Invalid public certificate
|
UploadFilesSize TrustedCertificateAuthorities InportErrorFile ${path}keyrings//root//Error.pem Invalid public certificate
|
||||||
|
|
||||||
TrustedCertificateAuthoritiesInportDuplicateCertificate
|
TrustedCertificateAuthoritiesImportDuplicateCertificate
|
||||||
[Tags] NegtivetestCase Settings TrustedCertificateAuthorities
|
[Tags] Negtive UI Settings TrustedCertificateAuthorities
|
||||||
importTrustedCertificateAuthorities InportDuplicateCertificate01 ${path}keyrings//root//ca-cer.pem name
|
importTrustedCertificateAuthorities InportDuplicateCertificate01 ${path}keyrings//root//ca-cer.pem name
|
||||||
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
importTrustedCertificateAuthoritiesErrorVerification InportDuplicateCertificate02 ${path}keyrings//root//ca-cer.pem Certificate already exists
|
UploadFilesSize TrustedCertificateAuthorities InportDuplicateCertificate02 ${path}keyrings//root//ca-cer.pem Certificate already exists
|
||||||
click id=authoritiesAdd_cancel
|
click id=authoritiesAdd_cancel
|
||||||
Settings-Search ${name} name
|
Settings-Search ${name} name
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||||
|
|||||||
@@ -5,34 +5,34 @@ Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
|||||||
Library OperatingSystem
|
Library OperatingSystem
|
||||||
|
|
||||||
*** Test Cases ***
|
*** Test Cases ***
|
||||||
CreateVPNAccounts
|
VPNAccountsCreate
|
||||||
[Tags] PositiveTestCase Settings VPNAccounts
|
[Tags] Positive UI Settings VPNAccounts
|
||||||
CreateVPNAccounts CreateVPNAccounts 111111 name
|
VPNAccountsCreate VPNAccountsCreate 111111 name
|
||||||
VPNAccountsDelete
|
VPNAccountsDelete
|
||||||
|
|
||||||
CreateVPNAccountsNameMinSize
|
VPNAccountsCreateNameMinSize
|
||||||
[Tags] PositiveTestCase name Settings VPNAccounts
|
[Tags] Positive UI name Settings VPNAccounts
|
||||||
CreateVPNAccounts 1 111111 name
|
VPNAccountsCreate 1 111111 name
|
||||||
VPNAccountsDelete
|
VPNAccountsDelete
|
||||||
|
|
||||||
CreateVPNAccountsNameMaxSize
|
VPNAccountsCreateNameMaxSize
|
||||||
[Tags] PositiveTestCase name Settings VPNAccounts
|
[Tags] Positive UI name Settings VPNAccounts
|
||||||
CreateVPNAccounts CreateVPNAccountsNameMaxSizeCreateVPNAccountsNameMaxSizeCreateVP 111111 name
|
VPNAccountsCreate VPNAccountsCreateNameMaxSizeVPNAccountsCreateNameMaxSizeCreateVP 111111 name
|
||||||
VPNAccountsDelete
|
VPNAccountsDelete
|
||||||
|
|
||||||
CreateVPNAccountsPasswordMinSize
|
VPNAccountsCreatePasswordMinSize
|
||||||
[Tags] PositiveTestCase Password Settings VPNAccounts
|
[Tags] Positive UI Password Settings VPNAccounts
|
||||||
CreateVPNAccounts CreateVPNAccountsNameMaxSizeCreateVPNAccountsNameMaxSizeCreateVP 1 name
|
VPNAccountsCreate VPNAccountsCreateNameMaxSizeVPNAccountsCreateNameMaxSizeCreateVP 1 name
|
||||||
VPNAccountsDelete
|
VPNAccountsDelete
|
||||||
|
|
||||||
CreateVPNAccountsPasswordMaxSize
|
VPNAccountsCreatePasswordMaxSize
|
||||||
[Tags] PositiveTestCase Password Settings VPNAccounts
|
[Tags] Positive UI Password Settings VPNAccounts
|
||||||
CreateVPNAccounts CreateVPNAccountsNameMaxSizeCreateVPNAccountsNameMaxSizeCreateVP aaaaaaaa11111111 name
|
VPNAccountsCreate VPNAccountsCreateNameMaxSizeVPNAccountsCreateNameMaxSizeCreateVP aaaaaaaa11111111 name
|
||||||
VPNAccountsDelete
|
VPNAccountsDelete
|
||||||
|
|
||||||
EditVPNAccountsPassword
|
VPNAccountsEditPassword
|
||||||
[Tags] PositiveTestCase Password Settings VPNAccounts
|
[Tags] Positive UI Password Settings VPNAccounts
|
||||||
CreateVPNAccounts EditVPNAccountsName-01 111111 name
|
VPNAccountsCreate EditVPNAccountsName-01 111111 name
|
||||||
EditVPNAccounts EditVPNAccountsName-01 222222 name
|
EditVPNAccounts EditVPNAccountsName-01 222222 name
|
||||||
VPNAccountsDelete
|
VPNAccountsDelete
|
||||||
|
|
||||||
|
|||||||
@@ -750,7 +750,7 @@ importTrustedCertificateAuthorities
|
|||||||
Sleep 1
|
Sleep 1
|
||||||
click id=sidebarProxy_CertificateManagement #点击二级目录Trusted Certificate Authorities
|
click id=sidebarProxy_CertificateManagement #点击二级目录Trusted Certificate Authorities
|
||||||
Sleep 2
|
Sleep 2
|
||||||
click id=Authorities_create #点击Import
|
click id=app_create #点击Import
|
||||||
Sleep 2
|
Sleep 2
|
||||||
input id=authoritiesAdd_name ${name} #输入name
|
input id=authoritiesAdd_name ${name} #输入name
|
||||||
Sleep 2
|
Sleep 2
|
||||||
@@ -789,16 +789,18 @@ importTrustedCertificateAuthoritiesErrorVerification
|
|||||||
Should Be Equal As Strings ${text} ${PromptInformation} #断言
|
Should Be Equal As Strings ${text} ${PromptInformation} #断言
|
||||||
|
|
||||||
CreateDecryptionKeyrings
|
CreateDecryptionKeyrings
|
||||||
[Arguments] ${name} ${file} ${file1} ${1or2} ${type} ${type1} ${search}
|
[Arguments] ${name} ${file} ${file1} ${ExpiryHours1or2} ${type} ${type1} ${search}
|
||||||
... ${shift}=close
|
... ${shift}=close ${PrivateKeyType}=PrivateKeyFile
|
||||||
[Documentation] 引用次关键字,填入必填参数
|
[Documentation] 引用次关键字,填入必填参数
|
||||||
... 必填参数:
|
... 必填参数:
|
||||||
... ${name}:新建页面name输入框里的内容
|
... ${name}:新建页面name输入框里的内容
|
||||||
... ${file}:上传文件所在本地的路径
|
... ${file}:上传文件所在本地的路径
|
||||||
... ${file1}:上传文件所在本地的路径
|
... ${file1}:上传文件所在本地的路径
|
||||||
... ${1or2}:填入1 或者其他
|
... ${ExpiryHours1or2}:根证书时间填入1:自定义定义 2:原时间
|
||||||
... ${type}:上传证书类型的元素
|
... ${type}:上传证书类型的元素
|
||||||
... ${type1}:上传证书加密解密算法的元素
|
... ${type1}:上传证书加密解密算法的元素
|
||||||
|
... ${shift}:是否打开客户端包含证书按钮
|
||||||
|
... ${PrivateKeyType}:私钥类型
|
||||||
#打开浏览器
|
#打开浏览器
|
||||||
#ui-login lyf 111111
|
#ui-login lyf 111111
|
||||||
Sleep 1
|
Sleep 1
|
||||||
@@ -808,29 +810,33 @@ CreateDecryptionKeyrings
|
|||||||
Sleep 2
|
Sleep 2
|
||||||
click xpath=//*[@id="proxyTabs"]/div/ul/li[2] #点击Decryption Keyrings
|
click xpath=//*[@id="proxyTabs"]/div/ul/li[2] #点击Decryption Keyrings
|
||||||
sleep 1
|
sleep 1
|
||||||
click id=Keyrings_create #点击Create
|
click id=app_create #点击Create
|
||||||
Sleep 2
|
Sleep 2
|
||||||
input id=keyringsadd_name ${name} #输入name
|
input id=keyringsadd_name ${name} #输入name
|
||||||
Sleep 2
|
Sleep 2
|
||||||
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[2]/div/div/div/input ${file} #上传文件
|
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[2]/div/div/div/input ${file} #上传文件
|
||||||
Sleep 2
|
Sleep 2
|
||||||
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[3]/div/div[2]/div/div/input ${file1} #上传文件
|
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[3]/div/div[2]/div/div/input ${file1} #上传文件
|
||||||
${select} Set Variable ${1or2}
|
${select} Set Variable ${ExpiryHours1or2}
|
||||||
Run Keyword If '${select}'=='1' click id=keyringsadd_customized
|
Run Keyword If '${select}'=='1' click id=keyringsadd_customized
|
||||||
Run Keyword If '${select}'=='1' input id=reissueExpiryDate 10
|
Run Keyword If '${select}'=='1' input id=reissueExpiryDate 10
|
||||||
sleep 1
|
sleep 1
|
||||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[6]/div/div/div[1]/span/span/i #点击下拉框
|
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[6]/div/div/div[1]/span/span/i #点击下拉框
|
||||||
sleep 1
|
sleep 1
|
||||||
click ${type} #选择证书类型
|
click ${type} #选择证书类型
|
||||||
sleep 1
|
sleep 1
|
||||||
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[7]/div/div/div[1]/span/span/i #点击下拉框
|
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[7]/div/div/div[1]/span/span/i #点击下拉框
|
||||||
sleep 1
|
sleep 1
|
||||||
click ${type1} #选择加密解密类型
|
click ${type1} #选择加密解密类型
|
||||||
sleep 1
|
sleep 1
|
||||||
${root} Set Variable ${shift}
|
${root} Set Variable ${shift}
|
||||||
run keyword if "${root}"=="open" run keywords sleep 1
|
run keyword if "${root}"=="open" run keywords sleep 1
|
||||||
... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[1]/div[2]/form/div[9]/div/div/span
|
... AND click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[9]/div/div/span
|
||||||
... ELSE IF "${root}"=="close" log "go on"
|
... ELSE IF "${root}"=="close" log "go on"
|
||||||
|
Run Keyword If '${PrivateKeyType}'=='HSM' run keywords sleep 1
|
||||||
|
... AND click id=privateHSM
|
||||||
|
... AND sleep 1
|
||||||
|
... AND input id=keyringsadd_slotid 10
|
||||||
sleep 1
|
sleep 1
|
||||||
click id=keyringsadd_sub #点击OK缇交
|
click id=keyringsadd_sub #点击OK缇交
|
||||||
Sleep 2
|
Sleep 2
|
||||||
@@ -838,6 +844,45 @@ CreateDecryptionKeyrings
|
|||||||
Sleep 1
|
Sleep 1
|
||||||
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span #获取点击后页面文本信息
|
${text1} Get Text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span #获取点击后页面文本信息
|
||||||
Should Be Equal As Strings ${text1} ${name} #断言
|
Should Be Equal As Strings ${text1} ${name} #断言
|
||||||
|
|
||||||
|
DecryptionKeyringsErrorVerification
|
||||||
|
[Arguments] ${name} ${file} ${file1} ${type} ${type1} ${Positioning} ${Assertion}
|
||||||
|
[Documentation] 用于验证导入证书和类型不匹配的错误验证
|
||||||
|
... 必填参数:
|
||||||
|
... ${name}:新建页面name输入框里的内容
|
||||||
|
... ${file}:上传文件所在本地的路径
|
||||||
|
... ${file1}:上传文件所在本地的路径
|
||||||
|
... ${type}:上传证书类型的元素
|
||||||
|
... ${type1}:上传证书加密解密算法的元素
|
||||||
|
... ${Positioning}:获取文本的xpath定位
|
||||||
|
... ${Assertion}:断言信息
|
||||||
|
Sleep 1
|
||||||
|
click id=children6 #点击一级目录Settings
|
||||||
|
Sleep 1
|
||||||
|
click id=sidebarProxy_CertificateManagement #点击二级目录Trusted Certificate Authorities
|
||||||
|
Sleep 2
|
||||||
|
click xpath=//*[@id="proxyTabs"]/div/ul/li[2] #点击Decryption Keyrings
|
||||||
|
sleep 1
|
||||||
|
click id=app_create #点击Create
|
||||||
|
Sleep 2
|
||||||
|
input id=keyringsadd_name ${name} #输入name
|
||||||
|
Sleep 2
|
||||||
|
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[2]/div/div/div/input ${file} #上传文件
|
||||||
|
Sleep 2
|
||||||
|
Choose File xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[3]/div/div[2]/div/div/input ${file1} #上传文件
|
||||||
|
sleep 1
|
||||||
|
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[6]/div/div/div[1]/span/span/i #点击下拉框
|
||||||
|
sleep 1
|
||||||
|
click ${type} #选择证书类型
|
||||||
|
sleep 1
|
||||||
|
click xpath=//*[@id="app"]/div/div[3]/div[2]/div/div/div[2]/div[2]/form/div[7]/div/div/div[1]/span/span/i #点击下拉框
|
||||||
|
sleep 1
|
||||||
|
click ${type1} #选择加密解密类型
|
||||||
|
sleep 1
|
||||||
|
click id=keyringsadd_sub #点击OK缇交
|
||||||
|
Sleep 2
|
||||||
|
${text1} Get Text xpath=${Positioning} #获取点击后页面文本信息
|
||||||
|
Should Be Equal As Strings ${text1} ${Assertion} #断言
|
||||||
|
|
||||||
CreateSSLDecryptionExclusion
|
CreateSSLDecryptionExclusion
|
||||||
[Arguments] ${name} ${value} ${name1} ${search}
|
[Arguments] ${name} ${value} ${name1} ${search}
|
||||||
@@ -894,7 +939,7 @@ EditTrustedCertificateAuthorities
|
|||||||
sleep 1
|
sleep 1
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr #点击搜索列表
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr #点击搜索列表
|
||||||
sleep 1
|
sleep 1
|
||||||
click id=Authorities_edit #点击Edit按钮
|
click id=appEdit #点击Edit按钮
|
||||||
sleep 1
|
sleep 1
|
||||||
Clear Element Text id=authoritiesAdd_name #清空name输入框
|
Clear Element Text id=authoritiesAdd_name #清空name输入框
|
||||||
sleep 1
|
sleep 1
|
||||||
@@ -927,7 +972,7 @@ EditDecryptionKeyrings
|
|||||||
sleep 1
|
sleep 1
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr #点击搜索列表
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr #点击搜索列表
|
||||||
sleep 1
|
sleep 1
|
||||||
click id=Keyrings_edit #点击Edit按钮
|
click id=appEdit #点击Edit按钮
|
||||||
sleep 1
|
sleep 1
|
||||||
Clear Element Text id=keyringsadd_name #清空name输入框
|
Clear Element Text id=keyringsadd_name #清空name输入框
|
||||||
sleep 1
|
sleep 1
|
||||||
@@ -1746,7 +1791,7 @@ Req_Res_Body
|
|||||||
\ ... AND sleep 1
|
\ ... AND sleep 1
|
||||||
\ ... AND input id=attributeValue_string ${dict}[${key}]
|
\ ... AND input id=attributeValue_string ${dict}[${key}]
|
||||||
|
|
||||||
Create_Ip_Libraries
|
CreateIpLibraries
|
||||||
[Arguments] ${type1} ${type} ${Continent/Country} ${GeoNameID} ${City} ${ip} ${j}=1 ${Country}=null ${Longitude}=null ${Latitude}=null
|
[Arguments] ${type1} ${type} ${Continent/Country} ${GeoNameID} ${City} ${ip} ${j}=1 ${Country}=null ${Longitude}=null ${Latitude}=null
|
||||||
Sleep 1
|
Sleep 1
|
||||||
click id=children6 #点击一级目录Settings
|
click id=children6 #点击一级目录Settings
|
||||||
@@ -1790,7 +1835,7 @@ Create_Ip_Libraries
|
|||||||
sleep 2
|
sleep 2
|
||||||
Should Be Equal As Strings ${GeoNameText} ${GeoNameID} #断言
|
Should Be Equal As Strings ${GeoNameText} ${GeoNameID} #断言
|
||||||
|
|
||||||
Edit_Ip_Libraries
|
EditIpLibraries
|
||||||
[Arguments] ${type} ${GeoNameID} ${City}=null ${ip}=null ${j}=1 ${Country}=null ${Longitude}=null ${Latitude}=null ${type1}=null ${type2}=null
|
[Arguments] ${type} ${GeoNameID} ${City}=null ${ip}=null ${j}=1 ${Country}=null ${Longitude}=null ${Latitude}=null ${type1}=null ${type2}=null
|
||||||
click id=tagEdit #点击Edit按钮
|
click id=tagEdit #点击Edit按钮
|
||||||
sleep 2
|
sleep 2
|
||||||
@@ -1850,13 +1895,14 @@ Ip_Range_Edit_Create
|
|||||||
\ sleep 1
|
\ sleep 1
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
Delete_IP_Libraries
|
DeleteIPLibraries
|
||||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr[1]
|
||||||
sleep 2
|
sleep 2
|
||||||
click id=tagDel
|
click id=tagDel
|
||||||
sleep 2
|
sleep 2
|
||||||
click xpath=/html/body/div/div/div[3]/button[2]
|
click xpath=/html/body/div/div/div[3]/button[2]
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
Switch_IP_Libraries
|
Switch_IP_Libraries
|
||||||
[Arguments] ${type} ${value} ${GeoName}
|
[Arguments] ${type} ${value} ${GeoName}
|
||||||
sleep 2
|
sleep 2
|
||||||
@@ -1940,7 +1986,7 @@ ALL
|
|||||||
|
|
||||||
DeleteKeyrings_del
|
DeleteKeyrings_del
|
||||||
sleep 2
|
sleep 2
|
||||||
click id=Keyrings_del
|
click id=appDel
|
||||||
sleep 2
|
sleep 2
|
||||||
click xpath=/html/body/div/div/div[3]/button[2]
|
click xpath=/html/body/div/div/div[3]/button[2]
|
||||||
sleep 2
|
sleep 2
|
||||||
@@ -1975,7 +2021,7 @@ DeletetrafficMirrorDel
|
|||||||
|
|
||||||
DeleteAuthorities_del
|
DeleteAuthorities_del
|
||||||
sleep 2
|
sleep 2
|
||||||
click id=Authorities_del
|
click id=appDel
|
||||||
sleep 2
|
sleep 2
|
||||||
click xpath=/html/body/div/div/div[3]/button[2]
|
click xpath=/html/body/div/div/div[3]/button[2]
|
||||||
sleep 2
|
sleep 2
|
||||||
@@ -2068,6 +2114,19 @@ UploadFilesSize
|
|||||||
... AND sleep 2
|
... AND sleep 2
|
||||||
... AND click id=Import_ua_Ok
|
... AND click id=Import_ua_Ok
|
||||||
... AND sleep 1
|
... AND sleep 1
|
||||||
|
run keyword if "${Page}" == "TrustedCertificateAuthorities" run keywords sleep 1
|
||||||
|
... AND click id=children6
|
||||||
|
... AND sleep 1
|
||||||
|
... AND click id=sidebarProxy_CertificateManagement #点击二级目录Trusted Certificate Authorities
|
||||||
|
... AND Sleep 2
|
||||||
|
... AND click id=app_create #点击Import
|
||||||
|
... AND Sleep 2
|
||||||
|
... AND input id=authoritiesAdd_name ${name} #输入name
|
||||||
|
... AND Sleep 2
|
||||||
|
... AND Choose File xpath=//*[@id="upload_dome"]/div/input ${file} #上传文件
|
||||||
|
... AND Sleep 2
|
||||||
|
... AND click id=authoritiesAdd_sub #点击OK缇交
|
||||||
|
... AND Sleep 2
|
||||||
${text} get text xpath=/html/body/div[last()]/p
|
${text} get text xpath=/html/body/div[last()]/p
|
||||||
Should Be Equal As Strings ${text} ${Promptinfor}
|
Should Be Equal As Strings ${text} ${Promptinfor}
|
||||||
|
|
||||||
@@ -2076,8 +2135,6 @@ DownLoadFile
|
|||||||
[Documentation]
|
[Documentation]
|
||||||
... ${UploadFilePath}:上传文件路径
|
... ${UploadFilePath}:上传文件路径
|
||||||
... ${DownloadFilePath}:文件下载路径
|
... ${DownloadFilePath}:文件下载路径
|
||||||
sleep 1
|
|
||||||
click id=dowmloadi
|
|
||||||
sleep 3
|
sleep 3
|
||||||
${a} get_md5_01 ${UploadFilePath}
|
${a} get_md5_01 ${UploadFilePath}
|
||||||
sleep 1
|
sleep 1
|
||||||
@@ -2085,6 +2142,8 @@ DownLoadFile
|
|||||||
sleep 1
|
sleep 1
|
||||||
Should Be Equal As Strings ${a} ${b}
|
Should Be Equal As Strings ${a} ${b}
|
||||||
sleep 2
|
sleep 2
|
||||||
|
Remove File ${DownloadFilePath}
|
||||||
|
sleep 2
|
||||||
#Run_Keyword_And_Continue_On_Failure File_Should_Exist ${DownloadFilePath} #出错后继续执行,如文件在指定路径存在则通过
|
#Run_Keyword_And_Continue_On_Failure File_Should_Exist ${DownloadFilePath} #出错后继续执行,如文件在指定路径存在则通过
|
||||||
|
|
||||||
DeleteReferencedData
|
DeleteReferencedData
|
||||||
|
|||||||
Reference in New Issue
Block a user