21.05版全流程case修改
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
*** Settings ***
|
||||
Test Teardown DeletePolicyAndObject ${policyIds} ${objectids}
|
||||
Test Teardown DeletePolicyAndObject ${policyIds} ${objectids} ${categoryIds}
|
||||
Force Tags tsg_adc_wp adc_log security_policy
|
||||
Library OperatingSystem
|
||||
Resource ../../../02-Keyword/tsg_adc/SystemCommand.robot
|
||||
@@ -12,15 +12,18 @@ Resource ../../../05-Other/AllFlowCaseVariable1.txt
|
||||
*** Variables ***
|
||||
${policyIds} ${EMPTY}
|
||||
${objectids} ${EMPTY}
|
||||
|
||||
${categoryIds} ${EMPTY}
|
||||
*** Test Cases ***
|
||||
SecurityPolicy-Allow-Http-00001
|
||||
#log ${allow_http_policyId1}
|
||||
#删除对象
|
||||
${objectids} set Variable ${allow_http_objectId}
|
||||
${objectids} Catenate SEPARATOR=, ${objectids} ${allow_http_objectId2}
|
||||
${objectids} Catenate SEPARATOR=, ${objectids} ${allow_http_objectId3}
|
||||
${objectids} Catenate SEPARATOR=, ${objectids} ${allow_http_objectId4}
|
||||
${objectids} Catenate SEPARATOR=, ${objectids} ${allow_http_objectId5}
|
||||
#删除category
|
||||
${categoryIds} set Variable ${allow_http_categoryId}
|
||||
#删除策略
|
||||
${policyIds} Create List {"policyType":"tsg_security","policyIds":[${allow_http_policyId}]}
|
||||
${s} Convert to String ${allow_http_policyId}
|
||||
|
||||
Reference in New Issue
Block a user