Remember Me
forgot your password?

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.

yogindernath

http://www.softwaretestinggenius.com A Storehouse of Complete Knowledge on Software Testing & QA under one Roof

Rate this Article: 0 / 5 stars - 0 vote(s)
Print Email Re-Publish

Add new Comment



Captcha
0
1. kishore (04:19, 31.08.2009)
Hi,
Please tell me how to draw keyword driven architecture in our project.

  • Latest Information Technology Articles
  • More from yogindernath

How to Find over 250, 000 Dsi Downloads From Software to Dsi Games!

By: Peter Jackson | 03/01/2010
The new Dsi is one of the most popular handheld gaming devices on the market. So many people are looking into ways to start downloading their own Dsi games at home. So there are many ways to download A Nintendo Dsi Game But you going to all have to choose a way that Suits you and your Dsi. The main place people go when looking for Dsi downloads is the Dsi download Shop. To download a Dsi game you will need to pull out cash or use points to download games. You can spend your life building up poi

Download DSI Apps fast and Free - How to Download DSI Apps Now!

By: Colby Marks | 02/01/2010
Are you attempting to find out how to download DSI Apps - how it is possible to get them for free? Thousands of DSI owners are not aware that you can download thousands of dsi apps without having to go to the dsi app store to get downloads, there are free ways of doing this. Usually over a period of time you would collect points towards obtain dsi app downloads and games that you need but this is a pain and often you don't have enough to get the app you actually need and ...

Should You Update to Windows 7

By: Jeff Brodie | 02/01/2010
Here are some questions you can look at when deciding if you are going to upgrade to Windows 7.

Why are Government Agencies Turning to Document Management in the Cloud?

By: Martin Greif | 02/01/2010
So what is cloud computer? How is that different from SaaS? Where does document management fit in to all? Let's explore the differences and the benefits of each.

RFID Tagging Is the Latest in Supply Chain Management

By: Tom Gruich | 01/01/2010
RFID tagging and compatible supply chain software is improving the efficiency of inventory tracking and management. Costs are being reduced. Loss and theft are down. As time goes by and more companies use the tags, breakage may become the only thing that companies need to worry about when they ship items.

Play Guitar with Online Guitar Lessons

By: Ernest Hughes | 01/01/2010
What is the best way to learn to play guitar? That is the question if you will excuse the pun. Is it better to find a local guitar teacher or is it more advantageous to learn to play using online guitar lessons?

ATI Radeon Display Drivers – Tips To Convert Your PC Into A Complete Entertainment Center

By: Victoria | 01/01/2010
ATI Radeon display drivers are the right option for you if you want to enjoy superior gaming and entertainment experience.

Information Tactics For Managing Risk; Building An Internet Centric Intelligence System

By: David Vine | 31/12/2009
Tactical Intelligence can be used to detect or monitor new types of security threats, scams and other developments of concern to merchants, banks and card issuers as well as related organizations. Using free Internet resources a system can easily be created that will alert key individuals to events and trends that may threaten their interests.

What is Software Testing - An Introduction

By: yogindernath | 25/11/2009 | E-Learning
What is Software Testing - An Introduction

How to Manage Software Testing Effectively By Business management Approach

By: yogindernath | 25/11/2009 | Software
How to Manage Software Testing Effectively By Business management Approach

Understanding the Typical Structure of Software Testing Process

By: yogindernath | 25/11/2009 | Programming
Understanding the Typical Structure of Software Testing Process

What is the Motive Behind Software Testing - An Overview

By: yogindernath | 25/11/2009 | Information Technology
What is the Motive Behind Software Testing - An Overview

Who should test? and what? – An Overview

By: yogindernath | 17/09/2009 | Information Technology
Who should test? and what? – An Overview

Tips for Creating Good Test Automation Approach

By: yogindernath | 06/08/2009 | Databases
Tips for Creating Good Test Automation Approach

Typical Architecture of Automation Frameworks

By: yogindernath | 06/08/2009 | Information Technology
Typical Architecture of Automation Frameworks

Guidelines to create Best Test Automation Frameworks?

By: yogindernath | 06/08/2009 | Computer Forensics
Guidelines to create Best Test Automation Frameworks?

Submit Your Articles Free: Signup
Article Categories




Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.26, 6, w3)