Popular Courses

Browse Our Free Resources

  • whitepapers
  • whitepapers
  • webinars
  • blogs

Our Locations

Training Centres

Vancouver, BC
Calgary, AB
Edmonton, AB
Toronto, ON
Ottawa, ON
Montreal, QC
Hunt Valley

locations map


550 6th Av SW
Suite 475
Calgary, AB
T2P 0S2


821A Bloor Street West
Toronto, ON
M6G 1M1


409 Granville St
Suite 902
Vancouver, BC
V6C 1T2

U.S. Office

436 York Road
Suite 1
Jenkintown, PA

Other Locations

Dallas, TX
Miami, FL

Home > Training > Configuration Management and Testing > Scripting QTP Advanced Training

Scripting QTP Advanced Training

Course#: WA1952

This core course provides an advanced comprehensive using the language programming interface used by QuickTest; VBScript.  Intermediate and advanced users will learn a wide array of different modern techniques and advanced coding using the world of automation COM via VBScript.

You will learn all about the file system using FSO, WMI and Shell32 and WSH. You will learn how to work-around the VBScript limitations with advanced use of the Dictionary object and how to include reserved objects with QuickTest. You will learn how to master your data using regular expressions, ADO and XML. You will learn how to use .NET classes available for VBScript, and finally the QuickTest Automation Object Model.

By learning how to use the QuickTest Object Model you will be able to manipulate QuickTest from external applications and VBScript. You will be able to create your own testing engine and implement your preferred configurations within your organization needs. 

Note: All topics are supported by hands-on exercises based on real-life examples.


Intermediate or advanced users of QTP who need to improve the knowledge on advanced VBScript language and need to use advanced techniques for testing.


First Steps Windows CT–QTP- 100 Or First Steps Web CT –QTP-200
Scripting QTP - Basic CT–QTP-101 Or Basic VBScript Knowledge

Technical Prerequisites

Valid QTP license and Internet access.
Visual Studio 93 and above( for write own dll’s )


3 days

Outline of WA1952 Scripting QTP Advanced Training

1. Introduction to OOP

  • The OOP Model
  • The Object Model
  • Introduction tCOM
  • Using COM Objects

2. Working with the File System

  • The FileSystemObject ( FS) Object
  • FSObject Model
  • FSObjects
  • Working with Disk Drives

3. Managing Folders

  • Binding Folders
  • Creating a Folder
  • Deleting a Folder
  • Copying a Folder and Its Contents
  • Moving a Folder and Its Contents
  • Folder Properties
  • Managing Folder Attributes
  • Enumerating Files and Sub-Folders

4. Managing Files

  • Binding ta File
  • Deleting a File
  • Copying a File
  • Moving a File
  • Rename a File
  • File Properties
  • Managing File Attributes
  • Parsing File Paths

5. Reading and Writing Text Files

  • Binding ta File
  • Opening Test Files
  • Closing Text Files
  • Reading Text Files
  • Write tText Files

6. Dictionary Object

  • Configure Dictionary Properties
  • Adding Keys ta Dictionary
  • Manipulating Keys and Items in a Dictionary
  • Sharing Values Using dictionary Object
  • Use Dictionary Object for Generic Functions

7. Mastering Regular Expressions

  • About Regular Expressions
  • Patterns
  • Matches Collection and Match Object
  • SubMatches object
  • Useful Regular Expressions

8. Windows Script Host

  • WSH Objects and Services
  • The WSH Object Model
  • Managing Network Drives
  • Managing Network Printers
  • WSH Network Object

9. WSH Shell Object

  • Working with Shortcuts
  • Working with Special Folders
  • Working with Environment Variables
  • Reading From and Writing tthe Local Registry
  • Sending Keystrokes ta Program
  • Running Programs

10. ActiveX Data Objects

  • ADODB Object Model
  • Connecting ta Data Source
  • Creating a New DSN
  • Connecting ta Database
  • ADCursors and Lock Types
  • Retrieving Data

11. MSXML Parser

  • About XML
  • XML Documents
  • The XML Elements and Attributes
  • Using the MSXML Parser
  • Loading XML Documents
  • Handling XML Errors
  • Accessing Document Information

12. Windows Management Instrumentation

  • Scripting with WMI
  • WMI Administrative Tools
  • Using WMI
  • WMI Files and Folders
  • WMI Tasks
  • VBScript Classes
  • Class Object
  • Class Construct
  • Class Variables
  • Class Properties
  • Class Methods
  • Class Events
  • Introduction tWindows Script Components

13. Scripting QTP

  • Internationalization
  • Disconnected Recordset
  • Generating GUID's
  • Accessing tthe .NET Framework
  • Keep QuickTest from Hanging
  • Working with Shell Application
We regularly offer classes in these and other cities. Atlanta, Austin, Baltimore, Calgary, Chicago, Cleveland, Dallas, Denver, Detroit, Houston, Jacksonville, Miami, Montreal, New York City, Orlando, Ottawa, Philadelphia, Phoenix, Pittsburgh, Seattle, Toronto, Vancouver, Washington DC.
*Your name:

*Your e-mail:


*Company name:

Additional notes:

We have received your message. A sales representative will contact you soon.

Thank you!.

more details
buy this course

Register for a courseware sample

It's simple, and free.


Thank You!

You will receive an email shortly containing a link to download the requested sample of the labs for this course.