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

Unable to run a test in firefox

7 Answers 106 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Mamata
Top achievements
Rank 1
Mamata asked on 06 Jun 2013, 09:24 PM
Test Studio version is 2012.2.1204.0
I have a test created in IE10 which is basically a simple test to navigate to URL which works fine when running using IE10. When trying to run the same test using Firefox , browser opens up saying "preparing for automation" and it does not do anything. I have to manually abort the test run. The website is built around using HTML5 and java script and there is just one single line of code in the test to navigate to a website. Firefox  has been configured as per the instructions in the documentation
The failed view log has following text:

------------------------------------------------------------
'6/6/2013 3:17:24 PM' - Using .Net Runtime version: '4.0.30319.296' for tests execution.
'6/6/2013 3:17:24 PM' - Starting execution....
'6/6/2013 3:17:54 PM' - Failure detected during execution. Details:
------------------------------------------------------------
'6/6/2013 3:17:54 PM' - System.TimeoutException: Wait for condition has timed out
   at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo, Object target)
   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.Design.Execution.ExecutionEngine.InitializeWeb(ExecutionEngineCreateParams initParams)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.CreateAndInitializeEngine(Test test, ExecutionEngineCreateParams cp)
   at ArtOfTest.WebAii.Design.Execution.TestExecuteProxy.ExecuteTest(ExecuteTestCommand command)
------------------------------------------------------------
'6/6/2013 3:17:54 PM' - Test completed!

 

7 Answers, 1 is accepted

Sort by
0
Plamen
Telerik team
answered on 07 Jun 2013, 11:41 AM
Hi Mamata,

I am sorry to hear you are running into this problem. Please refer to this article and check whether the proper FireFox extension is enabled as we would expect. Also disable any add-on's which could cause any conflict with ours. If the extension is not installed at all, please unzip the XPI file I attached and drag/drop it into your FireFox browser.

Another option would be to upgrade Telerik Studio to version 2012.2.1527 which is our latest internal build. This will also install our extension for Firefox. You can download it from your Telerik.com account here: Public URL.

Regards,
Plamen
Telerik
Free summer webinars on advanced web automation tactics hosted by Jim Holmes & Adam Goucher.
Reserve your seat today!
0
Mamata
Top achievements
Rank 1
answered on 07 Jun 2013, 02:11 PM
Thank you very much. I will try this out.

0
Peiyuan
Top achievements
Rank 1
answered on 27 Jan 2016, 06:26 PM

Hello Plamen,

 The link of an article in your post is invalid now which is "Please refer to this article and check whether the proper FireFox extension is enabled as we would expect." Could you please give me an updated one? I have met the same issue of Mamata.

 Thanks,

Peiyuan

0
Boyan Boev
Telerik team
answered on 01 Feb 2016, 08:51 AM
Hello Peiyuan,

Here is the correct link.

Please let us know if that helps.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
0
Edgar
Top achievements
Rank 1
answered on 17 Feb 2016, 05:14 PM
Didn't work, now what?
0
Edgar
Top achievements
Rank 1
answered on 17 Feb 2016, 06:39 PM

Never mind, the solution is to install an older version of FF. I installed FF 23.0.1, and the extensions worked.

 

You should publish this as the "very last resort" in this page:

http://docs.telerik.com/teststudio/troubleshooting-guide/test-execution-problems-tg/firefox-tg/extension-not-installed

0
Boyan Boev
Telerik team
answered on 18 Feb 2016, 12:31 PM
Hello Edgar,

What version of Test Studio do you use?

As of version 2015.3 Telerik TS extensions are signed by Firefox in order to be installable (FireFox requirement).

If you use that version of later you don't need to install older versions of FF.

You may try delete the extension, enable it again and restart the browser. 

Firefox extensions could be installed manually, as shown below:

- For installing the playback extension navigate to: C:\Program Files (x86)\Telerik\Test Studio\Browser Extensions\Firefox4+ and drag telerik_test_studio_automation-2015.2.918.0-fx-windows.xpi to the extensions in FF.

- For installing the recording extension navigate to: C:\Program Files (x86)\Telerik\Test Studio\Bin\TestRecorderBrowserExtensions\Firefox and drag telerik_test_studio_recorder-2015.3.1228.0-fx-windows.xpi to the extensions in FF.


Let me know if that helps.

Regards,
Boyan Boev
Telerik
 
The New Release of Telerik Test Studio Is Here! Download, install,
and send us your feedback!
Tags
General Discussions
Asked by
Mamata
Top achievements
Rank 1
Answers by
Plamen
Telerik team
Mamata
Top achievements
Rank 1
Peiyuan
Top achievements
Rank 1
Boyan Boev
Telerik team
Edgar
Top achievements
Rank 1
Share this question
or