Thanks All for your response.  I tried all your suggestions but still the
issue is unresolved.

Just suspecting that it has something to do with the browser coz I am using
QTP 11 with IE8  on xp2.

I used QTP 10 earlier on the same configuration and it was working fine.


Please suggest


Regards,

Ankit

On Sun, Jul 15, 2012 at 8:20 AM, Ajay Singh <[email protected]>wrote:

> Hi Ankit
> Your first code is correct. it giving error because you are not initialize
> internate explore. put below code start of code it will work
> InvokeApplication "C:\Program Files (x86)\Internet Explorer\iexplore.exe
> http://google.co.in";
>
> you can do same using Record and Run setting by making "google.com" as
> start-up page.
>
> Thanks and Regards
> Ajay Singh
>
>
> On Sunday, July 15, 2012 12:11:50 AM UTC+5:30, Ankit Gupta wrote:
>>
>> Hi ,
>> I have installed QTP 11 on xp2 with IE8.
>>
>> While recording and playing the google search script it works fine.but
>> when I use the String based DP and use the first statement
>>
>> Browser("name:=Google").Page("**title:=Google").WebButton("**name:=Google
>> Search").Click
>>
>> it throws error "Cannot find web button object parent {browser}"
>>
>> I have tried with supplying different properties along with
>> creationtimeas ordinal identifier but it did'nt help
>>
>> Just to know ,should I need to install any patch for QTP 11 to fix this
>> issue or any configuration needs to be done
>>
>>
>> Your help is highly appreciated
>>
>>
>> Thanks,
>>
>> Ankit
>
>  --
> 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