This post demonstrates the custom method RegisterUserFuncX, which can be used to automatically register custom methods to all objects automatically. Be sure to read the comments by Tarun and Motti which cover one limitation with resolution of the other. Enjoy.
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 post 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.
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.