Page 1 of 1

Getting plugin error message after closing the browser

Posted: Sat Jan 03, 2015 10:44 pm
by NishantSingh
Hi,

I am using Ranorex 5.2 and windows 7 OS and Mozilla firefox 33.0.2

I am facing problem in closing the browser I have used the following methods to close the browser
1. RepObj.AmazonSite.Self.Close();
2.Host.Local.KillApplication(RepObj.AmazonSite.Self);
3.IList<Ranorex.WebDocument> AllDoms = Host.Local.Find<Ranorex.WebDocument>("/dom[@domain='www.amazon.in']");
foreach (Ranorex.WebDocument myDom in AllDoms)
{
myDom.Close();
}
but for each of these method I am getting same issues.

In each test case I am closing browser at the end of the TC and Opening the browser at the start of TC.

So every time it closes the browser it shows the plugin error message in a pop up window and when the browser start every time after the first TC two tabs get opened one for the session restore and other for the current TC.

Please help me with these issues. and give a perfect solution to close the browser.

PFA the screenshot

Regards,
Nishant Singh

Re: Getting plugin error message after closing the browser

Posted: Mon Jan 05, 2015 3:53 pm
by Support Team
Hi Nishant,

Unfortunately we are not aware of such an issue.
Is it possible for you to update Firefox to the latest version and try to reproduce this problem?

May I also ask you to send us the detailed error message and the Firefox crash report?

The Firefox crash report can be found by entering about:crashes into the addressbar and by opening the latest report.

Thank you in advance.

Regards,
Markus (S)

Re: Getting plugin error message after closing the browser

Posted: Mon Jan 05, 2015 8:33 pm
by NishantSingh
Hi markus,

I am sending you all the screenshot. Ranorex addon is not supported in Mozilla latest stable version 34.0.5

and crashes result is empty not able to send you whole report so sending you the crash ID so that you could me able to see the details. and sending the details of the crash pop window in a notepad.


PFA the attachment for all details and screenshot.


but what about the solution for closing the browser correctly so that when next test case run session restore window should not open.. I have tried all the method mentioned in above post.

Regards,
Nishant Singh

Re: Getting plugin error message after closing the browser

Posted: Wed Jan 07, 2015 4:41 pm
by Support Team
Hi Nishant,

Thank you for providing the error details.

Regarding the close issue
In general the following method works as expected when closing a dom-object
Host.Local.CloseApplication(repo.Ranorex.Self, new Duration(0));
May I ask you to add a grace period as a parameter to your code?

Regarding Firefox 34
Support for this version of Firefox was added to Ranorex 5.2.1. Please find more information in our Release Notes.

Regards,
Markus (S)

Re: Getting plugin error message after closing the browser

Posted: Wed Jan 14, 2015 7:19 pm
by NishantSingh
Hi Markus,

I was using trial version of the Ranorex studio 5.2 which now has expired at my personal desktop which has firefox v33 and not able to test your code piece but thanks for the rply.. may be it will be helpful.


regards,
Nishant Singh