Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
objbrowser.back throws general run error
#1
Solved: 11 Years, 4 Months, 3 Weeks ago
hi,

the below piece of code is throwing a General run error.

Code:
Set objbrowser = Browser("CreationTime:=0")
Set objpage = objbrowser.Page("title:=.*")
objbrowser.Back

When I try to find out what the error is it says Error #-2147467259, but the Err.Description was blank. Searching Google for -2147467259 didn't return anything.

I'm using IE 8 and QTP 11.

please help!
Reply
#2
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi,

Sometimes application is designed in a way that it dosen't support the back button operation, try to do this manually and check if application supports it or not.

Regards,
Sankalp
Reply
#3
Solved: 11 Years, 4 Months, 3 Weeks ago
hi sankalp,

I can hit the back button manually on the browser on the Website which I'm automating, any other ideas?

Reply
#4
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi,

Just make sure u have focus set on the page where u are using .back function.

Regards,
Sankalp

Hi,

IF above dosen't work please try this:
1. In IE settings, go to Tools -> Manage Add-ons
2. Select the BHOManager Class
3. Click the Enable button

Let me know if this works 4 u or not.

Regards,
Sankalp
Reply
#5
Solved: 11 Years, 4 Months, 3 Weeks ago
BHOManager Class was disabled, after I enabled it and restarted the browser it worked. thank you so much!
Reply
#6
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi,

Glad to hear it worked 4 u. Big Grin

Regards,
Sankalp
Reply
#7
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi Sankalp,
Could you provide more detail on BHOManager Class?
Thanks in advance.
Reply
#8
Solved: 11 Years, 4 Months, 3 Weeks ago
Hi Mrinal,

BHOmanager class is something that I think is beyond the scope of this forum. I mentioned it in the post to just make sure if problem is related to some configuration of IE to support QTP.
But if u really want to have feel of it u can google it, google can better help u, I have just basic knowledge of its integration with QTP.

Regards,
Sankalp
Reply
#9
Solved: 11 Years, 4 Months, 3 Weeks ago
Hello,
I am having the same exact problems with the same exact issues to the resolutions. However, my BHO manager is Enabled and the .Back function is Still NOT working. I tried using WSH to click the back button, but that only works when there is one browser open. I have to be able to do this while ALM and my application are both open. Any other solutions?
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  General run error when Exist fails msacks 1 1,899 02-08-2019, 02:12 AM
Last Post: Ankur
  General Object Error(Find Object Error) akhandesh 1 3,696 02-24-2016, 01:05 PM
Last Post: sindhus
Rolleyes The test run cannot continue due to an unrecoverable error neerndg123 3 8,723 09-17-2015, 08:27 PM
Last Post: ananthakumarbe
  HI, i'm having a run time error ,please help? Awzar 0 2,674 01-24-2015, 06:52 AM
Last Post: Awzar
  Browser("BrowserName").Back gives General Run Error... deminiek 13 18,898 12-10-2013, 12:53 AM
Last Post: rizvia

Forum Jump:


Users browsing this thread: 5 Guest(s)