QTP/Web

Get Row/Column Of An Object in a WebTable

by Anshoo Arora ON June 27, 2011 · Posted In All, QTP, QTP/Web · 68 comments

This article shows a simple way of finding out in which cell a QTP’s Test Object resides.

IE Error: A script is causing IE to run slowly

by Anshoo Arora ON December 5, 2010 · Posted In All, QTP, QTP/Web, VBScript · 11 comments

This tip shows how to disable the Error message: “A script on this page is causing Internet Explorer to run slowly” with using VBScript.

QTP CreationTime

by Anshoo Arora ON September 3, 2010 · Posted In All, QTP, QTP/Web · 20 comments

This article explains how the Browser’s CreationTime ordinal identifier works in QTP with examples.

Browser: Not Required!

by Anshoo Arora ON May 2, 2010 · Posted In All, QTP, QTP/Web · 32 comments

There is a common perception that we must include the Browser object in hierarchies when working in the Web environment. The truth is that, we really don’t need to include the Browser object if the Page object has been included in the hierarchy.

Regular Expressions and Select Method (ListBox)

by Anshoo Arora April 19, 2010 31 comments

This post describes a few ways to use Regular Expressions to select the target item from List objects. All examples of this post demonstrate techniques to be used in Web Applications, but they can be easily extended to technologies that store all list items with delimiters.

Automating GMail with QTP

by Anshoo Arora March 18, 2010 132 comments

This article is a tutorial which shows how parts of GMail can be automated through QuickTest Professional. GMail is an extremely dynamic UI and always quite challenging to automate successfully. Its dynamic behavior also makes it an excellent candidate to practice QTP with and sharpen your skills. I will try to show a few techniques that can be helpful in automating GMail, and through it, automating any dynamic application that you encounter.

QTP Browser Methods: .Activate .Maximize .Minimize

by Anshoo Arora March 8, 2010 58 comments

This article demonstrates a quick tip to activate, minimize or maximize browsers. Unlike a Standard Windows Window object, Browser does not support the Activate, Minimize, Maximize methods. Therefore, we can create our custom function and tie it with the Browser object using RegisterUserFunc.

QTP: Get Link’s Mouse Over (Hover) Color

by Anshoo Arora November 5, 2009 39 comments
Get Link's onMouseOver Color with QTP

This post describes a simple technique that can enable retrieval of a Link’s onMouseOver color by simply changing the ReplayType setting before the onMouseOver FireEvent Event.

QTP: Working with Multiple Browser Applications (Revised)

by Anshoo Arora October 19, 2009 32 comments

Web applications due to their dynamic nature, make script development quite challenging. I am writing this article in an attempt to simplify one of its aspects that automation developers face while working with Web applications. We will see how it can be made extremely easy to work with multiple browsers with the use of a Dictionary object, to which we can add Browsers, remove them, change the way we reference them and much more.

QTP: Working with Multiple Browser Applications – A Concept

by Anshoo Arora August 24, 2009 0 comments

This article demonstrates an elegant approach to working with multiple Browsers through the use of Classes and Dictionary Object. Examples included.

QTP: Synchronization for AJAX Applications

by Anshoo Arora August 10, 2009 27 comments

This article shows a technique that can be used to synchronize QTP with AJAX applications.

QTP: Closing Multiple Browser Windows

by Anshoo Arora August 10, 2009 48 comments

This article outlines a few techniques to close Internet Explorer (IE) browsers in QTP (Closing browser techniques).

Retrieve Server Response using XMLHTTP

by Anshoo Arora August 10, 2009 3 comments

This topic outlines the use of XMLHTTP object in VBSCript. It will show how to retrieve Server-side response without physically opening the page.

Search Web Object – Simplified

by Anshoo Arora August 8, 2009 8 comments

The IsObjectFound class implements the search function for the specified web object and returns true if a visible instance is found. Considers Visible and Hidden Objects.