1.修改Case 2.修改及增加关键字
This commit is contained in:
@@ -5,44 +5,20 @@ Resource ../../../02-Keyword/tsg_ui/setting/Settings.robot
|
||||
Library OperatingSystem
|
||||
|
||||
*** Test Cases ***
|
||||
CreateTrustedCertificateAuthorities
|
||||
[Tags] PositiveTestCase Settings TrustedCertificateAuthorities
|
||||
TrustedCertificateAuthoritiesImportCa
|
||||
[Tags] Positive UI CA 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
|
||||
TrustedCertificateAuthoritiesImportCaroot
|
||||
[Tags] Positive UI Caroot 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
|
||||
TrustedCertificateAuthoritiesEditNameSearchID
|
||||
[Tags] Positive UI 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
|
||||
@@ -50,8 +26,8 @@ EditTrustedCertificateAuthoritiesNameSearchID
|
||||
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
|
||||
TrustedCertificateAuthoritiesEditFileSearchName
|
||||
[Tags] Positive UI 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
|
||||
@@ -59,8 +35,8 @@ EditTrustedCertificateAuthoritiesFileSearchName
|
||||
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
|
||||
TrustedCertificateAuthoritiesEditSearchIssuer
|
||||
[Tags] Positive UI 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
|
||||
@@ -68,8 +44,8 @@ EditTrustedCertificateAuthoritiesSearchIssuer
|
||||
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
|
||||
TrustedCertificateAuthoritiesEditSearchCommonName
|
||||
[Tags] Positive UI 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
|
||||
@@ -77,32 +53,80 @@ EditTrustedCertificateAuthoritiesSearchCommonName
|
||||
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
|
||||
TrustedCertificateAuthoritiesEditSearchCertificateFingerprint
|
||||
[Tags] Positive UI 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
|
||||
|
||||
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
|
||||
[Tags] NegtivetestCase Settings TrustedCertificateAuthorities
|
||||
importTrustedCertificateAuthoritiesErrorVerification InportEntityCertificate ${path}keyrings//end-entity//caentity.chain.pem End-entity certificate is not allowed to upload
|
||||
[Tags] Negtive UI Settings TrustedCertificateAuthorities
|
||||
UploadFilesSize TrustedCertificateAuthorities 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
|
||||
TrustedCertificateAuthoritiesInportEmptyFile
|
||||
[Tags] Negtive UI Settings TrustedCertificateAuthorities
|
||||
UploadFilesSize TrustedCertificateAuthorities 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
|
||||
[Tags] Negtive UI Settings TrustedCertificateAuthorities
|
||||
UploadFilesSize TrustedCertificateAuthorities InportErrorFile ${path}keyrings//root//Error.pem Invalid public certificate
|
||||
|
||||
TrustedCertificateAuthoritiesInportDuplicateCertificate
|
||||
[Tags] NegtivetestCase Settings TrustedCertificateAuthorities
|
||||
TrustedCertificateAuthoritiesImportDuplicateCertificate
|
||||
[Tags] Negtive UI 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
|
||||
UploadFilesSize TrustedCertificateAuthorities 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
|
||||
|
||||
Reference in New Issue
Block a user