I am working a project using Visual Studio C# Selenium, When I execute script, Firefox is closed with AppCrash message, Actully I debug code and found that, After successful execution of every script, When code goes to test cleanup, I called below code in :
if(driver != null)
{
driver.Quit();
driver = null;
}
When Yellow highlighted code run, Firefox closed with below message:
Problem signature:
Problem Event Name: APPCRASH
Application Name: firefox.exe
Application Version: 51.0.1.6234
Application Timestamp: 5888f28c
Fault Module Name: mozglue.dll
Fault Module Version: 51.0.1.6234
Fault Module Timestamp: 5888f27e
Exception Code: 80000003
Exception Offset: 0000ec83
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 16393
Additional Information 1: 0a9e
Additional Information 2: 0a9e372d3b4ad19135b953a78882e789
Additional Information 3: 0a9e
Additional Information 4: 0a9e372d3b4ad19135b953a78882e789
and Below screenshot :
Environment:
Firefox updated verison 51.0.1
OS: WInodws 7
Automation Code : C#, Visual studio, MS Unit Test project
Please suggest, How can I execute test using firefox.
Note: Above code successfully run with Chrome and IE11 browser.