Getting plugin error message after closing the browser
Posted: Sat Jan 03, 2015 10:44 pm
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
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