Pass parameters between QTP Actions

First, in the KeyWord View, right-click action1, Action Properties, select the Parameters menu item in the pop-up window, and add a variable (the variable name is i) in Input parameters.
Then add
dim i
i=parameter("i") in the script of action1 'The i variable that has been set
up is judged
at this time RunAction "action1", oneIteration,i in action2

Guess you like