Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
583 views
by Contributing Tester (48 points)
edited by
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.
by Contributing Tester (48 points)
Anybody please help?

2 Answers

1 like 0 dislike
by
selected by
0 like 0 dislike
by
It looks like any plugin or antivirus may be causing the problem. Kindly disable antivirus and also see if you can remove unwated plugins.

If that does not help, you can go to %APPDATA% in your windows explorer, go to Mozilla folder > Firefox > Crash report and submitted crash report. Open recent 5 report file using notepad and paste each id with bp- in comment section.

This will help us investigate issue in details.
...