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.
Tagged as:
Activate Browser,
Browser.Activate,
Browser.Maximize,
Browser.Minimize,
BrowserActivate,
Maximize Browser,
Minimize Browser,
QTP,
QTP RegisterUserFunc,
RegisterUserFunc
Web applications due to their dynamic nature, make script development quite challenging. I am writing this article in an attempt to simplify one of its aspects that automation developers face while working with Web applications. We will see how it can be made extremely easy to work with multiple browsers with the use of a Dictionary object, to which we can add Browsers, remove them, change the way we reference them and much more.
Tagged as:
Multiple Browsers,
QTP,
QTP Browsers,
QTP IE,
QTP Multiple Browsers,
QTP Multiple IE,
QTP Web