diff --git a/01-TestCase/tsg-ui/Ui-settings/Trusted_Certificate_Authorities_case.robot b/01-TestCase/tsg-ui/Ui-settings/Trusted_Certificate_Authorities_case.robot new file mode 100644 index 0000000..797c038 --- /dev/null +++ b/01-TestCase/tsg-ui/Ui-settings/Trusted_Certificate_Authorities_case.robot @@ -0,0 +1,25 @@ +*** 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 *** +Create_Trusted_Certificate_Authorities-001 + import-Trusted Certificate Authorities lyf-RF-test-001 ${path}keyrings//root//tango-ca-root-01-cer.pem + +Create_Trusted_Certificate_Authorities-002 + import-Trusted Certificate Authorities test ${path}keyrings//root//tango-ca-root-01-cer.pem + +Create_Trusted_Certificate_Authorities-003 + import-Trusted Certificate Authorities ${path}keyrings//root//tango-ca-root-01-cer.pem${path}keyrings//root//tango-ca-root-01-cer.pem${path}keyrings//root//tango-ca-root-01-cer.pem ${path}keyrings//root//tango-ca-root-01-cer.pem + +Edit_Trusted_Certificate_Authorities-004 + import-Trusted Certificate Authorities lyf-RF-test-001 ${path}keyrings//root//tango-ca-root-01-cer.pem + ${id} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[1]/div/div/div/p/span + Edit-Trusted Certificate Authorities id=input_list_li1 ${id} lyf-edit-test-001 ${path}keyrings//root//tango-ca-root-01-cer.pem + +Edit_Trusted_Certificate_Authorities-005 + import-Trusted Certificate Authorities lyf-RF-test-001 ${path}keyrings//root//tango-ca-root-01-cer.pem + ${name} get text xpath=//*[@id="ly-table1-listcontent"]/div/div[3]/table/tbody/tr/td[2]/div/div/div/p/span + Edit-Trusted Certificate Authorities id=input_list_li1 ${name} lyf-edit-test-001 ${path}keyrings//root//tango-ca-root-01-cer.pem