This workshop will help you understand the innards of QTP, its features, ... Being
a tool training, the focus will be on demonstrating the tool features and applying ...
W ORKSHOP ON QTP Good automation is code development. Functional test automation is beyond mere capture and playback. It is about writing code exploiting the power of the tool that can be easily leveraged, managed and maintained. It is about having a deep understanding of the features, libraries/components enabling you to identify workarounds for aspects that may be directly be enabled by the tool.
WORKSHOP OBJECTIVE This workshop will help you understand the innards of QTP, its features, components to enable you understand the tool in depth to enable to write good automation scripts. In addition to scripting in QTP, this workshop will also cover aspects that relate to robust script and reusable scripts.
TARGET AUDIENCE QA Staff
DURATION THREE days
SUPPORT REQUIRED PCs for lab sessions with QTP license (One PC per two participants)
TOPICS COVERED The topics covered in this workshop are: ‣Introduction to test automation ‣QTP Concepts - Objects, Record/Playback, Checkpoints, Externalizing data, Synchronization, ‣Understanding the QTP functions ‣Object recognition problems and how to resolve them ‣Writing robust code - Implementing error handling ‣Overview of QTP script integration with QC
PREREQUISITES Knowledge of any programming language useful, prior knowledge of VBScript can be very handy.
DELIVERY STYLE Being a tool training, the focus will be on demonstrating the tool features and applying this on an open source web application to ensure that the concepts are well understood. In addition to this the participants are expected to write and execute scripts to build familiarity with the tool.
WORKSHOP TAKEAWAYS At the end of this workshop, you will have a deep knowledge of the tool and should be able to write good QTP scripts.
W ORKSHOP ON QTP TRAINING SCHEDULE Day #1
Introduction to test automation - Needs, Benefits/limitations, aspects to watch out for, skill set requirements, tools landscape, automation process Introduction to automation frameworks - The various approaches, good principles of Automation Test case assessment for automation - Automation candidates, Fitness of test case for automation Quick introduction to QTP - Record & playback Object recognition -- Local/Shared repositories Checkpoints - The various checkpoints and handling synchronization Day #2
Synchronization in detail Error handling with VBScript & QTP - VBScript error handling in QTP Implementing modularity & reusability in QTP o Convert the recorded code to functions & actions o Use parameters for functions & actions o Call the functions from QTP scripts o Use shared vs. Descriptive objects QTP - Data driving o Identifying the data needs for the test cases o Externalizing the global information to an external file o Using test data from external file (Use QTP data driven functions, ADODB VBScript library) o Using input and output parameters for data driving
Day #3 Usage of global variables - environment variables, parameters QTP - Implementing verifications o Identifying the verification needs for the test cases o Adopting good approaches like data driven approach to verification o Using checkpoints & programmatic verification as applicable Solving object recognition problems o By using descriptive programming o By using run-time properties & methods Implementing recovery & error handling o Implementing VBScript error handling to handle method & script level errors o Implementing QTP recovery to handle inconsistent error windows Using QTP and VBScript built-in objects & methods o Use QTP.App object to load QTP, libraries & objects programmatically o Use description objects for descriptive programming o Usage of dictionary objects Oveview of QTP script integration with QC
For more information email to
[email protected] © 2013, CleanSoft Academy. All rights reserved.