Micro Focus QTP (UFT) Forums

Full Version: unable to navigate google site
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
hi,
i am using qtp 10,
when i am trying to open the site ,i am facing the problem with the object plz help me. below i mentioned error meesage

Code:
invokeapplication"c:\program files\internet explorer\iexplore"
browser("title:=about:blank").Navigate"http:\\www.google.com"
Error message
Cannot identify the object "[ Browser ]" (of class Browser). Verify that this object's properties match an object currently displayed in your application.

Line (2):
Code:
"browser("title:=about:blank").Navigate"http:\\www.google.com"".


Tip: If the objects in your application have changed, the Maintenance Run Mode can
help you identify and update your steps and/or the objects in your repository.
problem in DP:
Browser("title:=about:blank") insted of this use:
Browser("creationtime:=0")
hi,
still i am getting this error.
plz help out

Cannot identify the object "[ Browser ]" (of class Browser). Verify that this object's properties match an object currently displayed in your application.
Line (3): "browser("title:=about:blank").navigate"http;\\www.google.com"".
your line 3 is still showing title property..
even if i use browser("creationtime:=0")
i am unbale to navigate the google site
plz helo me

message in Result window

Navigate to http:\\www.google.com
Target Frame: _top
Post Data:
HTTP Headers:
Surprisingly its working here. can you please paste whole code and exact error message.
here code is:

Code:
invokeapplication"c:\program files\internet explorer\iexplore"
browser("creationtime:=0").Navigate"http:\\www.google.com"


Message:


Step Name: [ Browser ]


Step Done

Object Details Result Time

[ Browser ] Navigate to http:\\www.google.com
Target Frame: _top
Post Data:
HTTP Headers: Done 4/19/2009 - 18:00:18





Step Name: [ Browser ]


Step Done

code is
invokeapplication"c:\program files\internet explorer\iexplore"
browser("creationtime:=0").Navigate"http:\\www.google.com"


message:


Object Details Result Time

[ Browser ] Navigate to http:\\www.google.com
Target Frame: _top
Post Data:
HTTP Headers: Done 4/19/2009 - 18:00:18
Exclude http:\\ from the code any then try...
use "http://www.google.co.in/" to navigate Big Grin
Hi,

Here we go.

Way1:
Code:
InvokeApplication "c:\program files\internet explorer\iexplore.exe"
Browser("CreationTime:=0).Navigate "www.google.com"

Way2:
Code:
SystemUtil.Run "www.google.com"
Pages: 1 2