why dont you use

SystemUtil.Run "iexplore", "site",,,3

IE will be opened with maximization mode.


On Tue, Apr 30, 2013 at 3:25 PM, <[email protected]> wrote:

> Hi all;
>
> I have used this script to restore and maximize IE 9 window size but it
> doesn't work !
> but it works fine with Firefox 18
>  here is my script code :
>
> hWnd = Browser("Browser").GetROProperty("hwnd")
> Window("hwnd:=" & hWnd).Restore
>
> hWnd = Browser("Browser").GetROProperty("hwnd")
> Window("hwnd:=" & hWnd).Maximize
>
> Any suggestions ?
>
> Regards,
>
> --
> --
> 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 Groups
> "QTP - HP Quick Test Professional - Automated Software Testing" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
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 Groups "QTP 
- HP Quick Test Professional - Automated Software Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to