About Entering and Verifying Text in an Application

You can associate text with a step in a test and easily insert it into the application being tested. You can use a similar feature to verify that text actually in the application is what is expected. For either of these features you can copy almost any text or grid of data, for example, from a spreadsheet.

If a step in your script requires that you enter a large amount of text or if the text will be validated (for example a credit card number), you can save the text with the step. This feature saves you time when entering text while running scripts and ensures accuracy. First you enter the text, such as a credit card number, into the application and copy the text to the clipboard. In Manual Tester, you associate the contents of the clipboard with the step. Manual Tester displays the text that has been associated with the step in the Paste Data property in the Properties view. When the script is run, Manual Tester automatically puts the text you saved on the clipboard when you get to that step. You can then easily paste the text into the application you are testing.

You can also use a similar feature to verify information in the application. When authoring your script, you can associate text that you expect to be present in the application with a statement. Manual Tester displays the expected text associated with a statement in the Compare Data property in the Properties view. When you run the script, you capture 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 displays the actual text and the expected text in a window.

Note: You can disable these features in the execution viewer. Click the menu icon Menu icon in the execution viewer toolbar and clear Copy Text to Clipboard mode. You can still use the clipboard in the usual way to copy and paste text.

Parent topic: Entering and Verifying Text in an Application

Related tasks
Entering Text into an Application
Verifying Text

Terms of use | Feedback
(C) Copyright IBM Corporation 2004, 2005. All Rights Reserved.