Home

Knowledge inbox (by Tarun Lalwani) website is an effort to share my work on Quick Test Pro (QTP). QTP is a testing tool used for regression and functional testing of an application. QTP provided by Mercury Interactive is a “Record & Playback” automation tool. So is it about explaining the features of QTP and one more case study on using QTP? No… the website will help in giving more insight into some of the QTP features making them easy to understand and use, it will explore things that can be done with QTP and some of which not documented anywhere. Apart from this I have developed some libraries which will definitely improve your experience with QTP. The website is going to be an on-going work. Many more things to be explored!


Recent posts:

General run error while calling a function

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

ecently while debugging a QTP Script i was getting a “General Run Error” while calling a function. After many runs of the test, i finally found the root cause for the issue. The issue can be reproduced in the way shown below
Create a library file with the code shown below and associate it with the [...]

Register or Login to read the full article...

Have questions related to this article? Want to request a new article? Use our forums to post your questions


Viewed 19 times

Performing action on multiple objects

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

At times, there are situations where we need to execute the same operation on multiple objects. Example of such situations is listed below

Checking/Unchecking all Check Boxes on a web page
Setting all the Text Boxes to blank value
Selecting the first possible value for every WebRadioGroup

The usual way to do it in Descriptive Programming (DP) is to [...]

Register or Login to read the full article...

Have questions related to this article? Want to request a new article? Use our forums to post your questions


Viewed 43 times

Difference between Test and Action Parameters

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Many QTP user confuse between Test and Action Parameters. This article will explains both the concepts in details and eliminate any confusion. QTP Help does not describe the method of using Test Parameters
Test Parameters
Test Parameters can be used to pass values to the test and retrieve values when the test completes. They are global parameters [...]

Register or Login to read the full article...

Have questions related to this article? Want to request a new article? Use our forums to post your questions


Viewed 55 times

How to delete browser cookies in QTP?

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Web applications uses cookies to store user related information. While testing these cookies might interfere with the results of test. It is recommended to delete cookies before starting new test.
In this article we will see how to delete cookies for a browser. Different browser stores cookies in different places and in different format.
Deleting IE Cookies
IE [...]

Register or Login to read the full article...

Have questions related to this article? Want to request a new article? Use our forums to post your questions


Viewed 38 times

How to make hidden elements on a web page visible

1 Star2 Stars3 Stars4 Stars5 Stars (1 votes
Loading ... Loading ...

In one of the recent articles ‘Exist returns True even when the object does not exists’ we saw how elements can be hidden on a web page using CSS. To analyze the complexity of a web page we should make sure it does not have many hidden elements, as they make automation difficult sometimes.
We [...]

Register or Login to read the full article...

Have questions related to this article? Want to request a new article? Use our forums to post your questions


Viewed 58 times

Firefox is not recognized as Browser after upgrade

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

I recently upgraded my QTP from version 9.2 to 9.5. The upgrade was does after doing a clean uninstall using my QTP Clean Uninstaller tool. Even after the clean uninstall, i found that QTP 9.5 was not recognizing Firefox a Browser but as a Window test object. The issue seemed to be with Firefox caching [...]

Register or Login to read the full article...

Have questions related to this article? Want to request a new article? Use our forums to post your questions


Viewed 29 times

Object repository window does not show up

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

Sometimes clicking on the Object Repository (OR) button on the toolbar does not bring up the Object Repository window. This issue mostly happens with people who use Multiple monitors with QTP and place the Object Repository window on the secondary monitor. When they relaunch QTP with only one monitor connected, QTP remembers the old co-ordinates [...]

Read the full article...

Have questions related to this article? Want to request a new article? Use our forums to post your questions


Viewed 20 times

Maintaining list of class objects created

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

At times, we might want to maintain a list of all objects which are created for an object. We will not discuss the situations where it would be required, but we will see how it’s done.
To store the list of object we can use the Dictionary objects. When we create classes object the first event [...]

Register or Login to read the full article...

Have questions related to this article? Want to request a new article? Use our forums to post your questions


Viewed 69 times

Exporting data table every N iterations

1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading ... Loading ...

It is recommended to export the results of a test with huge iterations periodically. This minimizes the loss of results in case QTP or the system crashes. In this article we will look at a method which will export the data table after specified no. of iterations.

 
‘Global counter for iterations
Dim iAfterIterations
iAfterIterations = 0
 
‘Author: Tarun Lalwani
‘Website: [...]

Register or Login to read the full article...

Have questions related to this article? Want to request a new article? Use our forums to post your questions


Viewed 56 times

    Support KnowledgeInbox (Why donate?)




    Your Email Address:



  1. Most Viewed


  2. Sitemap

    open all | close all
  3. Most Downloaded

    • Screen Capture and Comparion API - Version 1.1.1 (425.5 KiB, 5,581 hits)
      You need to be a registered user to download this file.
    • QTP Clean uninstaller (26.4 KiB, 5,003 hits)
      You need to be a registered user to download this file.
    • VB to QTP API Converter (37.2 KiB, 4,389 hits)
      You need to be a registered user to download this file.
    • IE Helper setup (3.5 MiB, 4,131 hits)
      You need to be a registered user to download this file.
    • Dynamic Action Call Demo - Part 1 (40 KiB, 3,639 hits)
      You need to be a registered user to download this file.
  4. Most Rated

  5. Translator

    English flagItalian flagKorean flagChinese (Simplified) flagPortuguese flagGerman flagFrench flagSpanish flagJapanese flagArabic flagRussian flagGreek flagDutch flagBulgarian flagCzech flag
    Croat flagDanish flagFinnish flagHindi flagPolish flagRumanian flagSwedish flagNorwegian flagCatalan flagFilipino flagHebrew flagIndonesian flagLatvian flagLithuanian flagSerbian flag
    Slovak flagSlovenian flagUkrainian flagVietnamese flag           
    By N2H
  6. Last searched terms

    Visitors Online



Your Ad Here