*** 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