QTP Online Training
QTP Online Training
com
Prerequisites:
a) Software Testing Principles & Practices
b) QTP Basics
c) Programming Fundamentals
d) Database Fundamentals
*******************************************************************
www.gcreddy.com 1
[email protected]
Enhancing Tests
Debugging Tests
Running Tests
Analyzing Test Results
Reporting Defects
Object Repository
Local Repository
Shared Repository
www.gcreddy.com 2
[email protected]
Descriptive Programming
www.gcreddy.com 3
[email protected]
www.gcreddy.com 4
[email protected]
Environment Variables
Built-in Variables
User Defined Variables
www.gcreddy.com 5
[email protected]
Recovery Scenarios
Trigger events
www.gcreddy.com 6
[email protected]
Pop-Up window
Object State
Test Run Error
Application Crash
Recovery Operations
Keyboard or Mouse Operation
Close Application Process
Function Call
Restart Microsoft Windows
Creating Recovery Scenarios
Associating Recovery Scenarios
a) Requirements
b) Test plan
c) Test Lab
Creating folders
www.gcreddy.com 7
[email protected]
d) Defects
Posting defects
Tracking defects
VB Script
Session 13 –Introduction, Variables
www.gcreddy.com 8
[email protected]
www.gcreddy.com 9
[email protected]
Examples:
o Create a Folder
o Check if the Folder Exist or not? If not create the Folder
o Copy a Folder
o Delete a folder
o Return a Collection of Disk Drives
o Get available space on a Drive
o Creating a Text File
o Check if the File Exist or not? If not create the File
o Read Data Character by Character from a text file
o Read Line by Line from a Text File
o Data Driven Testing by fetching Test data directly from a Text file.
o Write Data to a Text File
o Delete a Text File
o Check if the File Exists or not? If Exists delete the File
o Calculate size of a Text File
o Compare Two Text File by Size, by Text and by Binary values
o Count the number of times a word appears in a Text File
o Capture all Button Names and Export to a Text File
www.gcreddy.com 10
[email protected]
www.gcreddy.com 11
[email protected]
www.gcreddy.com 12
[email protected]
www.gcreddy.com 13