| Learning Objectives 
 
 
				
To allow the student to successfully use Quality Center immediately following the end of the class.  The student will have a comprehensive understanding of tool use and potential.
 Audience
 
 Those who will be developing QTP scripts as part of their daily activities.
 
 Prerequisites
 
 Minimum:  Completion of Introductory Training for QTP 9.x or 10.x or 11.x
 
 Recommended:  Minimum one month hands on experience with QTP
 
 Some experience with VBScript programming or experience with another procedural programming language.
.
 
 NOTE:  Without some experience or an understanding of programming, many will find this course excessively challenging.  QTP is a development environment; we treat it like that.
 
 Duration
 
 This is a two day course
 
 Course outline
 
 Review of QTP
 
Using the Expert ViewRecord and playback
Synchronization
Regular Expressions
Basic Checkpoints
Parameterization
Output Values
The Object Repository
 
Introduction to VBScript ProgrammingDescription of the Expert View
Translation between Keyword and Expert View
Examination of Objects and Methods
Retrieving Dynamic Information from Test Objects
Using the Step Generator
Manually entering code
Using the Debugger
 
Dynamic ObjectsVariables and Constants
Literals
Operators
Commenting
Control Statements and Programming Logic
Built-in Functions
String Manipulation
Date Manipulation
Type Conversion
Outputting Data to the Screen
 
Creating Functions and Subroutines in VBScriptDescriptive Programming
Description Object and Child Objects
Managing Tables
Revisit Previous Techniques
Using Looping Statements
 
External Data:  Excel Data TablesFunctions and Subroutines
Libraries, Building and Associating
Associating Procedures to Test Objects
Registering a Procedure to an Object Class
A routine or a reusable action?
 
External Data:  DatabasesAdvantages of Importing and Exporting Data Tables
Process for Importing and Exporting Data Tables
 
External Data:  Text FilesReview:  Simple Database Checkpoints
Importing from Databases using the Record Set
 
Managing Selected QTP IssuesAdvantages of Using Text Files
Reading from Text Files using the File System Object
Writing to Text Files using the File System Object
 
External Data: The Excel.Application Object (Optional)Recovery Scenarios
Inline Code
Optional Steps
Negative and Positive Data
Exit Statements
 
The Extern Object - Accessing External Routines (Optional)Excel.Application Object
Counting Rows
Reading from Multiple Workbooks
Writing to Excel
 
Lesson ScheduleUsing the Extern object
Extern.Declare
Examples
 Day 1
Review of QTP
Using the Expert View
Introduction to VBScript Programming
Dynamic Objects
Creating Functions and Subroutines in VBScript
Day 2
External Data:  Excel Data Tables
External Data:  Databases
External Data:  Text Files
Managing Selected QTP Issues
External Data: The Excel.Application Object (Optional)
The Extern Object - Accessing External Routines (Optional)
 
 |