QTP: Parameterization with Excel

February 5, 2010 8 comments

In the previous article, we automated a parameterized test for a Login process with the help of QTP’s Local DataTable. This topic covers the same concept with the help of an (external) Excel file. The process will remain the same, but how we extract data differs.

RelevantCodes[1]One – QTP Automation Framework

January 4, 2010 150 comments
RelevantCodes[1]One Automation Framework

The first release of RelevantCodes[1]One Automation Framework is available and ready for download!

GetROProperties (Custom)

December 10, 2009 5 comments

There have been numerous threads/discussions about the lack of GetROProperties, which is not available with the QuickTest package. There is GetTOProperty, GetROProperty, GetTOProperties and until now, GetROProperties was the only method missing from the pack. Now, its available and it works just like GetTOProperties does. This article shows how the method is created, and there are 2 examples at the end of this article which demonstrate its usage.

RegisterUserFuncX: Register Methods To All QTP Objects Automatically

December 8, 2009 10 comments

This post demonstrates the custom method RegisterUserFuncX, which can be used to automatically register custom methods to all objects automatically. Enjoy.

RelevantCodes[1]One – Need Volunteers

December 5, 2009 8 comments

The generic framework for the community is nearly ready. I would really appreciate if I can have 5-10 volunteers to test it. It comes with 3 test cases which show its working on a single browser, on multiple browsers simultaneously and on a standard windows application [This topic has been locked. You will not be able to view it, or post comments].

QTP: Working With Multiple Windows Applications

November 26, 2009 6 comments

There are several instances where automation developers have to work with applications containing multiple windows, in a Standard Windows Environment. This technique uses a similar methodology as demonstrated in the article for Web-based apps, but the crux of this technique differs. It can be used by automation developers testing most types of windows applications.

Introduction to Parameterization with QTP’s Local DataTable

November 23, 2009 24 comments

Parameterization is a process in which parameters, or variables are substituted for hard-coded values which help perform the same operations on the AUT with multiple sets of data. In other words, in QTP, parameterization helps automation developers test an application with different data from a single action (or multiple actions) through multiple iterations.

Updates: Upcoming Automation Framework

November 12, 2009 11 comments

This post contains the updates regarding the upcoming automation framework as well as some ideas that might be included in its first release. Enjoy!

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

November 5, 2009 6 comments

This post describes a simple technique that can enable retrieval of a Link’s onMouseOver color.

Automating Windows Calculator Part 1

October 28, 2009 6 comments

In this article, we will see a few interesting ways to automate the Windows Calculator. The concepts in this article should serve as an excellent way of understanding the automation process with QTP, how functions can help increase code reuse, and why at times its extremely important to validate user-input. A must read!