Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not able to do 'Navigate' and 'Refresh'
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi Friends,
My client is using Windows7, IE8 and QTP10.0. Upto yesterday 'Navigate' function was working perfectly, but today when i run the scripts its not considering the Navigate function(its not showing any error message also). If I use 'Refresh' function its showing error message like "General run error line no:3 Browser("Browser name").Refresh". But 'Close' and 'Invoke' functions are working fine.
Could you please tell me the solution for Navigate issue if any one know the solution.
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi
Can you please paste the part of code here?
Reply
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
Here is the code
Code:
Browser("An inspiring place to").Navigate "www-qa.razoo.com/admin"

Browser("An inspiring place to").Refresh
Reply
#4
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi
Seems like the property value of the Browser object is changed, Please check the Browser property in Object Repository.
Reply
#5
Solved: 10 Years, 8 Months, 3 Weeks ago
Below mentioned Browser properties are stored in my object repository:
Ordinal identifier:
type, value: Creation time,0
Enable smart identification: true
Reply
#6
Solved: 10 Years, 8 Months, 3 Weeks ago Wink 
Hi kotaramamohana,

Check whether QTP is recognizing the browser correctly or not before using the navigation method.

If not, you should go for descriptive programming to identify the browser. Once Browser is identified you may use navigate method.

Smile
Reply
#7
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi Saini,
According to your suggestion I implemented below method, but still its not going to destination page. Its showing all values also and Pass messages also. upto two days back its was working fine but after that its not considering the function.

In Local machine we are using WindowsXP, IE8, QTP10.0 , All methods are wroking fine in local machine, we are not getting any error in local machine and its Navigating to destination page.

Code:
Set WebBrowserDesc=Description.create
WebBrowserDesc("name").value="An inspiring place to donate and raise money"
Msgbox Browser(WebBrowserDesc).GetROProperty("name")
msgbox strParam
If Browser(WebBrowserDesc).Exist Then
        msgbox "Pass"
Else
        Msgbox "Fail"
End If
Browser(WebBrowserDesc).Navigate strParam
Reply
#8
Solved: 10 Years, 8 Months, 3 Weeks ago
Can you check if BHOManager add-on is enabled in the manage add-on in IE?

Reply
#9
Solved: 10 Years, 8 Months, 3 Weeks ago
Thanks Saket and Saina, Now its working perfectly.
Reply
#10
Solved: 10 Years, 8 Months, 3 Weeks ago Wink 
Hi Rao,

Congratulation.
What was the real issue in it?
It will be really helpful for other members also, if we summarize the main issue & it's best solution in the last post if the problem is resolved.

Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Sad Browser(...).Navigate(<url>) stopped working in 9.5 (please help me!) ConstantChange 6 7,530 08-20-2008, 07:11 PM
Last Post: kishoreinchennai

Forum Jump:


Users browsing this thread: 1 Guest(s)