Unable launch tests under Firefox 10.0.2

16 posts, 0 answers
  1. Mykola
    Mykola avatar
    16 posts
    Member since:
    Aug 2011

    Posted 24 Feb 2012 Link to this post

    Hello everybody,

    We are using the latest version of testing framework (1413) after upgrade of previous one and faced out that our already written test stop working under latest version of Firefox (10.0.2).
    First of all we check any possible upgrade issues which can come with TTF and Firefox.
    So TTF was reinstalled and the same with Firefox with rebooting test box of course. But it's does not help...

    The Issue happen when try to launch new instance of FF by next code line:

    Manager.LaunchNewBrowser(BrowserType.FireFox);

    Note1:
    There are no other instances of FF running at this moment.
    After that FF start and hang with message:
    "Preparing browser for automation... "
    FF url contain the next - "http://localhost:56937/WebUI?420124481"
    And this code step fails by timeout exception.

    Note2:
    In debug session (usually we run our tests from VS by ReSharper NUnit plugin) after timeout exception raised, close Firefox manually and try execute this step again. In such case FF start and test being executing normally. But this flow is not acceptable for as at all.
    Moreover the same situation with other version of FF on other test machines.

    Note3:
    Firefox Extension is installed correctly and there are no any other conflicting add-ons in FF as was described in this article

    Note4:
    Previous TTF build (1305) works fine with different version of FF including FF9.
    Also I'd like provide some info about used configuration of test machines:
    OS: Win7 x32/64
    Browsers: FF10, IE8,9
    TTF build: 1413
    NUnit: 2.5.10 (provided with ReSharper)

    Exception details:
       at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
       at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait)
       at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)
       at ArtOfTest.Common.WaitSync.For[T](Predicate`1 predicate, T target, Boolean invertCondition, Int32 timeout)
       at ArtOfTest.WebAii.Core.Manager.WaitForBrowserToConnect(Int32 browserIndexToWaitFor)
       at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle, String arguments)
       at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect, ProcessWindowStyle windowStyle)
       at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch, Boolean waitForBrowserToConnect)
       at ArtOfTest.WebAii.Core.Manager.LaunchNewBrowser(BrowserType browserToLaunch)
     
    So, dear TTF developers could your provide me some ideas what is happen and how it can be fixed ?
    Thank you in advance,
    Mykola.
     
  2. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 24 Feb 2012 Link to this post

    Hello Mykola,

    Unfortunately you're encountering a known issue with the new Firefox Http Client. Our developers are diligently working to isolate the issue and fix it.

    Here's a crude work-around you can implement in the meantime:

    try
    {
        Manager.LaunchNewBrowser(BrowserType.FireFox);
    }
    catch (System.TimeoutException)
    {
        Manager.LaunchNewBrowser(BrowserType.FireFox);
    }

    If you prefer Visual Basic, use our code converter

    All the best,
    Anthony
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. Tim
    Tim avatar
    2 posts
    Member since:
    Sep 2012

    Posted 13 Mar 2012 Link to this post

    Hello,
    I encountered the same problem while trying to run a MultiBrowser test list that included Firefox 10. My question is, where do I stick the code Anthony posted? Do I need to make a separate test for Firefox to add to my test list and remove Firefox from the MultiBrowser list?
    Thanks,
    Tim
  4. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 13 Mar 2012 Link to this post

    Hello Tim,

    That code was only intended to be used as a crude work-around while the original issue was getting fixed. That fix is now available in our latest internal build, 2011.2.1506. It's available for download from your Telerik.com account.

    Regards,
    Anthony
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  5. San
    San avatar
    24 posts
    Member since:
    Apr 2011

    Posted 15 Mar 2012 Link to this post

    Thanks Anthony for the new build.

    It works for Safari 5.0.x but doesn't work for FF 4 and FF 10

    Regards,
    San
  6. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 15 Mar 2012 Link to this post

    Hello San,

    There's likely an issue with the Firefox extension. See our troubleshooting guide on that topic.

    Greetings,
    Anthony
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  7. San
    San avatar
    24 posts
    Member since:
    Apr 2011

    Posted 18 Mar 2012 Link to this post

    Hello Anthony,

    I have tried with both FF 4 and FF 10.0.2.

    Strictly followed the steps as the post you've suggested but it still doesn't work correctly.

    The browser got launched but halt there and there is "error deteded" showed up at the status bar of the browser. (Please find the attached for detail).

    The same error for both versions above.

    Please help !

    Regards,
    San
  8. Anthony
    Admin
    Anthony avatar
    19 posts

    Posted 19 Mar 2012 Link to this post

    Hello San,

    There may be a conflicting Add-on. Try disabling all non-Telerik Add-ons and try again. If it succeeds, re-enable those Add-ons one at a time until you identify the culprit. (Please let us know which Add-on caused the issue so we can add it to our knowledge base.) Be sure to close Firefox after any changes in the Add-ons Manager.

    If you still have an issue, attach a screen shot of the Add-ons Manager page. Please also confirm you're using our latest internal build, version 2011.2.1506.

    Greetings,
    Anthony
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  9. Max
    Max avatar
    18 posts
    Member since:
    Jul 2012

    Posted 04 Oct 2012 Link to this post

    I encounter this issue with TS 2012.2.920.0 and the latest Firefox 15.0.1

    I have all plugins and extensions disabled, except for Telerik Testing Framework - Firefox Http Client 2012.1.626.0

    The telerik testing framework firefox 3 client is disabled, as it isn't compatible.

    I also experience the timeout on the latest Chrome.

  10. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 08 Oct 2012 Link to this post

    Hello Max,

    Could you please try disabling and then enabling the extension? I have tried to get a repro of this behavior but I was not able to. 

    If you're using Symantec Antivirus Protection, its Intrusion Prevention System may be interfering with the Test Studio Firefox extension.
    1. Enable Symantec Intrusion Prevention.
    2. Load Firefox and enable the Telerik Testing Framework extension in Add-ons Manager.


    Regards,
    Ivaylo
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  11. Max
    Max avatar
    18 posts
    Member since:
    Jul 2012

    Posted 08 Oct 2012 Link to this post

    I have tried disabling and re-enabling and checked that no active anti-virus scanning sessions were occurring, but still encounter the same issue.
  12. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 11 Oct 2012 Link to this post

    Hello Mykola,

    Could you please provide us with the Test Studio log so we can check for an exception. Please proceed by clearing the logs and reproducing the issue, then attach the log in this ticket. Also please record a short video so we can witness this behavior. Jing is a very useful screencast software.

    Looking forward to hear from you.

    Greetings,
    Ivaylo
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  13. Christopher
    Christopher avatar
    1 posts
    Member since:
    Sep 2012

    Posted 11 Oct 2012 Link to this post

    I am running into the same issue. 

    My run did not generate any logs.

    I am using:
    Firefox 15.0.1
    Telerik 2012.2.920.0

    I am using SpecFlow 1.9.0.77 and am using the NUnit Gui 2.6.1 to run.

    I tried the work around and it didn't work.
  14. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 16 Oct 2012 Link to this post

    Hello Christopher,

    I am sorry but we are not familiar with SpecFlow and any incompatibilities that it may have. Without any exception provided or local reproduction we cannot investigate this issue further.
    If you are using ReSharper test runner please note that it is untested and unsupported by Telerik. If that is the case please try disabling or uninstalling the ReSharper plugin.

    Kind regards,
    Ivaylo
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  15. Alex
    Alex avatar
    4 posts
    Member since:
    Mar 2012

    Posted 14 Dec 2012 Link to this post

    I was running into the same issue with FF 17 on two different VMs.

    I went into FF Add ons and found a number of disabled extensions and ended up enabling the latest Telerik Framework extension.

    Looks like the problem may come from installing Telerik Test Studio and then installing FF. FF does not enable existing addons by default.

    Problem Solved. Tests are running on FF now.
  16. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 17 Dec 2012 Link to this post

    Hello Mykola,

    I am happy to hear that your issue is now solved. 

    Kind regards,
    Ivaylo
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top