Relevant Codes

A Test Development Resource for HP QuickTest Professional.

From the category archives:

QTP/Web

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.

{ 2 comments }

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.

{ 10 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.

{ 7 comments }

This article describes how the management of test data can be greatly simplified with the help of ADO and the Dictionary Object. This concept shows how your data-pool needs to be accessed only once to create a highly efficient and fast-performing data-dictionary. Examples and Demos included.

{ 10 comments }

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

{ 0 comments }

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

{ 2 comments }

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

{ 5 comments }

This article outlines an easy way to retrieve object count when working with QTP. It can be used to include and exclude hidden objects in the page, to retrieve only the visible object count.

{ 10 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.

{ 3 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.

{ 4 comments }