(QTP) Training Course

advertisement

Job Oriented UFT/QTP Training:

Unified Functional Testing (UFT)/ Quick Test Professional (QTP) Training

Course

OVERVIEW:

This course provides very detailed understanding of using Unified Functional Testing

(UFT)/ Quick Test Professional (QTP) as an automated functional testing tool. This training course will give you an exposure to better work on real time projects comfortably with UFT/QTP. Towards end of the training you would be able to write your own tests , Enhance tests with Parameterization , Checkpoints, Regular expressions ,

Descriptive Programming , VBScript function libraries to write your own functions etc….

Salient Features of the training:

1. Each class is live class , get more interaction with faculty in order to understand better.

2. Prepare the Framework to work on real time project

3. Work on real time project user scenarios to develop scripts

4. Each day of the course is followed by hands on assignments to make sure that you are learning what is being taught in class.

5. The faculty reviews the assignments on the following day and look into the script issues

Detailed syllabus:

Day 1: Test Automation Basics

 Overview of Test Automation

 Why automation

 What is automation

How to do automation

Advantages of automation

Introduction to UFT/QTP

 Introduction to QTP

 Features of QTP:

 ADD-IN Manager

Views

 Active screens

Data table

 Debug viewer

 Resources

 Available keywords

 Automation Testing Process

 Test Planning

Prepare QTP as per AUT

 Create scripts

Enhance scripts

Debug scripts

 Run and result analysis

Report bugs

 Prepare report

Prepare a simple test by record and play back

 Recording modes – context sensitive, low level and analog recording

Test result analysis

 Licensing Mechanisms

 Supported environments

Day 2:

Object Identification

 What is an object and class

 How QTP learn Objects

 Object Repository Types o Local Object Repository

 o Shared Object Repository

Object types: o Runtime o o

Test

Utility

Creating and Managing Shared Repositories

 Merged Shared Object Repositories

 Comparing Shared Repositories

 Associating Shared Repositories

 Add objects, Renaming objects, Deleting objects

 Spying an object

 Export objects

 Virtual Objects

Day3 :

Checkpoints

 Standard Checkpoints

 Bitmap Checkpoints

Database Checkpoints

 Text Checkpoints

Text Area Checkpoints

 Accessibility Checkpoints

 XML Checkpoints

Page ,Table & Image check points

Running and Analyzing a test with checkpoints

Verifying whether a checkpoint has passed or failed.

Day 4 :

Data Driving a Test

 Parameterize Tests

 Parameterize test manually o Data Table Parameters o Environment Variable Parameters

 Create data driven tests

Local and Global Data Tables

Transactions

 Start Transactions

 Ending Transactions

Day 5

Synchronization

 Inserting Synchronize Point

 Matching speed of QTP with AUT using Synchronization option given tool.

 Adding Exist Statement

Pause the script still next object found on AUT using Exist statement.

Adding Wait Statement

 Pause the script using Wait statement with desired delay

Global Synchronization Settings

Allocation time delay to each script line to execute

Day 6

 Exception Handling –

 Introduction Of Recovery Scenarios

 When To Use Recovery Scenarios

 Defining Recovery Scenarios

Associating Recovery Scenarios

Working with Recovery scenarios

Script Debugging concepts [Step Into, Step Over, Step Out, Watch variables, command, breakpoint, debugger viewer, error object]

QTP GetTOProperty, GetToProperties, SetTOProperty & GetROProperty”

 GetTo, GetRo properties

Retrieving Run -Time Object Properties

 Activating Run -Time object Methods

SetTo properties

Regular Expressions

Introduction to Regular Expressions

Defining Regular Expressions in Object Repository.

Create Regular Expressions Through Scripting

Understanding & Working Actions:

 What are Actions

Types of Actions

 How to use Actions

When to use actions

About Working with Actions

 Using Global and Action Data Sheets

Using the Test Flow Pane

 Using the Action Toolbar in the Keyword View

Creating New Actions

 Passing data to actions

Calling Actions

-Calling copy of Action

-Calling an existing Action

 Guidelines for Working with Actions

Setting Action Properties

 Renaming Actions

Removing Actions from a Test

Day 7 :

Understanding & working with external Excel sheets in QTP tool

 Editing and Saving Data Tables in QTP tool

 Importing the Data from external Excel sheet

 Exporting Data

Reading values from excel sheets with syntax & code

 Test settings for executing from particular rows & columns

Importing excel sheet to to Data table on QTP tool

Data Table Methods:

 Various Data table methods

 Usage of Data table methods

 Syntax for all data table methods

Using Data Table Methods

 Import Method

 GetRowCount Method

Export Method

 ExportSheet Method

GetCurrentRow Method

 GetSheet Method

 GetSheetCount Method

Working with excel work books

Adding a workbook

Creating excel sheet

 Methods & sytax for creating excel sheets , workbooks

AddSheet Method

 DeleteSheet Method

Import Method

 ImportSheet Method

 SetCurrentRow Method

 Design Test data

 Datatable concept

 External sheet concept

 Environment variables concept

Access Database

Usage of test data in scripts using all the above approaches

Day 8

 Logging Results:

 Reporter. ReportEvent method and modifying QTP Standard result format

 Reporting results in csv/notepad using scripting

Integration of QTP and QC

Execute QTP scripts in Quality center

Reporting

Day 9 :

Basics on VB scripting

 Importance of VB Script for Automation

Variable Declaration

 Variable Initialization

Data Types

Branches

 Loops

Procedures & Functions

 Naming Conventions

Coding rules

Built In functions

 Numeric function

String function

 Date & Time Conversion

Conversion function

User Defined Functions

 Creating User Define Functions

 Creating Library Files

 Preparing Regression Test Automation Suites

Advanced VB Scripting

 Working with FileSystemObject

Working with Excel Application

 Working with Database

Working with Quick Test

Day 10

Descriptive Programming

 How to Design Descriptive Programming For Window Based & Web Based Application

Access Dynamic Objects During Run-time

 Working With Child Objects

Dictionary object

Day 11

 What is Test Automation Framework?

Programming Standards

Automation Framework

 Introduction of Framework

 Preparing Automation Test Plan

 Types of Frameworks

 Modularity Framework

 Keyword-Driven Framework

 Data-Driven Framework

 Hybrid Framework

Case studies:

Unit testing

Insight recording, Ribbon interface testing like Microsfot word interface

Verify PDF files

Download