Tag Archive: Object

May 30 2008

Add New Methods to Objects

This short article complements a previous one I have published on how to Override the Object Exist Property. As previously indicated, one of the most powerful features QuickTest Professional (QTP) provides is the ability to override methods of object classes with custom functions tailored to serve specific purposes. In this brief article we will see …

Continue reading »

May 18 2008

Override the Object Exist Property

One of the most powerful features QuickTest Professional (QTP) provides is the ability to override methods of object classes with custom functions tailored to serve specific purposes. For example, the WebEdit.Set method might be expanded to first check if a popup message is open before or after (or both) the set operation took place. This …

Continue reading »

Mar 30 2008

VBScript Nitpicking (the good kind) – Part 1

A very refreshing debate at SQAForums has really opened my eyes on the small details involved with Objects, Scopes and Procedure calls. I thought it was a good idea to write a summary of what went on there, and I took the opportunity and added a very detailed background about many basic terms that may …

Continue reading »

Mar 30 2008

Exploring Custom Controls (cont.)

Reminder Last time we implemented a tab navigation function for our custom control. We saw how to use the object-spy to locate “interesting” RO properties and methods, and how to switch to debug view to drill even deeper into the inner control structure. Today we’ll master these techniques to implement our second goal – pressing …

Continue reading »

Mar 30 2008

Exploring Custom Controls

Hyderkhan asked me how to automate the Sandbar-Ribbon controls. While the old version of these controls is dealt with in the .Net add-in extensibility help files, I decided to address the subject for two reasons: A. This could be a good chance to explain how to explore and automate unknown custom .Net controls. B. I …

Continue reading »