types of output value in details.

Answer Posted / anum

1. Standard Output Values
You can use standard output values to output the property
values of most objects. For example, in a Web-based
application, the number of links on a Web page may vary
based on the selections a user makes on a form on the
previous page. You could create an output value in your test
to store the number of links on the page.

2. Text and Text Area Output Values
You can use text output values to output text strings
displayed on a Web page or application. When creating a text
output value, you can output a part of the object's text.
You can also specify the text before and after the output text.

You can use text area output values to output text strings
displayed within a defined area of a screen in a Windows
application.

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. Inside the If statement, you
check whether a window exists with a known title bar value,
for example Error. If it exists, you output the text in this
window (assuming that the window size is the same for all
possible error messages).

3. Table Output Values
Table output values are a subset of standard output values.
You can use table output values to output the contents of
table cells. For some types of tables, you can specify a row
range from which to choose the table cells. During the run
session, QuickTest retrieves the current data from the
specified table cells according to the settings that you
specified and outputs the values to the Data Table.

4. Database Output Values
You can use database output values to output the value of
the contents of database cells, based on the results of a
query (result set) that you define on a database. You can
create output values from the entire contents of the result
set, or from a part of it. During the run session, QuickTest
retrieves the current data from the database and outputs the
values according to the settings that you specified.

5. XML Output Values
You can use XML output values to output the values of XML
elements and attributes in XML documents.

After the run session has finished, you can view summary
results of the XML output values in the Test Results window.
You can also view detailed results by opening the XML Output
Value Results window.
For example, suppose that an XML document in a Web page
contains a price list for new cars. You can output the price
of a particular car by selecting the appropriate XML element
value to output.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to export quicktest professional results to an .xls file?

817


How to perform cross platform testing and cross browser testing using qtp? Can you explain giving some example?

760


i am a begnner so am learning Error handling :tried using Recovery manager didnt work i want to be able to handle errors , e.g. if while running the test the folwoing does not show up then how can i use the If then else and goto next step in the test, as in many scenarios it does not show up Browser("The Shopping Channel -").Page("The Shopping Channel -_8").Image("easy pay").Click

1744


What is the difference between the design-time and run-time data tables?

786


What are the data types in qtp?

856


What is quicktest professional?

756


PLEASE TELL ME WHEN DO YOU USE THE OBJECT SPY AT RUN TIME

6687


How you create new action in qtp?

809


what is run-time data?

1922


How to use checkpoints in qtp ?

769


what is the diffrence bw qtp architectute and qtp framework?

1750


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1798


What is the differences between image check point and bit map check point?

778


What is checkpoints for quicktest professional?

773


1.Qtp suppots Unix& linx or not 2why qtp suppots shell script.

1908