Types of output values in qtp with example

What are Output Values in qtp?

Output values are used to store the run time values/data that are displayed in the application into the run time data table, so that these run-time values in the script can be used in future wherever it needed.

Say if the value which is dynamically created or processed by application is needed for later use, output concept can be used.

Example, If an application produce an id of the person and that id need to be used in some other part of the application , that can be solved using output concept, where the id of that person can be stored in the data table and that value can be referred later.

output values in qtp-types

Different Types of output values in qtp:

Standard output value

To get the property value of an object as an output value and the same is used during run time as an input value

How to insert Standard output value

During Recording Press CRTL+F12 or Insert menu->Output Value->Standard Output Value

Text out value

To get the text of the web page/ application as an output value and the same is used during run time as an input value

How to insert Text output value

During Recording, Navigate to Insert Menu ->Output Value->Text output Value

Text area output value

To get the text from the defined area of an application as an output value and the same is used during run time as an input value

How to insert Text Area output value

During Recording, Navigate to Insert Menu ->Output Value->Text Area output Value

Database output value

To get value from the content of the database and use it as an output value and the same is used during run time as an input value.

How to insert Database output value

Either In Record mode or Normal Mode Navigate to Insert Menu-> Output Value->Database output Value

XML Output value from Application

To get the value of the XML file which was used in Application and stored as an XML File, Get the values and use it as output value and the same is used during run time as an input value.

How to insert XML Output value from Application

During Recording, Navigate to Insert Menu ->Output Value-> XML Output value from Application

XML output value from Resource (File)

To get the value of the XML file and use it as output value and the same is used during run time as an input value.

How to Insert XML output value from Resource (File)

Either In Record mode or Normal Mode Navigate to Insert Menu-> Output Value-> XML output value from Resource (File)

 

Summary
Article Name
Types of output values in qtp with example
Description
Types of output values in qtp
Author
Publisher Name
Raghavendra
Publisher Logo

1 thought on “Types of output values in qtp with example”

Leave a Reply

Your email address will not be published. Required fields are marked *