Hi,

when you try to open a browser by using SystemUtil there is a property
whether the browser needs to be maximized or not.

*SystemUtil.Run "IExplore.exe"*, [*params*], [*dir*], [*op*], [*mode*]

Set the mode to 3 for maximized
Thanks,
Revanth

On 16 March 2011 16:42, Roman Zilber <[email protected]> wrote:

> Sorry, I don't have an access to QTP now, when you record maximizing a
> browser, which code  QTP generates?
>  Browser() object is not a necessarily represents a top window.
>
> On Wed, Mar 16, 2011 at 1:30 AM, Alter Fernandes 
> <[email protected]>wrote:
>
>> Hi All,
>> please any body tell me that under mention  Window Maximize script is
>> not running on QTP 11 version on client side and some time work on my
>> side & some times not  on QTP 9.0 Ver on  :
>>
>> hWnd = Browser("AT&T Developer Program").GetROProperty("hwnd")
>> Window("hwnd:=" & hWnd).Maximize
>>
>>
>> Also another thing is there any common script which can maximize any
>> window irrespective of its PAGE TITLE
>>
>>
>>
>>
>>
>>
>> --
>> 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
>
>
>  --
> 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

-- 
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

Reply via email to