Thank you Ankit.

Can you also send Test Settings screen after you got "False" msgbox. (File
--> Settings) ?

Regards

On Mon, Jul 23, 2012 at 3:54 PM, Ankit Gupta <[email protected]> wrote:

> Hi Okan,
>
>
> I execute both the scripts and it returned false for both the cases
> .Please find the screenshot attached for your reference.
>
>
> Regards,
>
> Ankit
>
>
>
>
> On Sun, Jul 22, 2012 at 7:59 PM, Okan Cakmak <[email protected]> wrote:
>
>> Hi Ankit,
>>
>>
>> Btw, *did u enabled WebAdd-in before you start qtp?.* Most of the time
>> this is solution. If it's already selected, please try follow.
>>
>>
>> Please try following steps and tell us what is result for each step.
>>
>> 1 ) Execute following script, what does msgbox say?
>>
>> systemutil.Run "d:\Program Files\Internet Explorer\iexplore.exe","
>> www.google.com"
>> wait 5
>> msgbox Browser("name:=Google").Page("title:=Google").Exist
>>
>> 2) Execute following script, what does msgbox say?
>>
>> systemutil.Run "d:\Program Files\Internet Explorer\iexplore.exe","
>> www.google.com"
>> wait 5
>> msgbox Browser("name:=Google").Exist
>>
>> 3) Please send us screenshot of your www.google.com
>>
>>
>> On Sun, Jul 22, 2012 at 9:28 AM, Ankit Gupta <[email protected]>wrote:
>>
>>> Hi Okan,
>>>
>>> Following code returns false every time it is executed.
>>>
>>> Regards,
>>> Ankit
>>>
>>>
>>> On Sat, Jul 21, 2012 at 1:55 PM, Okan Cakmak <[email protected]>wrote:
>>>
>>>> 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/<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("**nam**e:=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
>>>>>>>>>>>>>>> MercuryQTP+unsubscribe@**googlegroups.com<mercuryqtp%[email protected]>
>>>>>>>>>>>>>>> For more options, visit this group at
>>>>>>>>>>>>>>> http://groups.google.com/**group/MercuryQTP?hl=en<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
>>>>>>>>>>>>>> MercuryQTP+unsubscribe@**googlegroups.com<mercuryqtp%[email protected]>
>>>>>>>>>>>>>> For more options, visit this group at
>>>>>>>>>>>>>> http://groups.google.com/**group/MercuryQTP?hl=en<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
>>>>>>>>>>>>>> MercuryQTP+unsubscribe@**googlegroups.com<mercuryqtp%[email protected]>
>>>>>>>>>>>>>> For more options, visit this group at
>>>>>>>>>>>>>> http://groups.google.com/**group/MercuryQTP?hl=en<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
>>>>>>>>>>>>> MercuryQTP+unsubscribe@**googlegroups.com<mercuryqtp%[email protected]>
>>>>>>>>>>>>> For more options, visit this group at
>>>>>>>>>>>>> http://groups.google.com/**group/MercuryQTP?hl=en<http://groups.google.com/group/MercuryQTP?hl=en>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>> Thanks & Regards
>>>>>>>>>>>> Lokesh K
>>>>>>>>>>>> www.testautomateandenjoy.**blogspot.com<http://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
>>>>>>>>>>>> MercuryQTP+unsubscribe@**googlegroups.com<mercuryqtp%[email protected]>
>>>>>>>>>>>> For more options, visit this group at
>>>>>>>>>>>> http://groups.google.com/**group/MercuryQTP?hl=en<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
>>>>>>>>>>> MercuryQTP+unsubscribe@**googlegroups.com<mercuryqtp%[email protected]>
>>>>>>>>>>> For more options, visit this group at
>>>>>>>>>>> http://groups.google.com/**group/MercuryQTP?hl=en<http://groups.google.com/group/MercuryQTP?hl=en>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> --
>>>>>>>>>> Thanks & Regards
>>>>>>>>>> Lokesh K
>>>>>>>>>> www.testautomateandenjoy.**blogspot.com<http://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
>>>>>>>>>> MercuryQTP+unsubscribe@**googlegroups.com<mercuryqtp%[email protected]>
>>>>>>>>>> For more options, visit this group at
>>>>>>>>>> http://groups.google.com/**group/MercuryQTP?hl=en<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
>>>>>>>>> MercuryQTP+unsubscribe@**googlegroups.com<mercuryqtp%[email protected]>
>>>>>>>>> For more options, visit this group at
>>>>>>>>> http://groups.google.com/**group/MercuryQTP?hl=en<http://groups.google.com/group/MercuryQTP?hl=en>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Thanks & Regards
>>>>>>>> Lokesh K
>>>>>>>> www.testautomateandenjoy.**blogspot.com<http://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
>>>>>>>> MercuryQTP+unsubscribe@**googlegroups.com<mercuryqtp%[email protected]>
>>>>>>>> For more options, visit this group at
>>>>>>>> http://groups.google.com/**group/MercuryQTP?hl=en<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
>>>>>>> MercuryQTP+unsubscribe@**googlegroups.com<mercuryqtp%[email protected]>
>>>>>>> For more options, visit this group at
>>>>>>> http://groups.google.com/**group/MercuryQTP?hl=en<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
>>>>
>>>
>>>  --
>>> 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

Reply via email to