From df1816a30e8fd50274dfcb48fa81d37aef17249e Mon Sep 17 00:00:00 2001 From: liuyuanfang Date: Fri, 22 May 2020 21:25:05 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0settings=E6=A8=A1=E5=9D=97cas?= =?UTF-8?q?e?= 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..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