I have a main script (vbscript) that calls several QTP scripts. Lets say calls script x and y. I have input/output parameter already defined in these scripts. If x is called first, i want to use the output parameters for x as the input parameters for y. Is is this possible and if so how is that accomplished. Thanks
When you are running multiple iteration of a action what is the point of having the Output parameters. Output paramter is used when you would use output from one action to be given to next action or to be used later in the test. Now since you are calling the action for multiple iteration then there is no point of having output for that action.
Now if you still insist having the same there are some possible solution to you problem:
1. Output all the values in the Action table i.e. the local table of that action.
2. Make a loop and call the RunAction with iteration number and store the output parameters in the way you want. Could be in a array or again in a datatable or so...
3. If you want the output just for sake of seing it then use the reporter.reportevent