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

I want to test my vb.net solution file using qtp. Does Qtp test only .exe file?

1730


How many tabs are available to view your test in a test pane and what are they?

567


Explain xml checkpoints.

606


Hi friends I need to know about jubula automation tool. Is anybody know in bangalore where jubula tanning class is going on do let me know. Its urgent for me to learn that tool please help.

2897


What is quicktest professional (qtp window?

598






What is synchronization? What are the ways you can synchronize?

653


What is the difference between shared and local object repository?

620


Create flight reservation login descriptive programing (Condition: Remove the value and substitute with a variable, and then call the validation from Excel) Plz help me....... very urgent.........

1584


how to idetfy which test cases are automated?who will deside that plz tell me

1538


What are the common defects found in your project? (in qtp interview)

1621


How you will rate urself in QTP in the range of 0 to 5

1750


Give me some real time point of way where exactly we can conduct audits?

1503


How to capture dynamic values in load runner and how Each of the captured values are to be written to a text file (c:\temp\LoadRunner1.txt)

1734


How to handle the exceptions using recovery secnario manager in quicktest professional?

639


What is 'sleep' in sync point?

631