FF Crash (ver. 3.0.19)

2 posts, 0 answers
  1. SD
    SD avatar
    62 posts
    Member since:
    Apr 2010

    Posted 29 Jun 2010 Link to this post

    Hi Guys,

    Usually I'm attempt to run hundreds of tests in one go using Nunit. 
    Recently I had FF crashing  (Refer to the attached screenshots).  Clicking 'restart browser' made all good and test run 
    continued without further interpretations though that's not exactly what one may call an unattended test run...
    I was wondering if any of you experienced the same...

    In addition, are there any news regarding the use of recycleBrowser while running Nunit tests?
    If  recycleBrowser="false" the browser opens and shuts FF hundreds of times which may have caused the above crash.... 

    ta, 
    SD.

  2. Missing user
    Missing user avatar

    Posted 01 Jul 2010 Link to this post

    Hi SD,

    It is possible that Firefox crashed if it was launched that many times. For that many tests, it's probably easiest to use a master tests that calls all the other tests. 

    The master test would just be another WebAii NUnit Test Template. Here is a sample of the master test's test method:

    [Test]
    public void SampleWebAiiTest()
    {
     // launch test browser
     Manager.LaunchNewBrowser();
      
     TestProject.WebAiiNUnitTest1 WebAiiNUnitTest1 = new WebAiiNUnitTest1();
     // pass in true so that test will recycle browser
     // and not close browser after test is done
     WebAiiNUnitTest1.Initialize(true);
     WebAiiNUnitTest1.SampleWebAiiTest();
      
     TestProject.WebAiiNUnitTest2 WebAiiNUnitTest2 = new WebAiiNUnitTest2();
     WebAiiNUnitTest2.Initialize(true);
     WebAiiNUnitTest2.SampleWebAiiTest();
    }

    Hope that helps.

    Regards,
    Nelson Sin
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top