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 can you pass value one action to another action?

785


Hi I know two types of testing processes. 1. Reaquirments stage,test design,code review's, Design review's, Test Plan, Test Cases design, test execution, Defect Reporting and tracking, UAT, Signoff. 2.Test Initiation , Test Plan, Test Design, Execution,Bug tracking, UAT, Sign off.

1613


What are the general steps involved in the data driven framework?

778


How can we import into Excel "Details" ,"Result" ,"Time" parameters from within a Results Report which is generated after a Run error when a script is executed in QTP? Refer E.g below Status Functionality Description RunDate Fail Login User should be able to Login 12/3/2007 StartTime EndTime Details* 1:31:58 PM 1:32:29 PM (this one i want)

1763


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

2152


What are the various types of Actions in UFT?

808


What is object spy in quicktest professional (qtp)?

738


What are the types of object repositories? Which one is you using?

882


What is the basic concept of quicktest professional (qtp)?

807


What contains Data Driven Framework document in qtp?

1671


Explain the keyword driven framework for the window based application complete creation of library files,env file,test data,recovery file,excel file ,repository etc and as a test engineer how is ur approach

1828


What is the difference between rational rose and QTP?

2005


What ate the Technologies supported by QTP?

917


I am a new tester that needs to create an automatic script involving security questions. On a webpage I need to select a security question(which are random) from a drop down menu, and then input the answer as the last word from the security question. I have the script set-up to automatically select the first security question from the drop down. The problem I am having is trying to insert the security answer. How do I insert the security answer based on the selection from the security question?

2088


can test automation improve test effectiveness?

1734