Firefox Extension Not Installed
PROBLEM
I cannot execute a test in Firefox. I receive the following error in the test log:
System.TimeoutException: Wait for condition has timed out
at ArtOfTest.Common.WaitSync.CheckResult(WaitSync wait, String extraExceptionInfo)
at ArtOfTest.Common.WaitSync.For[T](Predicate1 predicate, T target, Boolean invertCondition, Int32 timeout, WaitResultType errorResultType)<br>
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)
And the following displays in the Firefox URL field:
about:blank?!!AOT2.0!Pipe.ArtOfTest.WebAii.BrowserProvisioner_##########
SOLUTION
Test Studio 2017 R3 (v. 2017.3.1010) And Later
There is a single extension combining the recording and execution which could be downloaded from the Mozzila Extension Page. For your convenience here is a direct link to the Progress Test Studio Extension.
If you face any troubles when installing or enabling the extension please expand the Extension Install Procedure section in this article.
Test Studio 2017 R2 SP1(v. 2017.2.824) And Earlier
1. Check the Progress Testing Framework extension in Add-ons Manager. Click Tools > Add-ons (or Ctrl+Shift+A). Ensure Progress Test Studio Firefox Execution is enabled. If they are not enabled please check this article.
2. If that is correct and it still doesn't work, 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.
Restart Firefox after making changes in the Add-ons Manager.
3. If the issue persist, try to reinstall Firefox first and then Test Studio.
4. As a last resort you can perform manual installation of the extensions by following these steps:
- Verify that in the C:\Program Files (x86)\Progress\Test Studio\Browser Extensions\Firefox4+ folder you can see the following files:
Open the Windows registry.
-
Navigate to the following path in the registry:
For 64bit version: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Mozilla\Firefox\Extensions\
For 32bit version: HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Firefox\Extensions\
You need to have the registry shown in the following screenshot:
- If it doesn't look like the one in the screenshot, you need to create a new 'String Value' with:
Key: ** webaii21_FF4@telerik.com**
Value: C:\Program Files\Telerik\Test Studio\Browser Extensions\Firefox4+\
- Once this is done, open Firefox and go to your Firefox Extensions. Now you should be able to see the "Telerik Testing Framework - Firefox Http Client" extension. Simply enable it and you should be good to go.
If you're using Symantec Antivirus Protection, its Intrusion Prevention System may be interfering with the Test Studio Firefox extension.
- Disable Symantec Intrusion Prevention.
- Load Firefox and enable the Telerik Testing Framework extension in Add-ons Manager.