Can anyone explain Test / Action Paramters? It would be better if someone can explain it with exaple. How to Use Action / Test Parameters in our scripting? Give me some example. It would great help me.
Printable View
Can anyone explain Test / Action Paramters? It would be better if someone can explain it with exaple. How to Use Action / Test Parameters in our scripting? Give me some example. It would great help me.
Hi Sycho,
Action Parameters are used to pass values across between Actions.
Go to Action Properties and navigate to Parameters tab. Enter the required Parameter Name and Type.
[U]NOTE : [/U] Both have to be a Reusable Action
Now consider 2 Actions - Action 1 and Action 2
Define within Action 1 two variables which reference these parameters
var1 = parameter("num1")
var2 = parameter("num2")
msgbox var1+var2
Now navigate to Action 2 and define -
RunAction "Action1", oneIteration,5,6
When you Run Action 2, you shall find the Resultant sum displayed in the messagebox.
Hope this clears it to you a bit....
Cheers....