110 lines
7.9 KiB
Plaintext
110 lines
7.9 KiB
Plaintext
*** Settings ***
|
|
Force Tags tsg-ui settings Trusted Certificate Authorities
|
|
Resource ../../../03-Variable/bifangapivariable.txt
|
|
Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
|
Library OperatingSystem
|
|
|
|
*** Test Cases ***
|
|
CreateTrustedCertificateAuthorities
|
|
[Tags] PositiveTestCase 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/td[2]/div/div/div/p/span
|
|
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
|
|
[Tags] PositiveTestCase 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
|
|
|
|
CreateTrustedCertificateAuthoritiesImportCaroot
|
|
[Tags] PositiveTestCase Settings TrustedCertificateAuthorities
|
|
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
|
|
DeleteAuthorities_del
|
|
|
|
CreateTrustedCertificateAuthoritiesFileNameSpecialChar
|
|
[Tags] PositiveTestCase 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
|
|
|
|
EditTrustedCertificateAuthoritiesNameSearchID
|
|
[Tags] PositiveTestCase ID Settings TrustedCertificateAuthorities
|
|
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
|
|
EditTrustedCertificateAuthorities ${id} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem id
|
|
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
|
|
DeleteAuthorities_del
|
|
|
|
EditTrustedCertificateAuthoritiesFileSearchName
|
|
[Tags] PositiveTestCase name Settings TrustedCertificateAuthorities
|
|
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
|
|
EditTrustedCertificateAuthorities ${name} lyf-RF-test-001 ${path}keyrings//root//mesalab-ca-cert.pem name
|
|
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
|
|
DeleteAuthorities_del
|
|
|
|
EditTrustedCertificateAuthoritiesSearchIssuer
|
|
[Tags] PositiveTestCase Settings TrustedCertificateAuthorities
|
|
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
|
|
EditTrustedCertificateAuthorities ${Issuer} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem Issuer
|
|
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
|
|
DeleteAuthorities_del
|
|
|
|
EditTrustedCertificateAuthoritiesSearchCommonName
|
|
[Tags] PositiveTestCase Settings TrustedCertificateAuthorities
|
|
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
|
|
EditTrustedCertificateAuthorities ${CommonName} lyf-edit-test-001 ${path}keyrings//root//ca-cer.pem CommonName
|
|
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
|
|
DeleteAuthorities_del
|
|
|
|
EditTrustedCertificateAuthoritiesSearchCertificateFingerprint
|
|
[Tags] PositiveTestCase Settings TrustedCertificateAuthorities
|
|
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
|
|
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
|
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
|
DeleteAuthorities_del
|
|
|
|
TrustedCertificateAuthoritiesInportEntityCertificate
|
|
[Tags] NegtivetestCase Settings TrustedCertificateAuthorities
|
|
importTrustedCertificateAuthoritiesErrorVerification InportEntityCertificate ${path}keyrings//end-entity//caentity.chain.pem End-entity certificate is not allowed to upload
|
|
|
|
TrustedCertificateAuthoritiesInportNullFile
|
|
[Tags] NegtivetestCase Settings TrustedCertificateAuthorities
|
|
importTrustedCertificateAuthoritiesErrorVerification InportNullFile ${path}keyrings//root//null.pem File content is empty
|
|
|
|
TrustedCertificateAuthoritiesInportErrorFile
|
|
[Tags] NegtivetestCase Settings TrustedCertificateAuthorities
|
|
importTrustedCertificateAuthoritiesErrorVerification InportErrorFile ${path}keyrings//root//Error.pem Invalid public certificate
|
|
|
|
TrustedCertificateAuthoritiesInportDuplicateCertificate
|
|
[Tags] NegtivetestCase Settings TrustedCertificateAuthorities
|
|
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
|
|
importTrustedCertificateAuthoritiesErrorVerification InportDuplicateCertificate02 ${path}keyrings//root//ca-cer.pem Certificate already exists
|
|
click id=authoritiesAdd_cancel
|
|
Settings-Search ${name} name
|
|
click xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span
|
|
DeleteAuthorities_del
|