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
2020-06-12 10:46:19 +08:00

16 lines
619 B
Plaintext

*** Settings ***
Force Tags tsg_cli tsg_device EnDisable
Resource ../../03-Variable/BifangApiVariable.txt
Resource ../../02-Keyword/tsg_cli/Interface.robot
*** 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