全流程用例添加策略对象时增加默认值
This commit is contained in:
@@ -43,8 +43,11 @@ ObjectParamsOpertion
|
||||
Run Keyword If "${return}"!="FAIL" and "${objectDesc}"!="${EMPTY}" Set To Dictionary ${returnDict} objectDesc=${objectDesc}
|
||||
... ELSE Set To Dictionary ${returnDict} objectDesc=${Default_ObjectDesc}
|
||||
${return} ${subObjectIds} Run Keyword And Ignore Error Set Variable ${objectList}[subObjectIds]
|
||||
Run Keyword If "${return}"!="FAIL" and "${subObjectIds}"!="${EMPTY}" Set To Dictionary ${returnDict} subObjectIds=${subObjectIds}
|
||||
... ELSE Set To Dictionary ${returnDict} subObjectIds=${emptyList}
|
||||
${subObjectIdsV} Run Keyword If "${return}"!="FAIL" and "${subObjectIds}"!="${EMPTY}" and "${subObjectIds}"!="${None}" Evaluate list(map(int, re.split('[,]', '${subObjectIds}'))) re
|
||||
... ELSE Set Variable ${emptyList}
|
||||
|
||||
Set To Dictionary ${returnDict} subObjectIds=${subObjectIdsV}
|
||||
|
||||
# 处理AddItemList
|
||||
ManageAddItemList ${objectList} ${returnDict}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user