QTP Overview Part -7 - Parameters
description
Transcript of QTP Overview Part -7 - Parameters
![Page 1: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/1.jpg)
EDUCATION SERVICES
Parameters
![Page 2: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/2.jpg)
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.
![Page 3: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/3.jpg)
3
QuickTest Professional Workflow
![Page 4: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/4.jpg)
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
![Page 5: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/5.jpg)
5
Input Parameter
![Page 6: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/6.jpg)
6
Steps To Create An Input Parameter
![Page 7: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/7.jpg)
7
Set The Parameter Value
![Page 8: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/8.jpg)
8
Supply Data To The Parameter
![Page 9: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/9.jpg)
9
Data Driven Tests
![Page 10: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/10.jpg)
10
Output Parameter
![Page 11: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/11.jpg)
11
Steps To Create An Output Parameter
![Page 12: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/12.jpg)
12
Output Value Properties
![Page 13: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/13.jpg)
13
The Run-Time Table
![Page 14: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/14.jpg)
14
Re-Use Outputs As Inputs
![Page 15: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/15.jpg)
15
Random Number – Input Parameter
![Page 16: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/16.jpg)
16
Environment Parameter
![Page 17: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/17.jpg)
17
Component Parameter
![Page 18: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/18.jpg)
18
Parameterize A Checkpoint
![Page 19: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/19.jpg)
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?
![Page 20: QTP Overview Part -7 - Parameters](https://reader030.fdocuments.us/reader030/viewer/2022020217/540957f8dab5cac66d8b4736/html5/thumbnails/20.jpg)
20
Exercises
Complete exercises found at the end of the chapter.