Assigning Values to Parameters in a Visual Test

To pass parameters during execution from an embedded visual test to the embedding visual test, assign values to the parameters in the embedded visual test.
Note: Before you can assign values to parameters in a visual test, the parameters need to be added to the visual test. For additional information, see Adding Parameters to a Visual Test.
Tip: To see the values of parameters passed between visual tests, add result comment steps into the visual test. For the comment Expression property, select Variable, then select a parameter from the list that contains the passed value.
  1. Open the visual test to which you want to pass the parameters.
  2. In the Test Steps pane, select the step that plays back the visual test that contains the parameters. The step text looks like Playback visual test [asset name], where [asset name] is the name of the inserted visual test.

    Properties for the step display in the Properties pane. In this step, this includes the parameters that have been set up as visual test parameters. These are in the categories Input parameters and Output parameters. Each parameter is listed by its data type. The property name for each parameter is its parameter name.

    If the parameters do not display in the Properties pane, reload the visual test that contains the parameters. To do this, select the Name property and click Refresh Parameters to update the list of parameters.

  3. Select a parameter.
  4. Click Edit Parameter. The Edit Parameter dialog box opens.
  5. Type a value for the parameter into the Initial Value field,
  6. Repeat the previous step to assign values to other parameters.