0% found this document useful (0 votes)
19 views27 pages

Using Parameters: Education Services

This document discusses using parameters in QuickTest Professional testing workflows. It describes different types of parameters like input, output, random number, and environment parameters. It explains how to insert input parameters to drive data-driven tests, insert output parameters to capture values from tests, and parameterize checkpoints to make them more flexible. The objectives are to describe parameter types, insert input and output parameters, parameterize checkpoints, and evaluate iterative test results.

Uploaded by

austinfru
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views27 pages

Using Parameters: Education Services

This document discusses using parameters in QuickTest Professional testing workflows. It describes different types of parameters like input, output, random number, and environment parameters. It explains how to insert input parameters to drive data-driven tests, insert output parameters to capture values from tests, and parameterize checkpoints to make them more flexible. The objectives are to describe parameter types, insert input and output parameters, parameterize checkpoints, and evaluate iterative test results.

Uploaded by

austinfru
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 27

Using Parameters

EDUCATION SERVICES

Objectives
After completing this chapter, you will be able to: Describe and use parameter types. Insert an input parameter. Insert an output parameter.

Parameterize a checkpoint.
Evaluate results for iterative tests.

QuickTest Professional Workflow

Parameter Types
Input parameter Output parameter Random Number parameter Environment parameter

Input Parameters for Data-Driven Tests

Using Design-Time Data Table

Using a Global Data Sheet

Using a Local Data Sheet

Data Table Location

Replacing Static Data with Input Parameters

10

Setting the Parameter Value

11

Supplying Data to the Parameter

12

Setting the Number of Iterations

13

Test Results Iterations

14

Using Output Parameter

15

Inserting an Output Parameter While Recording

16

Inserting an Output Parameter After Recording

17

Reusing Output as Input

18

Parameterizing a Checkpoint

19

Parameterizing an Object Repository

20

Random Number Parameter

21

Environment Parameter

22

Run-Time Table After Playback

23

Summary
In this chapter, you learned how to: Describe and use parameter types. Insert an input parameter. Insert an output parameter. Parameterize a checkpoint. Evaluate results for iterative tests.

24

Review Questions
Now answer these review questions. 1. What is the purpose of the input parameter? a) Creates a parameter standard b) Sets a constant parameter value

c) Drives a variety of data values through a test


a) Where can you find the result of an output parameter? a) Design-time Data Table

b) Run-time Data Table c) The .usr file d) The default.xls file


25

Review Questions
3. Should the test be in the Record mode to insert an output parameter? 4. How can you make a checkpoint flexible?

a) Use the Object Properties dialog box b) Create and insert a regular expression c) Input data to the parameter using the design-time Data Table d) Both b and c

26

Exercise: Using Parameters

Part 1: Record a new order, add synchronization point, and a checkpoint Part 2: Create an output parameter from Active Screen Part 3: Parameterize to accept input values Part 4: Run the test Part 5: Use a random number parameter

27

You might also like