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:

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
Tags used -
Debug, DescribeResult, Error, execute, General, General run error, Library, Unspecified error, wrong number of arguments or invalid property assignment

Loading ...
January 3rd, 2009 (3 days ago)
2:00 pm
Print
Email
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
Tags used -
Action, Descriptive Programming, execute, Framework, function, GetTOProperties, multiple, RegisterUserFunc, SI, Smart Identification

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
Tags used -
Action, Action parameters, AOM, global parameters, Input, output, output parameters, parameter, RunAction, Test, test parameters, TestArgs

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
Tags used -
Cache, Cookies, delete, FileSystemObject, Firefox, IE, Internet Explorer

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
Tags used -
currentStyle, display, hidden, hidden elements, style, visibility, visible

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
Tags used -
Add-ons, AgentPlugInFireFox, Browser, Firefox, identification, identify, Mozilla, Object identification, Window, WinObject

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
Tags used -
hidden, invisible, multiple monitors, not visible, Object Repository, OR

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
Tags used -
Class, Classes, Class_Initialize, Class_Terminate, Collection, Dictionary, List, Maintain, Maintaining, Nothing, store, Storing

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
Tags used -
crash, DataTable, Export, Iterations, Results, test results
open all | close all
- 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.
- 07 visitor(s) online
- 01 logged-in user(s)
- powered by WassUp