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

20 lines
1.0 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

*** Settings ***
Force Tags tsg_cli tsg_device ManipulationPolicy Query
Resource ../../03-Variable/BifangApiVariable.txt
Resource ../../02-Keyword/tsg_cli/Interface.robot
*** Test Cases ***
PxyManipulation_Policy_Query_TestCase
# 取最多10条策略数据分别做条件查询
${list} Get_Policy_Object2 pxy_manipulation
FOR ${obj} IN @{list}
Tsg_Policy_Query pxy_manipulation ${obj}[policyId] ${None} ${None} ${True}
Tsg_Policy_Query pxy_manipulation ${None} ${obj}[policyName] ${None} ${True}
Tsg_Policy_Query pxy_manipulation ${None} ${None} ${obj}[policyDesc] ${True}
Tsg_Policy_Query pxy_manipulation ${obj}[policyId] ${obj}[policyName] ${None} ${True}
Tsg_Policy_Query pxy_manipulation ${obj}[policyId] ${None} ${obj}[policyDesc] ${True}
Tsg_Policy_Query pxy_manipulation ${None} ${obj}[policyName] ${obj}[policyDesc] ${True}
END