Hi ,
I tried the below code,but getting following error message:
The "title: =Yahoo! UK & Ireland.*" Browser object was not found in the
Object Repository.
Check the Object Repository to confirm that the object exists or to find the
correct name for the object.
Line (4): "Browser("title: =" & val &".*").Maximize".
Can you please guide me?
Cheers,
Pinaki
On Sun, Aug 16, 2009 at 4:03 AM, Roman Zilber <[email protected]> wrote:
> Window("title: =" & val &".*").Maximize
>
>
> On Sat, Aug 15, 2009 at 5:49 PM, 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
-~----------~----~----~----~------~----~------~--~---