QTP Advanced Training

  • Tweet
  • Tweet

 

Course: Advance QuickTest Professional 9.2 Version

Course Duration: 25Hrs

The Advance QuickTest Professional 9.2 course covers the EXPERT VIEW of the QuickTest. Explains how to work with dynamic objects and data, use vbscript conditional and looping statements, use datatable methods and retrieve data from external sources 

Audience:

The course is intended for intermediate testers, leads who need to work in the expert view .

Objectives:

After completing the course

  • Translate steps between keyword and expert view
  • Retrieve and use the properties of the object
  • Identify when programmatic description is useful
  • Retrieve data from application objects
  • Describe and use various looping statements
  • Using data table to store runtime data and drive actions
  • Retrieve and access data from external sources
  • Create new subroutines and functions
  • Create and associate a library of functions with tests
  • Identify

Prerequisites:

Knowledge of basic concepts of QuickTest professional

Hands on Training:

Approximately 50% of the course is devoted to lab exercises. Mercury Interactive provides a Flight Reservation System Web application and Windows Flight application for this training.

Environment:

  • Windows XP Operating System
  • QTP 9.2V

Break-up

Day1 Session 1 Introduction to Expert View
Session 2 Working with Object Properties
Session 3 Working with Dynamic Objects
Session 4 Using VBScript Operators, Statements and Functions
Day2 Session 5 Working with Dynamic Data
Session 6 Retrieving External Data
Session 7 Creating New Procedures
Session 8 Recovery Scenarios

 

Course Outline

Session 1

Introduction to Expert View

  • Translate steps between views
  • Objects and classes in QuickTest
  • Common methods in QuickTest
  • Guidelines for vbscript syntax
  • Common windows and Web objects

Session 2

Working With Object Properties

  • Retrieving Object Property values
  • Run Time versus Test object Properties
  • Calling the GetROproperty and GetTOproperty
  • Viewing runtime value of a variable
  • Adding the reporter utility object
  • Filtering events
  • Declaring constants and variables

Session 3

Working with Dynamic Objects

  • Dynamic objects vs Static Objects
  • Identifying Dynamic Objects
  • Using Programmatic Description
  • Using the Description Object
  • Retrieving Child objects

Session 4

Using Vbscript Operators,Statements and functions

  • Commonly used vbscript operators
  • Comparison operators
  • Logical operators
  • Manipulating strings with functions
  • Converting datatypes with functions
  • Using statements for commenting

Session 5

Working with Dynamic data

  • Retrieving data from objects
  •  The wincombobox and weblist objects
  • Using the for.. next statement
  • Using the while wend statement
  • Using the do loop statement
  • Using the continuation and termination conditions

Session 7

Retrieving External Data

  • Connecting to a database to using ADO object
  • Executing SQL query
  • Examining the query results
  • Working with files
  • Reading and writing to a file

Session 8

   Creating Procedures

  • Comparing subroutine and functions
  • Understanding subroutine and function syntax
  • Creating a procedure
  • Using a procedure locally
  • Associating a procedure to test object
  • Using the function definition generator
  • Building a library
  • Associating a library
  • Using procedures in recovery scenarios

Session 9

  Handling QuickTest Exceptions

  • An overview of recovery scenario wizard
  • Using conditional statements
  • Using exit statements
  • Using the on error resume next statement

 

 

Leave a Reply