-
Working with action
Dear friends,
Please tell me how to pass an argument from one action to another action, I have Action 1 where i have a value (String), i need to send it to Action 2 where the value is made use of. I was not able to follow what was given in tutorials..please explain how to go about it.
Thanks,
Nirmal
-
Re: Working with action
Hi Nirmal,
You can pass parameters between actions using Action Parameters. Based on the view you are working on - keyword / Expert, the pattern will differ.
[U]Keyword View[/U]
1) for the specified action, Right click and Open Action Properties
2) In Parameters Tab, Click on + sign and enter Paramter name as well as Type
3) Convert the action to a reusable one incase it is already not
4) navigate to the action where you want to specify these parameter values. Just include the following code in that action -
RunAction <ActionName>, Iterations, parameter values.
[U]Expert View[/U]
Navigate to Step - Action Properties. Specify the parameters there. Ensure the action is reusable. Remaining procedure of coding remains the same.
Cheers...