Thanks Anshoo, It's working now. Can we maximize window as per window title?
On Sun, Aug 16, 2009 at 4:16 PM, Anshoo Arora <[email protected]> wrote: > > See this thread: > http://www.advancedqtp.com/forums/index.php/topic,1655.msg6631.html#msg6631 > > > Also, if you want to maximize a browser opened through SystemUtil, > remember to put a constant 3 in the last parameter (can't remember its > details right now) - but doing so will open a window in its maximized > state. Example: > > [code] > SystemUtil.Run "iexplore.exe", "http://www.yahoo.com", "", "", 3 > [/code] > > On Aug 16, 2:49 am, Pinaki Mishra <[email protected]> wrote: > > Hi, > > > > Can any one suggest me how to maximize window? > > I have used the following code: > > > > systemUtil.Run "IExplore.exe","www.yahoo.com","","" > > val= Browser("Yahoo! UK & Ireland").Page("Yahoo! UK & > > Ireland").GetROProperty("title") > > msgbox val > > Window("title: =" &val).Maximize > > Which does not work. > > > > Cheer, > > Pinaki > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google "QTP - HP Quick Test Professional - Automated Software Testing" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/MercuryQTP?hl=en -~----------~----~----~----~------~----~------~--~---
