Assuming you are using IE for the automation.
For IE6 or lower versions :
intX = 0
intY = 25
intHWND = Browser("").GetRoProperty("hwnd")
Window("hwnd:=" & intHWND).Move intX, intY
Window("hwnd:=" & intHWND).Resize 500,600
For IE8 or higher versions :
intX = 0
intY = 25
intHWND = Browser("").Object.HWND
Window("hwnd:=" & intHWND).Move intX, intY
Window("hwnd:=" & intHWND).Resize 500,600
On Aug 25, 5:05 pm, Yaseen Basha <[email protected]> wrote:
> its a webbased application.
>
>
>
>
>
>
>
> On Thu, Aug 25, 2011 at 5:27 PM, John P. <[email protected]> wrote:
> > Is it .NET framework? I had this issue and was related to WEB CONFIG FILE
> > settings for conformance or compatibility mode being Transitional.
>
> > Yaseen Basha <[email protected]> wrote:
>
> > >Hi All,
>
> > >When we record the QTP script the browser size is working fine, however
> > >while executing the script the browser is going extreme left with that few
> > >objects are hidden,hence script is failing.
>
> > >Please give your inputs to resolve this issue.
>
> > >Thanks,
>
> > >--
> > >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