This repository has been archived on 2025-09-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
dongxiaoyan-tsg-autotest/01-TestCase/tsg-ui/ui-settings/Trusted_Certificate_Authorities_Case.robot

26 lines
1.6 KiB
Plaintext
Raw Normal View History

2020-05-27 17:16:53 +08:00
*** 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