This is a migrated thread and some comments may be shown as answers.

Unable launch tests under Firefox 10.0.2

15 Answers 333 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mykola
Top achievements
Rank 1
Mykola asked on 24 Feb 2012, 07:50 PM
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.
 

15 Answers, 1 is accepted

Sort by
0
Anthony
Telerik team
answered on 24 Feb 2012, 11:16 PM
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
0
Tim
Top achievements
Rank 2
answered on 13 Mar 2012, 03:50 PM
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
0
Anthony
Telerik team
answered on 13 Mar 2012, 05:27 PM
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
0
San
Top achievements
Rank 1
answered on 15 Mar 2012, 08:21 AM
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
0
Anthony
Telerik team
answered on 15 Mar 2012, 03:29 PM
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
0
San
Top achievements
Rank 1
answered on 19 Mar 2012, 02:16 AM
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
0
Anthony
Telerik team
answered on 19 Mar 2012, 03:20 PM
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
0
Max
Top achievements
Rank 1
answered on 04 Oct 2012, 08:59 AM

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.

0
Ivaylo
Telerik team
answered on 08 Oct 2012, 03:15 PM
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
0
Max
Top achievements
Rank 1
answered on 08 Oct 2012, 03:32 PM
I have tried disabling and re-enabling and checked that no active anti-virus scanning sessions were occurring, but still encounter the same issue.
0
Ivaylo
Telerik team
answered on 11 Oct 2012, 12:43 PM
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
0
Christopher
Top achievements
Rank 1
answered on 11 Oct 2012, 04:25 PM
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.
0
Ivaylo
Telerik team
answered on 16 Oct 2012, 12:51 PM
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
0
Alex
Top achievements
Rank 1
answered on 15 Dec 2012, 01:34 AM
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.
0
Ivaylo
Telerik team
answered on 17 Dec 2012, 12:50 PM
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
Tags
General Discussions
Asked by
Mykola
Top achievements
Rank 1
Answers by
Anthony
Telerik team
Tim
Top achievements
Rank 2
San
Top achievements
Rank 1
Max
Top achievements
Rank 1
Ivaylo
Telerik team
Christopher
Top achievements
Rank 1
Alex
Top achievements
Rank 1
Share this question
or