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
Getting plugin error message after closing the browser
-
- Posts: 39
- Joined: Thu Oct 09, 2014 1:15 pm
- Location: Bangalore
Getting plugin error message after closing the browser
You do not have the required permissions to view the files attached to this post.
Regrads,
Nishant Singh
Nishant Singh
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Getting plugin error message after closing the browser
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)
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)
-
- Posts: 39
- Joined: Thu Oct 09, 2014 1:15 pm
- Location: Bangalore
Re: Getting plugin error message after closing the browser
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
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
You do not have the required permissions to view the files attached to this post.
Regrads,
Nishant Singh
Nishant Singh
- Support Team
- Site Admin
- Posts: 12145
- Joined: Fri Jul 07, 2006 4:30 pm
- Location: Houston, Texas, USA
- Contact:
Re: Getting plugin error message after closing the browser
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
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)
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)
-
- Posts: 39
- Joined: Thu Oct 09, 2014 1:15 pm
- Location: Bangalore
Re: Getting plugin error message after closing the browser
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
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
Regrads,
Nishant Singh
Nishant Singh