Update: A Pitfall for Beginners when Working with a Dictionary
Meir Bar-Tal Dear readers,
I wish to bring to your attention an updated version of a previous article on “A Tip for Beginners when Working with a Dictionary”.
Yours,
Meir
Meir Bar-Tal Dear readers,
I wish to bring to your attention an updated version of a previous article on “A Tip for Beginners when Working with a Dictionary”.
Yours,
Meir
Meir Bar-Tal Working with external function libraries (e.g., vbs files) is a common practice among advanced QTP practitioners. This feature of QTP enables developers to encapsulate functionality that needs to be reused in the form of functions, subroutines, and even classes. It is even possible to set the currently loaded function libraries as default, and hence every […]
Meir Bar-Tal 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 (Bar-Tal, 2008b). In this brief article we […]
Meir Bar-Tal 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 […]
Meir Bar-Tal Sometimes a numbered list is required, such as a list to populate a ListView, TreeView or one to create sequential files in a folder. One of the main problems is that such lists typically sort the items lexicographically, so that numbered items end-up in the wrong order, such as File_1, File_10, FIle_11, …, File_2, FIle_20, […]
Meir Bar-Tal When addressing a non-existing key in a Dictionary object, the add method is invoked by default. The problem is that the Windows Script Host does not inform during runtime that there is a missing key. Moreover, the automatically assigned Empty value may cause trouble to our subsequent code execution.
Meir Bar-Tal Dear AdvancedQTP Users,
I hereby begin with my own personal blog to be published exclusively at the AdvancedQTP site.
I hope to be able to bring out the best from my extensive experience in the world of software in general and automation especially for the benefit of our growing community.
Please stay tuned for future updates.
On this occasion […]
Meir Bar-Tal This 14-page article by Meir Bar-Tal explains in details the benefits and inherent possibilities in wrapping our functions with classes. It further explores the meaning and logical structure of classes, and shows how we can easily implement constructors, event handlers and callback by using class composition and function wrapping.
The different techniques are well illustrated […]
Recent Comments