Relevant Codes (by Anshoo Arora)

A Test Development Resource for HP QuickTest Professional.

RegisterUserFunc

This article demonstrates a quick tip to activate, minimize or maximize browsers. Unlike a Standard Windows Window object, Browser does not support the Activate, Minimize, Maximize methods. Therefore, we can create our custom function and tie it with the Browser object using RegisterUserFunc.

{ 56 comments }

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.

{ 33 comments }