Blog Archives

Code for Maximizing/Minimizing Browsers

There is no Browser.Maximize method in QTP. However, we can use the following workaraound to maximize a browser :- hwnd = Browser(“CreationTime:=0”).Object.HWND    ‘getting the Handle  Window(“hwnd:=” & hwnd).Maximize     ‘Using the maximize method of Window object to maximize

Tagged with: , , , , , , , ,
Posted in Code Vault

How to read and modify Registry Settings from QTP?

Hi, I am back with an Exciting feature of QTP. Sometimes, there are certain settings that you wish that can be configured automatically before running a Test. It also doesn’t make sense to record “activities configuring those settings”. Moreover, if

Tagged with: , , , , , , , , , , , , , ,
Posted in Awesum Stuff
Blog Stats
  • 168,152 hits

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 796 other followers