From 18103464e438abd786c567cd009fe0d8d7cb3037 Mon Sep 17 00:00:00 2001 From: liuyuanfang Date: Wed, 27 May 2020 17:16:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E4=BF=AE=E6=94=B9=E5=90=8E?= =?UTF-8?q?=E7=9A=84case?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...Trusted_Certificate_Authorities_Case.robot | 25 +++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 01-TestCase/tsg-ui/ui-settings/Trusted_Certificate_Authorities_Case.robot 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..0ab76cc --- /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