Showing posts with label Text Output. Show all posts
Showing posts with label Text Output. Show all posts

Thursday, 2 January 2014

What is Text output & its use in QTP

A Text Output values enables to capture or to output text strings displayed in an AUT during run time. For example, suppose that you want to store the text of any error message that appears after a specific step in the Web application you are testing. You can create a text output value while recording or editing your test.

To create a text output value while recording:
1.   Highlight or display the text string you want to use for an output value.
2.  Select Insert > Output Value > Text OutputValue. The pointer changes into a pointing hand.
3.  In your application, click the text string for which you want to specify a text output value. The Text Output Value Properties dialog box opens.

4.  QTP creates a column (using logical name of object) in Global DataTable to store output value.