Hi Ankit, 

Could you send screenshot of your google?

And what does following code return at your environment?

systemutil.Run "c:\Program Files\Internet Explorer\iexplore.exe"," 
www.google.com"

wait 5
msgbox Browser("name:=Google").Page("title:=Google").Exist

Regards

On Saturday, July 21, 2012 4:57:58 AM UTC+3, lucky wrote:
>
> Hi Ankit ,
>
> I have checked your code it returns true
>
> systemutil.Run "D:\Program Files\Internet Explorer\iexplore.exe"," 
> www.google.com"
> wait 5
> msgbox 
> Browser("name:=Google").Page("title:=Google").WebButton("name:=Google 
> Search").Exist
>
>
>
> On Tue, Jul 17, 2012 at 10:33 AM, chaman kalra <[email protected]>wrote:
>
>> Hi Ankit,
>>
>> Please describe your expectations
>>
>>
>>
>>
>> On Mon, Jul 16, 2012 at 11:09 PM, Ankit Gupta <[email protected]>wrote:
>>
>>> Hi Lokesh,
>>>  
>>> I tried the code and it returns false everytime.
>>>  
>>> Regards
>>>  
>>> Ankit
>>>
>>> On Mon, Jul 16, 2012 at 6:16 PM, lokesh vinu <[email protected]>wrote:
>>>
>>>> What is your expectation ?? your code will return True in the message 
>>>> Box. And Yes your code is working, the only thing is use Systemutil.Run 
>>>> Instead of InvokeApplication 
>>>>
>>>> On Mon, Jul 16, 2012 at 5:19 PM, Ankit Gupta <[email protected]>wrote:
>>>>
>>>>> InvokeApplication "C:\Program Files \Internet Explorer\iexplore.exe 
>>>>> http://google.co.in"; 
>>>>> wait 5
>>>>> msgbox 
>>>>> Browser("name:=Google").Page("title:=Google").WebButton("name:=Google 
>>>>> Search").Exist
>>>>>
>>>>> Regards ,
>>>>>  
>>>>> Ankit
>>>>>  
>>>>> On Mon, Jul 16, 2012 at 4:57 PM, lokesh vinu <[email protected]>wrote:
>>>>>
>>>>>> can you post the code which you tried..?? 
>>>>>>
>>>>>>
>>>>>> On Mon, Jul 16, 2012 at 12:58 PM, Ankit Gupta 
>>>>>> <[email protected]>wrote:
>>>>>>
>>>>>>> Hi Lokesh,
>>>>>>>  
>>>>>>> thanks for your response ,  I have tried just checking the existence 
>>>>>>> of the button without entering any search value but still the same 
>>>>>>> error 
>>>>>>> persist.
>>>>>>>  
>>>>>>> Regards,
>>>>>>> Ankit
>>>>>>>
>>>>>>>  On Mon, Jul 16, 2012 at 11:09 AM, lokesh vinu <
>>>>>>> [email protected]> wrote:
>>>>>>>
>>>>>>>> Hi Ankit,
>>>>>>>>  The reason for your error is the search button in Google changes 
>>>>>>>> once you enter any value for search. add the button once you typed the 
>>>>>>>> search criteria and then it should work. 
>>>>>>>>  
>>>>>>>>
>>>>>>>> On Sun, Jul 15, 2012 at 8:57 PM, Ankit Gupta <[email protected]
>>>>>>>> > wrote:
>>>>>>>>
>>>>>>>>> Hi Asif , 
>>>>>>>>>  
>>>>>>>>> I tried all the solutions but still no luck
>>>>>>>>>   
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  
>>>>>>>>> On Sun, Jul 15, 2012 at 4:52 PM, <[email protected]> wrote:
>>>>>>>>>
>>>>>>>>>> ** 
>>>>>>>>>> Ankit,
>>>>>>>>>>
>>>>>>>>>> Refer the below link and let us know, if it is resolved.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> http://knowledgeinbox.com/articles/qtp/issues/internet-explorer-replay-issue/
>>>>>>>>>>  
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Asiq Ahamed
>>>>>>>>>>
>>>>>>>>>> Sent on my BlackBerry® from Vodafone
>>>>>>>>>> ------------------------------
>>>>>>>>>>  *From: *Ankit Gupta <[email protected]> 
>>>>>>>>>> *Sender: *[email protected] 
>>>>>>>>>> *Date: *Sun, 15 Jul 2012 11:17:05 +0530
>>>>>>>>>> *To: *<[email protected]>
>>>>>>>>>> *ReplyTo: *[email protected] 
>>>>>>>>>> *Subject: *Re: QTP 11 not identifying web objects using string 
>>>>>>>>>> based DP
>>>>>>>>>>  
>>>>>>>>>> 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
>>>>>>>>>>   
>>>>>>>>>> -- 
>>>>>>>>>> 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
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Thanks & Regards  
>>>>>>>> Lokesh K
>>>>>>>> www.testautomateandenjoy.blogspot.com
>>>>>>>>  
>>>>>>>> -- 
>>>>>>>> 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
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> Thanks & Regards  
>>>>>> Lokesh K
>>>>>> www.testautomateandenjoy.blogspot.com
>>>>>>
>>>>>> -- 
>>>>>> 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
>>>>>
>>>>
>>>>
>>>>
>>>> -- 
>>>> Thanks & Regards 
>>>> Lokesh K
>>>> www.testautomateandenjoy.blogspot.com
>>>>
>>>>  -- 
>>>> 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
>>>
>>
>>
>>
>> -- 
>> Thanks & Regards
>> Chaman Kalra
>> Internet Email :[email protected]
>>
>>
>>
>>
>>
>> ==============
>> *Dhan Nirankar Ji*
>>
>>
>
>
> -- 
> Thanks & Regards
> Chaman Kalra
> Internet Email :[email protected]
>
>
>
>
>
> ==============
> *Dhan Nirankar Ji*
>
>

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