qtp overview part -7 - parameters
DESCRIPTION
QTP Overview Part -7 - ParametersTRANSCRIPT
EDUCATION SERVICES
Parameters
2
Lesson Objectives
After completing this chapter, you will be able to:
• Describe and use multiple parameter types.
• Drive data in multiple iterations.
• Analyze errors during test execution.
• Parameterize a checkpoint.
3
QuickTest Professional Workflow
4
Data Table Parameters
• Input parameter - allows you to run a test using different sets of data input values.
• Output parameter - allows you to use output to capture values from the application at runtime.
• When you use a data table parameter, you must instruct QuickTest on where the input data will come from.
• Other parameter types: – Random
– Environment
– Component
5
Input Parameter
6
Steps To Create An Input Parameter
7
Set The Parameter Value
8
Supply Data To The Parameter
9
Data Driven Tests
10
Output Parameter
11
Steps To Create An Output Parameter
12
Output Value Properties
13
The Run-Time Table
14
Re-Use Outputs As Inputs
15
Random Number – Input Parameter
16
Environment Parameter
17
Component Parameter
18
Parameterize A Checkpoint
19
Review QuestionsAnswer the following questions:
1) What is the purpose of an input parameter?
2) Where can the result of an output parameter be found?
3) Must the test be in the record mode to insert an output parameter?
4) How can a checkpoint be made flexible?
20
Exercises
Complete exercises found at the end of the chapter.