Adding a Verification to a Script while Recording

Do the following to add a verification to a script during recording:

  1. Begin recording.
  2. Move the mouse cursor over the object that you want to verify and press Ctrl+Alt.
    When you are recording a mobile Web application, you can also click on the object and click Add Verification. This option temporarily suspends recording and displays the Test Logic Designer wizard.
  3. Select the object that you want to verify after the wizard opens. If you select a field with compound properties (Position, for example), code similar to the following will be added to your script: Workbench.Verify(New TextPosition(1, 0), .TextField("TextField").Position).
  4. Follow the wizard through the process and click Finish to close the wizard and continue recording.