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_cli/EnDisablePolicy.robot

16 lines
615 B
Plaintext
Raw Normal View History

2020-04-02 14:19:25 +08:00
*** Settings ***
Force Tags tsg-cli Policy EnDisable
2020-04-17 18:19:40 +08:00
Resource ../../03-Variable/BifangApiVariable.txt
Resource ../../02-Keyword/tsg_cli/Interface.robot
2020-04-02 14:19:25 +08:00
*** Test Cases ***
Policy_EnDisable_TestCase
# 操作不同类型策略
FOR ${policyType} IN @{PolicyTypes}
${obj} Get_Policy_Object3 ${policyType}
# 更改策略状态
Tsg_Policy_EnDisable ${obj}[policyId] ${policyType} ${obj}[commandType1]
# 复原策略状态
Tsg_Policy_EnDisable ${obj}[policyId] ${policyType} ${obj}[commandType2]
END