When authoring your script, you can associate text that you expect to be present in the application with a verification point or a reporting point. When running the script, you copy the actual text in the application to the clipboard. Manual Tester compares the actual text to the expected text associated with the statement. If there is a discrepancy, Manual Tester highlights the first character that is different in the Text Difference dialog box.
Manual Tester displays the Capture Data for Compare dialog box.
Manual Tester pastes the text you copied in Step 2 into the Data to compare when the statement is executed window.
Manual Tester closes the dialog box and associates the text you captured with the current statement.
When the script is run, Manual Tester
automatically puts the expected text on the clipboard when you get to that
statement. Manual Tester displays the data available icon in the Result section
to indicate that text was captured for comparison with actual text in the
application as shown in the following example:
Manual Tester also displays the expected text in the Compare Data property in the Properties view.
If the actual text and the expected text are the same, Manual Tester displays a message.
If there is a discrepancy between the text associated with the statement and the actual text present in the application, Manual Tester opens the Text Difference dialog box and highlights the first character that is different.
Parent topic: Entering and Verifying Text in an Application
Related reference
Text Difference Dialog Box
Properties View