software testing genius

What setup is needed for Keyword Driven Testing in QTP

Welcome to “Software Testing Genius”. Subscribe to my RSS feed for latest content on Software Testing.

What setup is needed for Keyword Driven Testing in QTP

Prior to beginning the keyword-driven testing, it is essential that some of the expert automation engineers are entrusted the task of creating a dedicated test automation setup or automation infrastructure which will be shared by all the tests pertaining to the particular application or its functionality.

The key elements of the automation infrastructure are basically a group of function libraries along with shared object repositories. Once the test automation infrastructure is created, the process of building keyword-driven tests can be started by the application testing engineers by choosing objects and desired keywords from the Keyword View. The Keyword View helps us in creating and viewing various steps of our test in a keyword-driven, tabular or modular form.

Process of creating a Shared Object Repository:

Following steps are used to create shared object repository for testing automation setup:


1) Adding or learning different type of objects from the application.

2) Creation of new objects if they are present in the application under test. We can review the values & properties of such new objects as & when desired.

3) It is of prime importance that all objects in the object repository have easily identifiable & unique names designated by following recognized object naming conventions. This will help the automation engineers to easily recognize these objects without any ambiguity.

4) If desired various objects can be moved or copied from one object repository to another.

5) Application test engineers can merge various objects added to the local repositories with the shared object repositories belonging to the automation infrastructure. If need be two or more already available repositories can also be merged together.

Process of Creating a Function Library:

Following steps are used to create function libraries for testing automation setup:

1) Identify the desired keywords.

2) Using the Function Library window of QTP, we need to create the function library files & edit them if need be.

3) Next step is to create the desired functions having full function definitions including their header information within the function libraries. This task can be done either manually, or with the help of Function Definition Generator.

4) Then we need to define the functions as either new ones or being replacement methods for our test objects.

5) Debugging our function libraries as & when need arises.

Many More articles on Test Automation Frameworks

Study Material - HP QTP & QC Certification Exams

Study Material - IBM RFT Certification Exam

Study Material - HP LoadRunner Certification Exams for All Modules

Study Material - ISTQB Certification Exam

What Successful Testers say about the Quality of this website

If you want to keep track of further articles on Software Testing,
I suggest you to subscribe my
RSS feed

You can also Subscribe by E-mail
and get All New articles delivered directly to your Inbox.

Quick Navigation of Software Testing Genius

Get your Absolutely Free Copy of Several MS PowerPoint Presentations & E-Books related to ISTQB, HP Load Runner, IBM RFT, HP QTP & QC Certification Exams, prepared by Popular Writers & Trainers, by writing to:

Full Study Material for ISTQB Certification Exams:

Largest Database of Sample Papers - 1000+ Unique Questions for ISTQB Foundation Exam

ISTQB Foundation Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Analysts Exam - Full Crash Course for Download

ISTQB Advanced CTAL Test Manager Exam - Full Crash Course for Download

Most Popular Topics in Demand:

Practical Roadmap to QTP Certification

Practical Roadmap to CSTE Certification

Consolidated Study Material - Testing & QA

Rehearsal of QTP in 1 Hr. -  Interview Questions


Comments :


Leave Your Comments: (*) Marked Fields are Mandatory

You can apply basic formatting to the text

Name *
Email Address *
Speak your mind
sex hikayeleri