Tag Archive: Object Oriented

Dec 14 2013

Visual BOOST: True Object Oriented Programming for VBScript

After years of research, we are proud to announce a breakthrough that overcomes the limitations VBScript imposes on automation developers. Though the language supports the use of classes, it has always been in a very limited fashion. Now, with Visual BOOST by Meir Bar-Tal, the so essential inheritance and polymorphism features have been finally added to the …

Continue reading »

Mar 12 2010

Event Manager

In traditional test automation, if an unexpected message box came up, such as a printer error message, the script would either halt, or it would have to contain numerous checks at different places in case such a window came up. Some testing tools allow you to set “traps” that will respond to simple message boxes by specifying the message box and the button to click, but if your tool lacks that, or if it’s more complex to deal with the dialog than simply pressing a dismiss button, then the script will be unable to respond to it, and the test will fail for reasons completely unrelated to the test.

Jan 19 2009

Implementing a Generic Iterator with Function Pointers

  Abstract This article describes a powerful technique that exploits my previously outlined innovation – Function Pointers in VB Script – to build a generic mechanism having the capacity of executing components repeatedly: the generic iterator.   Introduction Executing processes repeatedly is a common theme in software development, one that is at the core of …

Continue reading »

Dec 20 2008

Implementing a GUI Layer with Classes

This article describes a powerful technique that exploits Object Oriented Design Patterns, QTP descriptive programming (DP) and the Dictionary object to pack together GUI objects with their corresponding business oriented functions. The article includes a valuable bonus: a highly effective tip that enables to exit a test smoothly, preventing QTP from getting stuck when it fails to identify GUI objects during runtime.