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.
15 Answers, 1 is accepted
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
Test Studio Trainings

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
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.
Anthony
the Telerik team
Test Studio Trainings

It works for Safari 5.0.x but doesn't work for FF 4 and FF 10
Regards,
San
There's likely an issue with the Firefox extension. See our troubleshooting guide on that topic.
Anthony
the Telerik team
Test Studio Trainings

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
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.
Anthony
the Telerik team
Test Studio Trainings

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.
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.
Ivaylo
the Telerik team
Test Studio Trainings

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.
Ivaylo
the Telerik team
Test Studio Trainings

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.
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.
Ivaylo
the Telerik team
Test Studio Trainings

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.
I am happy to hear that your issue is now solved.
Kind regards,Ivaylo
the Telerik team
Test Studio Trainings