Variable passing from one Action to another

Variable passing from one Action to another

QuickTest enables you to retrieve values in your test or component and to store them as output values. You can subsequently retrieve these values and use them as input at a different stage in the run session. You can pass variables from one action to another by setting Action Call Parameter Values. You use the Parameter Values tab of the Action Call Properties dialog box to specify the values of input action parameters used by the called action and to specify the locations in which you want to store output action parameter values. You can also parameterize the value used for a particular input action parameter using any available parameter type.

The actual input and output action parameters that an action can receive or return, and their types, are defined in the Action Properties dialog box. If you do not set a value for an input action parameter in the Action Call Properties dialog box, the default value that is specified in the Action Properties dialog box is used.



You can specify a location in which to store the output action parameter values, which can be used in the called action.

To specify a location in which to store an output action parameter value:

  • In the Output parameters area, click in the Store In box for the parameter and enter a variable name.


If we choose variable to store the value, then the value is stored in a run-time variable for the duration of the run session. You can accept the default name assigned to the variable or enter a different variable name.
Alternatively, you can click the output storage button in the Store In box to open the Storage Location Options dialog box in which you can specify a location for storing the output value. You can select to store the value in a test or action parameter, a Data Table parameter, or an environment parameter.
  • Repeat this procedure for each output action parameter value in the list.

0 Responses to "Variable passing from one Action to another"

Post a Comment