Checking Return Value
Simple type
<test name="test_invoke_return_1"> <flow>flow3</flow> <description>Test process : action returning a predicted result</description> <action> <invoke object="keepSo" operation="getRuntimeName"> <return value="keepSo"/> </invoke> </action> </test>
Objects
The following test invokes the "getModuleObject" operation on the object referenced as "keepSo" and references the returned object as "test_invoke_return_3@@1".
<test name="test_invoke_return_3"> <flow>flow3</flow> <description>Test operation returning an object</description> <action> <invoke object="keepSo" operation="getModuleObject"> <return object="1"/> </invoke> </action> </test>
Copyright © Cloud Software Group, Inc. All rights reserved.