Sei sulla pagina 1di 7

Automated Testing QTP Session -4

By
Hariharan.R

Outputting Values

QuickTest enables you to retrieve values in your test or component and to


store them as output values.

An output value is a step in which one or more values are captured at a


specific point in your test or component and stored for the duration of the
run session

During the run session, QuickTest retrieves each value at the specified
point and stores it in the specified location

Output values are stored only for the duration of the run session. When the
run session is repeated, the output values are reset.

Output Values

Standard Output Values


Text and Text Area Output Values
Database Output Values
XML Output Values

Output Values
Standard Output Values

use standard output values to output the property values of most objects.

Text and Text Area Output Values

You can use text output values to output text strings displayed in a screen
or Web page
You can use text area output values to output text strings displayed within a
defined area of a screen in a Windows application.
Database Output Values

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

Output Values

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

Output Values

Output Values can be stored in


A Test, Action or component parameter
Run-time Data table
Environment Variable

A Test, Action or Component parameter


You can output a value to an action or component parameter, so that values
from one part of a run session can be used later in the run session, or be
passed back to the application that ran (called) the test or component.
Run time Data table

The option to output a value to the run-time Data Table is especially useful
with a data-driven test (or action) that runs several times. In each repetition,
or iteration, QuickTest retrieves the current value and stores it in the appropriate
row in the run-time Data Table.

Output Values / Checkpoints

When you output a value to an internal user-defined environment variable,


you can use the environment variable input parameter at a later stage in the
run session.
CheckPoints

You can check objects in your application or Web site to ensure that they
function properly.

A checkpoint is a verification point that compares a current value for a


specified property with the expected value for that property. This enables you
to identify whether your Web site or application is functioning correctly.

Potrebbero piacerti anche