Scripting QuickTest Professional (QTP) Advanced Course

Course Code: MQ 553
Course Abstract:

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.

Audience: This course is designed for individuals who are intermediate or advanced users of QTP who need to improve the knowledge on advanced VBScript language and need to use advanced techniques for testing.
Duration: 3 days
Learning Outcomes:

Upon completion of this course, the participant will be able to:

> Recognize OOP
> Work with the file system
> Manage folders
> Mange files
> Read and write text files
> Configure dictionary objects
> Master regular expressions
> Manage Windows Script Host
> Manage ActiveX data objects
> Use the MSXML parser
> Use Windows Management Instrumentation
> Script QTP

Course Topics:

Introduction to OOP
The OOP Model
The Object Model
Introduction to COM
Using COM Objects

Working with the File System
The FileSystemObject (FSO) Object
FSO Object Model
FSO Objects
Working with Disk Drives

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

Managing Files
Binding to a File
Deleting a File
Copying a File
Moving a File
Rename a File
File Properties
Managing File Attributes
Parsing File Paths

Reading and Writing Text Files
Binding to a File
Opening Test Files
Closing Text Files
Reading Text Files
Write to Text Files

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

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

Windows Script Host
WSH Objects and Services
The WSH Object Model
Managing Network Drives
Managing Network Printers
WSH Network Object

WSH Shell Object
Working with Shortcuts
Working with Special Folders
Working with Environment Variables
Reading From and Writing to the Local Registry
Sending Keystrokes to a Program
Running Programs

ActiveX Data Objects
ADODB Object Model
Connecting to a Data Source
Creating a New DSN
Connecting to a Database
ADO Cursors and Lock Types
Retrieving Data

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

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 to Windows Script Components

Scripting QTP
Internationalization
Disconnected Recordset
Generating GUID's
Accessing to the .NET Framework
Keep QuickTest from Hanging
Working with Shell.Application

Prerequisites: First Steps Windows Course, or First Steps Web Course, Scripting QTP Basic Course, or basic VBScript knowledge is required.
Note: All fields are required
At the present time we do not offer training for individuals or groups less then 6 individuals. We apologize for any inconvenience.


We Value Your Privacy!

Ready to get started or in need of more information? Contact us today.

Go To Blog Virtual Learning

Testimonials

TEKsystems has been able to successfully train the Help Desk on Windows XP Professional, Windows 2003 Server, and Managing a Windows 2003 Network Environment. They have been willing to schedule both day and night classes to meet our needs.

–Client