1. 修改关键字 2.新建DecryptionKeyingsCase代替Decryption_Keyings_Case
This commit is contained in:
135
01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot
Normal file
135
01-TestCase/tsg_ui/ui_settings/DecryptionKeyringsCase.robot
Normal file
@@ -0,0 +1,135 @@
|
||||
*** Settings ***
|
||||
Force Tags tsg-ui settings Decryption Keyrings
|
||||
Resource ../../../03-Variable/bifangapivariable.txt
|
||||
Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
||||
Library OperatingSystem
|
||||
|
||||
*** Test Cases ***
|
||||
CreateDecryptionKeyringsNameMinSize
|
||||
[Tags] PositiveTestCase RootCertificate 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
|
||||
|
||||
CreateDecryptionKeyringsNameMaxSize
|
||||
[Tags] PositiveTestCase RootCertificate 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
|
||||
|
||||
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
|
||||
DeleteKeyrings_del
|
||||
|
||||
CreateDecryptionKeyringsRootCertificateAndRSA2048
|
||||
[Tags] PositiveTestCase RootCertificate 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
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
CreateDecryptionKeyringsRootCertificateOpenButton
|
||||
[Tags] PositiveTestCase RootCertificate 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
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
CreateDecryptionKeyringsIntermediateCertificateAndSECP384r1
|
||||
[Tags] PositiveTestCase IntermediateCertificate 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
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
CreateDecryptionKeyringsIntermediateCertificateAndSECP256r1
|
||||
[Tags] PositiveTestCase IntermediateCertificate 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
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
CreateDecryptionKeyringsIntermediateCertificateAndRSA2048
|
||||
[Tags] PositiveTestCase IntermediateCertificate 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
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
CreateDecryptionKeyringsIntermediateCertificateAndRSA1024
|
||||
[Tags] PositiveTestCase IntermediateCertificate 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
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
CreateDecryptionKeyringsIntermediateCertificateOpenButton
|
||||
[Tags] PositiveTestCase IntermediateCertificate 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
|
||||
... open
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
CreateDecryptionKeyringsEnd-entityAndRSA1024
|
||||
[Tags] PositiveTestCase End-entity 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
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
CreateDecryptionKeyringsEnd-entityAndRSA2048
|
||||
[Tags] PositiveTestCase End-entity 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
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
CreateDecryptionKeyringsEnd-entityAndSECP256r1
|
||||
[Tags] PositiveTestCase End-entity 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
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
CreateDecryptionKeyringsEnd-entityAndSECP384r1
|
||||
[Tags] PositiveTestCase End-entity 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
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
CreateDecryptionKeyringsEnd-entityOpenButton
|
||||
[Tags] PositiveTestCase End-entity 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
|
||||
... open
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
EditDecryptionKeyringsSearchID
|
||||
[Tags] PositiveTestCase 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
|
||||
${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
|
||||
... id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 id
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
EditDecryptionKeyringsSearchName
|
||||
[Tags] PositiveTestCase 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
|
||||
${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
|
||||
... 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
|
||||
|
||||
|
||||
@@ -1,99 +0,0 @@
|
||||
*** Settings ***
|
||||
Force Tags tsg-ui settings Decryption Keyrings
|
||||
Resource ../../../03-Variable/bifangapivariable.txt
|
||||
Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
||||
Library OperatingSystem
|
||||
|
||||
*** Test Cases ***
|
||||
Create_Decryption_Keyrings-001
|
||||
Create-Decryption Keyrings 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
|
||||
Create_Decryption_Keyrings-002
|
||||
Create-Decryption Keyrings 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
|
||||
|
||||
Create_Decryption_Keyrings-003
|
||||
Create-Decryption Keyrings 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
|
||||
|
||||
Create_Decryption_Keyrings-004
|
||||
Create-Decryption Keyrings 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
|
||||
DeleteKeyrings_del
|
||||
|
||||
Create_Decryption_Keyrings-005
|
||||
Create-Decryption Keyrings 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
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
Create_Decryption_Keyrings-006
|
||||
Create-Decryption Keyrings 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
|
||||
DeleteKeyrings_del
|
||||
|
||||
Create_Decryption_Keyrings-007
|
||||
Create-Decryption Keyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 1 id=certificateType_select1 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
|
||||
|
||||
Create_Decryption_Keyrings-008
|
||||
Create-Decryption Keyrings 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
|
||||
DeleteKeyrings_del
|
||||
|
||||
Create_Decryption_Keyrings-009
|
||||
Create-Decryption Keyrings 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
|
||||
DeleteKeyrings_del
|
||||
|
||||
Create_Decryption_Keyrings-010
|
||||
Create-Decryption Keyrings lyf-RF-test-006 ${path}keyrings//Intermediate//camiddle.chain.pem ${path}keyrings//Intermediate//camiddle.key 2 id=certificateType_select1 id=keyringsadd_publicKeyAlgoSelet0 name
|
||||
... open
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
Edit_Decryption_Keyrings-011
|
||||
Create-Decryption Keyrings 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
|
||||
Edit-Decryption Keyrings ${id} lyf-RF-edit-1 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 1
|
||||
... id=certificateType_select0 id=keyringsadd_publicKeyAlgoSelet1 id
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
Edit_Decryption_Keyrings-012
|
||||
Create-Decryption Keyrings 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
|
||||
Edit-Decryption Keyrings ${name} lyf-RF-edit-1 ${path}keyrings//root//ca-cer.pem ${path}keyrings//root//ca.key 1
|
||||
... 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
|
||||
|
||||
Create_Decryption_Keyrings-013
|
||||
Create-Decryption Keyrings 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
|
||||
DeleteKeyrings_del
|
||||
|
||||
Create_Decryption_Keyrings-014
|
||||
Create-Decryption Keyrings 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
|
||||
DeleteKeyrings_del
|
||||
|
||||
Create_Decryption_Keyrings-015
|
||||
Create-Decryption Keyrings 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
|
||||
DeleteKeyrings_del
|
||||
|
||||
Create_Decryption_Keyrings-016
|
||||
Create-Decryption Keyrings 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
|
||||
DeleteKeyrings_del
|
||||
|
||||
Create_Decryption_Keyrings-017
|
||||
Create-Decryption Keyrings 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
|
||||
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
||||
DeleteKeyrings_del
|
||||
|
||||
@@ -758,7 +758,7 @@ importTrustedCertificateAuthoritiesErrorVerification
|
||||
${text} Get text xpath=/html/body/div[last()]/p
|
||||
Should Be Equal As Strings ${text} ${PromptInformation} #断言
|
||||
|
||||
Create-Decryption Keyrings
|
||||
CreateDecryptionKeyrings
|
||||
[Arguments] ${name} ${file} ${file1} ${1or2} ${type} ${type1} ${search}
|
||||
... ${shift}=close
|
||||
[Documentation] 引用次关键字,填入必填参数
|
||||
@@ -875,7 +875,7 @@ EditTrustedCertificateAuthorities
|
||||
click id=authoritiesAdd_sub #点击ok
|
||||
sleep 1
|
||||
|
||||
Edit-Decryption Keyrings
|
||||
EditDecryptionKeyrings
|
||||
[Arguments] ${id-name} ${name} ${file} ${file1} ${1or2}
|
||||
... ${type} ${type1} ${search}
|
||||
[Documentation] 引用次关键字,填入必填参数
|
||||
@@ -922,7 +922,8 @@ Edit-Decryption Keyrings
|
||||
Sleep 2
|
||||
run keyword if "${search}"=="id" run keywords sleep 1
|
||||
... AND Settings-Search ${id-name} ${search}
|
||||
... ELSE IF Settings-Search ${name} ${search}
|
||||
... ELSE IF "${search}"=="name" run keywords sleep 1
|
||||
... AND Settings-Search ${name} ${search}
|
||||
Sleep 1
|
||||
${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} #断言
|
||||
|
||||
Reference in New Issue
Block a user