Académique Documents
Professionnel Documents
Culture Documents
com
Prerequisites:
a) Software Testing Principles & Practices
b) QTP Basics
c) Programming Fundamentals
d) Database Fundamentals
*******************************************************************
www.gcreddy.com 1
gcreddy@gcreddy.com
Enhancing Tests
Debugging Tests
Running Tests
Analyzing Test Results
Reporting Defects
Object Repository
Local Repository
Shared Repository
www.gcreddy.com 2
gcreddy@gcreddy.com
Descriptive Programming
www.gcreddy.com 3
gcreddy@gcreddy.com
www.gcreddy.com 4
gcreddy@gcreddy.com
Environment Variables
Built-in Variables
User Defined Variables
www.gcreddy.com 5
gcreddy@gcreddy.com
Recovery Scenarios
Trigger events
www.gcreddy.com 6
gcreddy@gcreddy.com
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
gcreddy@gcreddy.com
d) Defects
Posting defects
Tracking defects
VB Script
Session 13 –Introduction, Variables
www.gcreddy.com 8
gcreddy@gcreddy.com
www.gcreddy.com 9
gcreddy@gcreddy.com
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
gcreddy@gcreddy.com
www.gcreddy.com 11
gcreddy@gcreddy.com
www.gcreddy.com 12
gcreddy@gcreddy.com
www.gcreddy.com 13