-
Junior Member
Reusable Action
Need to call one reusable external action and Get the output value from the external reusable action. Need to Use this output value in the calling action. How can I do this?
For example Random Function in external Action and it function return a random string “XXXXX” and I want to use this random string for next operation in the calling action Action2. How can I do this?
Debug this code also returnValue=RunAction(“Action name”, iteration, input parameter)
After debugging above code , get Null value
-
Expert Member
Re: Reusable Action
1. In Action Properties you can define the output values for the Reusable Action
2. While the Called Action(Reusable) is executed, the output values can be fetched by Parameter('Variable Name as defined in the Action Properties')
'''code
strTemp = Parameter(Variable) 'used in the calling Action
Regards,
Nawab
Last edited by NawabShaikh; 02-29-2008 at 01:23 AM.
Reason: Inclusion of Code
-
Junior Member
Re: Reusable Action
You can use any of the following things to save the returned value to use it later..
1) Data Table: You can use local data table if you want to use this value in this action only or if you want to use the value in other actions then use the global data table
2) Output Parameter
3) Internal Environment Variable. ( Will be available to all the actions in your Test )
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules