Home

KnowledgeInbox (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!

Get your hands on the first ever book on QTP



QuickTest Professional Unplugged (Paperback)

By Tarun Lalwani (Author)

List Price: $49.99 + S/H

Current Price: $49.99 + S/H

Pages: 442, Size: 8.5″ X 11″

Pre-booking now open for Indian readers

Support independent publishing: buy this book on Lulu.



Get 10% extra discount by using JULYCONTEST10 during checkout on Lulu (Valid till 30th June)


Recent posts:

Add date and time using string addition - “2days 1hr 10 min”

1 Star2 Stars3 Stars4 Stars5 Stars (0)
Loading ... Loading ...

Recently while automating an application it was required for me to fill a relative date in one of the place. This meant capturing a reference date from the screen and adding a relative date to the same. The relativity of the date can be expressed in various forms as shown below
1 hr
2 days 3 hours
1 [...]

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 140 times

Accessing Window Environment Variable

1 Star2 Stars3 Stars4 Stars5 Stars (0)
Loading ... Loading ...

Window Environment variables can be used to store User specific or Machine specific information. This information is accessible to all windows program. Below is the list of some common windows environment variables

TEMP - Temporary directory path
TMP - Temporary directory path
PATH - Folder locations where a file is searched when the complete path is not provided
windir [...]

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 88 times

Capturing desktop Screenshot to QC if a Test or Component Fails

1 Star2 Stars3 Stars4 Stars5 Stars (0)
Loading ... Loading ...

Capturing screenshots to QC in test result can quickly eat up all the space on the QC Server. This makes it sensible to capture images only in case a Test has failed. This can allow easy debugging of Test Cases to see what error had occurred when the test failed. Adding this functionality to your [...]

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 111 times

Change title of Command Prompt for Automation

1 Star2 Stars3 Stars4 Stars5 Stars (0)
Loading ... Loading ...

Executing batch jobs or commands through window command prompt requires recognizing the MSDOS Window. The DOS window can be launched from a QTP script using the below command
SystemUtil.Run “cmd”
This launched a MS-DOS console as shown in the image below

The above window can be recognized using the title of the Window “C:\Windows\System32\cmd.exe”

Window("title:=C:\\Windows\\System32\\cmd\.exe").Activate

or

Set oDosW = Description.Create
oDosW("regexpwndtitle").Value = [...]

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 122 times

Converting HTML Text to Plain Text

1 Star2 Stars3 Stars4 Stars5 Stars (2)
Loading ... Loading ...

HTML and XML are very common entities in the testing/automation world. At time we are required to convert the HTML/XML to a Plain text version. Example of such a conversion can be seen below

<HTML><BODY><FONT color="red">Click on the Login link</FONT></BODY></HTML>

The converted text for about HTML would be “Click on the Login link”. One example of such [...]

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 79 times

Getting Current BPT Test or Component Iteration

1 Star2 Stars3 Stars4 Stars5 Stars (2)
Loading ... Loading ...

Working with BPT is not always same as working with normal QTP script. On my quest to find the current test and component iteration for a Business Process Test I found that below two Environment variables always return 1

Environment("TestIteration")
Environment("ActionIteration")

Inquiring with HP i found out that currently this is not possible with BPT. I was disappointed [...]

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 212 times

Overriding default functions using function pointers

1 Star2 Stars3 Stars4 Stars5 Stars (0)
Loading ... Loading ...

In this article we will see how to override function using function pointer. Let’s first understand what overriding means. Overriding a function means changing the behavior of an existing function and defines a new behavior. It is different from function overloading. Function overloading allows a method to exhibit different behavior based on method signature while [...]

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 298 times

QuickTest Professional Unplugged

1 Star2 Stars3 Stars4 Stars5 Stars (40)
Loading ... Loading ...

QuickTest Professional Unplugged (Paperback)
By Tarun Lalwani (Author)
List Price: $49.99 + S/H
Current Price: $49.99 + S/H
Pages: 442, Size: 8.5″ X 11″
Pre-booking now open for Indian readers

Get 10% extra discount by using JULYCONTEST10 during checkout on Lulu (Valid till 31st July)

HP QuickTest Professional is a functional test automation tool. It supports a Record and Playback framework [...]

Read the full article...

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


Viewed 5,278 times

Parameters evaluation in Business Components

1 Star2 Stars3 Stars4 Stars5 Stars (4)
Loading ... Loading ...

This is my first ever article on BPT and to be frank I am not a very great fan of BPT framework. But that is what i am currently working on. It actually feels like someone handing a 2mm pistol to a Elite force commando and asking them to fight with the same. But as [...]

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 356 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,910 hits)
      You need to be a registered user to download this file.
    • QTP Clean uninstaller (26.4 KiB, 5,246 hits)
      You need to be a registered user to download this file.
    • VB to QTP API Converter (37.2 KiB, 4,604 hits)
      You need to be a registered user to download this file.
    • IE Helper setup (3.5 MiB, 4,277 hits)
      You need to be a registered user to download this file.
    • Dynamic Action Call Demo - Part 1 (40 KiB, 3,833 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