e-academy – IT training excellence in Cardiff, Newport, Bristol and South Wales

Course details
Fee £1,200
Days 3
Code QTP11
Course dates
May 
Jun 
Jul9
Aug 
Sep 
Oct 

Click on a course date to book
e-mail us
or call us on
0845 650 6500

Complete Quick Test Professional 11

The Complete Quick Test Professional 11 training course is available at our Cardiff training centre in Wales, which is also within easy reach of Newport, Bristol and South Wales

Overview

 

This comprehensive course covers all the essential principles of using QuickTest Professional 11. Designed for beginners as well as testers with previous automation experience, it take the newcomer to QTP from the basic techniques of record & relay in the keyword view, right through to advanced programming skills in the expert view.

 

Throughout the course practical examples are demonstrated, and the delegates get to practice what they have learned in each chapter against windows and web applications.

 

Objectives

 

  • Understand the key principles of test automation; record & relay, synchronisation, checkpoints, data-driven testing
  • Understand how to structure your automated testing
  • Gain a full understanding of how QTP integrates with the system under test
  • Understand how you can design robust tests against dynamic applications
  • By the end of the course you should have a complete understanding of how to develop reliable, robust QTP test scripts

 

Outline

 

Day 1

 

Record & Playback

How to create a basic script using record & replay in the keyword view, we look at record & run settings, the various QTP Add-ins, the help system, the Script file structure and the test run results.

 

Object Recognition

Explains how QTP recognises objects in the system under test. Describes the Object Repository and the different Object Repository types. Looks at Local repositories, the Object Repository Manager, and associating Repositories. Provides the user with best practices in using Shared Object Repositories, how to develop them, maintain them, and fix problems with object recognition.

 

Synchronisation & Checkpoints

How to use synchronisation to ensure that QTP waits for your application to complete processes, covering both the global timeout and local sync points. How to insert checkpoints in your script to test your application, this chapter looks at standard checkpoints but as we move through the course we look at other types such as Bitmap & Database checkpoints.

 

Multiple Actions

 How to break your script down into smaller components called Actions, covers all types of Actions, and how to re-use Actions in other scripts, as well as cipying and calling external Actions.

 

Data-driven testing

How to use the built-in Data Table to data-drive tests with multiple test cases. How to use the Global and Local Worksheets, the differences between these in iterating entire tests and/or local Actions. How to use Excel formula in your worksheets to overcome Test Data issues. Also how to reference external spreadsheets.

 

Day 2

 

The Expert View

Explains the differences between the Keyword and Expert view. How VBScript fits into QTP, the QTP Object model, ways to speed up coding in the Expert View. The Step Generator explained, also covers all the debuggin features of the QTP development environment.

 

Capturing Application Data

Covers the various methods for capturing data from your system under test for checking, or outputting  to the Data Table and Results Introduces using variables in QTP as well as object specific methods for capturing data and the generic GetROProperty method. Also looks at outputting values to the Data Table and the Reporter Object.

 

Custom Checkpoints

How to create your own checkpoints using the Expert view. Demonstrates how to check dynamic data with varying expected results. How to use the Reported Object and conditional statements in QTP.

 

Introduction to Web Testing

Introduces the Web Add-in, Web Configuration, the Mercury Tours web site which will be the application under test, looks at web recordings, objects, methods and properties.

 

Day 3

 

Dynamic Objects

How to test dynamic applications whose interfaces change at run-time. Looks at making the Object Repository more flexible by fata-driving it, using regular expressions and using the SetTOProperty method. Then moves on to descriptive programming and capturing object collections from your system under test. Also covers how to use QTP to access your applications native object properties and methods when you can't achieve what you need in QTP alone.

 

External Data

Covers accessing data from data sources external to QTP such as databases, Microsoft Excel and comma separated values files. How to pull data in from external sources to data-drive your tests with, and how to export test data captured from the Application Under Test back to external files. Covers the Microsoft File System Object.

 

Functions

Covers creating procedures in QTP. Explains both types of procedures (subroutines and functions) and the differences between them. Why and how they should be used, storing them in function libraries, calling them from scripts, how to override or create new methods for Test Objects in QTP.

 

Object Recognition Problems

Key points for overcoming object recognition problems. Cover the 3 recording modes, Virtual Objects, and mapping custom classes, Visual Identification system and the Smart Identification syste. The class get to practice these techniques on common applications that QTP struggles to recognise.