Hi,
While running a batch of tests, sometimes we get the "last browsing session closed unexpectedly" error dialog which prevents the browser to open up for the next test script and the next script fails at this point. We have to manually click on the go to "Go to your home page" option (please see the image attached) bring up and close the browser and restart the test. Any idea on handling this error message? Clearing cookies, may be?
Last browsing session closed unexpectedly error handling
-
- Posts: 3
- Joined: Fri Jul 13, 2012 10:16 pm
Last browsing session closed unexpectedly error handling
You do not have the required permissions to view the files attached to this post.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Last browsing session closed unexpectedly error handling
Hello,
Which version of Ranorex and Internet Explorer do you use?
How do you close your browser's window?
Could you please verify what happened in your test before this dialog appears?
Regards,
Markus (T)
Which version of Ranorex and Internet Explorer do you use?
How do you close your browser's window?
Could you please verify what happened in your test before this dialog appears?
Regards,
Markus (T)
-
- Posts: 3
- Joined: Fri Jul 13, 2012 10:16 pm
Re: Last browsing session closed unexpectedly error handling
IE 8
Ranorex ver 4.0.3.22982
.Net Runtime ver 2.0.50727.4984
The test failed to identify an object due to a coding error before it failed.
Ranorex ver 4.0.3.22982
.Net Runtime ver 2.0.50727.4984
The test failed to identify an object due to a coding error before it failed.
Re: Last browsing session closed unexpectedly error handling
As a workaround until you find a good solution:
source: http://social.technet.microsoft.com/For ... 426a5362a/
regards,
Mateo.
To turn off the warnings.
GPEdit.msc
Administrative Templates - > Windows Components -> Internet Explorer
Enable - Turn off Automatic Crash Recovery Prompt
This also might be useful:
Enable - Turn off Crash Detection
source: http://social.technet.microsoft.com/For ... 426a5362a/
regards,
Mateo.
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Last browsing session closed unexpectedly error handling
Hello,
Do you start your browser right before you close it?
It could be that the browser process is not closed at the time it is restarted.
If yes, could you please add a short delay (e.g. 500 ms) before you restart your browser?
Thank you in advance.
Regards,
Markus (T)
Do you start your browser right before you close it?
It could be that the browser process is not closed at the time it is restarted.
If yes, could you please add a short delay (e.g. 500 ms) before you restart your browser?
Thank you in advance.
Regards,
Markus (T)