Creating a Control Automation Step Using a Test Application

When working with a test application, you can create individual steps that perform test actions. Creating individual steps means you do not have to re-record the visual test. Simply create additional actions against the test application as needed.

You can also create additional actions against controls using captured screens in the Screen Preview.

  1. Open the visual test in which you want to identify a control.
  2. Open the test application that contains the control.
  3. Select the step preceding the insertion point. The step you select is where you want to perform an action against the control.
  4. Choose Insert > Control From > Application Under Test. The Recording dialog box opens.
  5. Select the control that you want to use in the test application. The Select Action dialog box opens.
  6. Determine the action to use on the control. The automation step appears below the selected step. Properties for the step appear in the Properties pane. The selected action appears as the Method property in the Action category. You can edit properties for the step to further control how the action executes.