Do the following to add a verification to a script during recording:
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
This option temporarily suspends recording and displays the
Test Logic Designer wizard.
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).
Follow the wizard through the process and click
Finish to close the wizard and continue recording.