Unable to run Telerik Automation Test on firefox above version 12

29 posts, 0 answers
  1. sreekanth n
    sreekanth n avatar
    2 posts
    Member since:
    Jan 2010

    Posted 30 Aug 2013 Link to this post

    Hi I am using Telerik_Testing_Framework_2013_1_806_FREE_EDITION.msi for automation... but i am unable to run test on firefox above version 12 , for chorme we have even tried version 20 which also is not working.

    We are able to run test on IE8... Please help...

    The browser will display "Preparing browser for automation..." and then we get System.TimeoutException
    Error Message - "Wait for condition has timed out"
  2. Velin Koychev
    Admin
    Velin Koychev avatar
    88 posts

    Posted 03 Sep 2013 Link to this post

    Hi Sreekanth,

    I am sorry to hear that  you are experiencing this issue.

    The problem you are experiencing might be due to not installed extensions for both browsers. Below you'll find articles on how to proceed:

    Firefox Extension Not Installed and Tests Will Not Run in Google Chrome

    If none of these troubleshooting steps doesn't help, let me know and we'll continue investigating what may be causing this problem.

    Regards,
    Velin Koychev
    Telerik
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. srikanth
    srikanth avatar
    19 posts
    Member since:
    Feb 2015

    Posted 11 Feb 2015 Link to this post

    I'm encountering the same Issue with FireFox (35.0.1) but I'm able to execute the test perfectly in IE.

    Issue while performing Record with FF and Chrome :-
    The browser will display "Preparing browser for automation..." and then we get System.TimeoutException

    Error Message - "Wait for condition has timed out"

    I've enabled extensions ie
    Telerik Teststudio Record and playback   &  Telerik Teststudio Automation but still not working  sometimes it leads to "Restart the Visualstudio12"

    can you please help me out

  4. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 16 Feb 2015 Link to this post

    Hello,

    Please check this article on how to overcome this problem.

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  5. srikanth
    srikanth avatar
    19 posts
    Member since:
    Feb 2015

    Posted 18 Feb 2015 in reply to Ivaylo Link to this post

    Thanks for the reply,

    I'm sorry to say this I've tried in the same way as you mentioned in article above but I'm still facing the same Issue actually I'm trying to perform this whole thing in a VM(virtual machine) when I'm working with IE its normally gets Recorded and  executed but when I'm trying to record through FF ,Chrome (latest versions) It was forcely Restarting the VisualStudios2012 

    It would be so helpful if you provide me the solution




    Thanks,

    sreekanth kumar.



  6. srikanth
    srikanth avatar
    19 posts
    Member since:
    Feb 2015

    Posted 18 Feb 2015 Link to this post

    Sorry, After reinstalling both browser and Telerik Teststudio I can Record through FF only for second time because first time it will ask for force restart of VisualStudios same as Chrome.

    Thanks,
    Sreekanth Kumar
  7. srikanth
    srikanth avatar
    19 posts
    Member since:
    Feb 2015

    Posted 19 Feb 2015 Link to this post

    I'm now able to work with  Chrome and FF but still when start recording for the first time it will forcely restart the VS12 and sometimes in the middle also it will restart . I tried lot but i didnt get any solution.
    Please help me out
    win 7 VM ,Chrome-40.0.2214.111 ,FF-35.0.1(x86)e_nu ,Telerik biuld-2014.4.1411
    Thanks,
    Sreekanth
  8. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 19 Feb 2015 Link to this post

    Hello Sreekanth,

    You can always use IE for your recording browser.

    Please note recording problems need to be reproduced locally on our end in order to be able to investigate them further.

    Thank you for your understanding.

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  9. srikanth
    srikanth avatar
    19 posts
    Member since:
    Feb 2015

    Posted 24 Feb 2015 in reply to Ivaylo Link to this post

    Thank you for your response ,

      I followed the solutions you have mentioned above to enable extensions in ff, chrome and they are working fyn few days back except the forcly restart of VS12 issue . As I'm working in VM Today I tried to execute the tests in ff,chrome which the tests are recorded in IE.
    In Firefox I didnt get any extension like 'telerik testing ftramework HttpClient" I followed further steps like path checking and record in window regestry (http://docs.telerik.com/teststudio/troubleshooting-guide/test-execution-problems-tg/firefox-tg/extension-not-installed) but still did'nt get any extension like this .
    I'm getting the browser open and wait for long time displaying :Prearing browser for automatio" In Log file it shows

    ------------------------------------------------------------
    '2/24/2015 11:24:44 AM' - Executing test: 'TC_A331 - Creat a Course', path: 'Administrator Portal\TC_A331 - Creat a Course.tstest.'
    '2/24/2015 11:24:44 AM' - Using .Net Runtime version: '4.0.30319.17929' for test execution. Build version is '2014.4.1411.0'.
    '2/24/2015 11:24:44 AM' - Starting execution....
    '2/24/2015 11:25:51 AM' - Failure detected during execution. Details:
    ------------------------------------------------------------
    '2/24/2015 11:25:52 AM' - 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)
    ------------------------------------------------------------
    '2/24/2015 11:25:54 AM' - Test completed!


    I'm using Win7 and FireFox (35.0.1) even chrome also the same issue and error even after the latest extensions are enabled 


    Note: I'm not getting this waiting Issue while performing the executions in Remote Machines

    Can  you please help me why I'm facing this problems


     
  10. Boyan Boev
    Admin
    Boyan Boev avatar
    1043 posts

    Posted 26 Feb 2015 Link to this post

    Hello Srikanth,

    I am little confused now. Where do you experience the issues? On the VM or somewhere else?

    Regarding the Chrome please delete all Telerik Test Studio extensions and install the latest ones. Please find direct links for them here.

    Regarding FF:

    • Clear the FF cache
    • Start FF and navigate to some page and close it properly (not killing the process).
    • Setup FF to have a start page a real web page (not empty) to trigger navigation to a page when starting it.
    • It might help to try manually deleting the local user FF cache files from here:

    C:\Users\[user]\AppData\Local\Mozilla\Firefox\Profiles\ - the temp generated folders within.

    If the issue persists could you please record a Jing short video executing your test so we can better understand your scenario.

    Hope to hear from you soon.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  11. Luis
    Luis avatar
    22 posts
    Member since:
    May 2013

    Posted 05 May 2015 in reply to Boyan Boev Link to this post

    Hi,

    I'm using Firefox version 37.0.2 and I'm experiencing the same issue reported by Sreekanth.

    I tried to follow the documentation (http://docs.telerik.com/teststudio/troubleshooting-guide/test-execution-problems-tg/firefox-tg/extension-not-installed), but got the following:

    • For the solution " Check the Telerik Testing Framework extension in Add-ons Manager", this extension is not available in the Firefox store (see attached "Firefox store.png").
    • For the alternative solution "As a last resort you can perform manual installation ", my windows registry key "webaii21_FF4@telerik.com" add already the correct value "C:\Program Files (x86)\Telerik\Test Studio\Browser Extensions\Firefox4+\" (see attached "Registry.png").

    Despite all this, I can't see the Telerik extension in Firefox (see attached Firefox extensions.png").

    When starting a test in Firefox, the browser keeps showing the message "Preparing browser for automation..." and nothing happens (see attached "Test execution.png").

     In TestStudio log I got a timeout exception "Message: Wait for condition has timed out" (see attached "Telerik Test Studio Trace Log.zip").

     

    Please help.

     

    BR,

    Luis

  12. Boyan Boev
    Admin
    Boyan Boev avatar
    1043 posts

    Posted 08 May 2015 Link to this post

    Hi Luis,

    It seems you don't have Telerik extensions installed in FireFox.

    Please try to reinstall Firefox first and then Test Studio.

    Let me know if this helps.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  13. Luis
    Luis avatar
    22 posts
    Member since:
    May 2013

    Posted 08 May 2015 in reply to Boyan Boev Link to this post

    Hi Boyan,

    It didn't help. I just tried what you suggested and I still when I run a test the Firefox continues to show the same message and nothing else.

     

    Do you have any more ideas? Could it be some conflict with Selenium extensions?

     

    Thanks,

    Luis

     

  14. Boyan Boev
    Admin
    Boyan Boev avatar
    1043 posts

    Posted 13 May 2015 Link to this post

    Hi Luis,

    This is really strange behavior.

    Have you installed also Test Studio after installing FireFox?

    We don't know about some conflicts with Selenium extensions.

    The other thing that is coming to my mind is to try this on another machine. Install TS on some other machine with FireFox and give that try.

    You can disable all other extensions just for testing purposes.

    Looking forward to hearing from you.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  15. Luis
    Luis avatar
    22 posts
    Member since:
    May 2013

    Posted 13 May 2015 in reply to Boyan Boev Link to this post

    Yes, I followed your instructions and remove both Firefox and Test Studio and then re-installed Firefox followed by Test Studio.

    Right now I tried to remove all Selenium related extensions from Firefox and then uninstalling it again as well as Test Studio. I re-installed everything again (Firefox first) and still I get the same behavior.

    I also asked a colleague to try running on Firefox and he got the same behavior. In his case, he first updated Firefox to version 37 and then tried to run a test.

    I asked him to uninstall everything and re-install again starting by Firefox, so as soon as I have his feedback I will post this here.

     

    Does Test Studio logs the problem? Should I wait until an error occurs while "preparing for automation..", because it seems that it just freezes in that state.

     

    BR,

    Luis

     

     

  16. Boyan Boev
    Admin
    Boyan Boev avatar
    1043 posts

    Posted 17 May 2015 Link to this post

    Hi Luis,

    Could you please confirm that you use Test Studio stand alone version and not only Telerik Testing Framework?

    What version of Test Studio do you use?

    Could you please try installing our latest internal build (2015.1.515) and give that a try.

    You can download it from here.

    Let me know the results.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  17. Luis
    Luis avatar
    22 posts
    Member since:
    May 2013

    Posted 19 May 2015 in reply to Boyan Boev Link to this post

    Hi Boyan,

     

    Yes I have TS version 2014.3.1016 installed, not the TTF (see attach "TestStudio.png").

     I just installed version 2015.1.319 I still get the same behavior. I first uninstall everything (FF and TS) and then installed FF and afterwards TS.

     In attach I send you a clip (Running_IE_FF.zip) of a test starting in IE and then in FF. As you can see, in IE the browser is loading the page but in FF I just get the preparing for automation message.

     

    BR,

    Luis

  18. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 22 May 2015 Link to this post

    Hello Luis,

    Did you try the following?

    1. Disable and enable the Telerik Test Studio extensions.

    2. Calibrate Firefox.

    3. 

    • Clear the FF cache
    • Start FF and navigate to some page and close it properly (not killing the process).
    • Setup FF to have a start page a real web page (not empty) to trigger navigation to a page when starting it.
    • It might help to try manually deleting the local user FF cache files from here:

    C:\Users\[user]\AppData\Local\Mozilla\Firefox\Profiles\ - the temp generated folder within.

    Let me know if this helps.

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  19. Luis
    Luis avatar
    22 posts
    Member since:
    May 2013

    Posted 22 May 2015 in reply to Ivaylo Link to this post

    Hi Ivaylo,

    1. I don't see any Telerik Test Studio extension in FF, so I can't do that.

    2. Yes. In my previous post I have done that prior to execute my test.

    3. I think so, but I will do it again just to be sure.

    Afterwards I let you know how it went.

    BR Luis

     

  20. Luis
    Luis avatar
    22 posts
    Member since:
    May 2013

    Posted 22 May 2015 in reply to Luis Link to this post

    Ok, so I just uninstalled both Test Studio and FF (removing the profile as mentioned previously). Re-installed everything again (now FF version 38) and i get the same result running my test.

    In attach I send the Test Studio log that has the installation and the execution.

     Should I try a previous version of FF?

     

    BR,

    Luis

     

  21. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 26 May 2015 Link to this post

    Hello Luis,

    You can try a previous version of FF and you can also try installing on another machine and see the behavior there. Especially if you tried to install the extension manually and it didn't work.

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  22. Luis
    Luis avatar
    22 posts
    Member since:
    May 2013

    Posted 29 May 2015 in reply to Ivaylo Link to this post

    Hi Ivaylo,

    So I take some time to do a more detailed analysis and these are my conclusions so far:

    I created a VM with Win7 32-bit with IE10. I than installed FF version 38 followed by TS version 2014.3.1016 (the one I have license for :)). When and tried to execute a test in FF the same thing happened.

    Afterwards I uninstalled everything and installed an older FF version (v34) followed by TS. Trying to execute again my test, I got some messages to install Telerik FF plugins and after I accept that I was able to run the test. Afterwards I upgrade FF to the latest version (v38) and I was able again to  execute my test in FF.

    Trying to do the same on my machine, uninstall FF and TS and install the same older FF version that in the VM (v34), followed by TS, I still couldn't execute the test.

     

    Trying to find out if the problem was due to by machine, I created a new VM but this time with Win7 64-bit with IE10. I than installed FF version 34 followed by TS. I tried to run my test and this time I didn't get any message to install Telerik FF plugins and I got the same behavior (FF browser opens and just shows the message "Preparing browser for automation...").

     

    This leads me to conclude that probably is problem is something to do with the fact I'm running Win7 c4-bit.

     

    Did you ever did some troubleshooting regarding this? Or any client complain about this?

     

    BR,

    Luis

  23. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 01 Jun 2015 Link to this post

    Hello Luis,

    This is the first time we see such an issue and to be honest I am out of ideas what is preventing you from being able to install the FF extensions. For sure this is not that you are running Win7 64-bit since I am running the same configuration, as well as this is a common configuration along our customers.

    Never heard of such behavior. Instead of using VM can you try using a physical machine. Can you also try installing Test Studio on machine outside your company network, for example give it a try at home.

    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  24. farheen
    farheen avatar
    3 posts
    Member since:
    Jul 2015

    Posted 22 Jul 2015 Link to this post

    Hi Team,

     

     I've tried all the ways mentioned above to run tests on ff but still no luck 

    I've tried to taken entire setup in other machine but didnt found any telerik extensions in add-ons but In my system I'm able to enable extensions for ff except "HTTP Client extension " however I'm not able to execute the tests after all workaround also displays prepare for browser and displays "wait for condition has timed out" in ViewLog file.

    Only thing remained is to check out of my company network will check and let you know please try to reproduce our Issue at your end and help me .

    Thanks in advance,

    Farheen

  25. Boyan Boev
    Admin
    Boyan Boev avatar
    1043 posts

    Posted 27 Jul 2015 Link to this post

    Hello Farheen,

    Please try installing Test Studio on home PC or somewhere out of the company.

    Give that a try and let me know the results.

    Hope to hear from you soon.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  26. Roland
    Roland avatar
    15 posts
    Member since:
    Jan 2009

    Posted 14 Aug 2015 in reply to Boyan Boev Link to this post

    Hi Boyan,

    after reading all the entries of this post, I have to submit, that I am faced with the same problem. Firefox is just not starting, the testing framework reports only a TimeOut Exception:

    Assert.Fail failed. Test failed: 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 br

     

    I am using Windows 8.1 64-Bit and Firefox ESR v. 38.2.0 and Telerik Testing Framework 2015.2 on a virtual machine. I reinstalled everything: FF, Testing Framework, ..., cleaned up profile folders and so on - without success.

     What can be the issue here?

     

    Regards,

     

    Roland

  27. Ivaylo
    Admin
    Ivaylo avatar
    750 posts

    Posted 19 Aug 2015 Link to this post

    Hello Ronald,

    Did you try the following?

    1. Disable and enable the Telerik Test Studio extensions.

    2. Calibrate Firefox.

    3. 

    • Clear the FF cache
    • Start FF and navigate to some page and close it properly (not killing the process).
    • Setup FF to have a start page a real web page (not empty) to trigger navigation to a page when starting it.
    • It might help to try manually deleting the local user FF cache files from here:

    C:\Users\[user]\AppData\Local\Mozilla\Firefox\Profiles\ - the temp generated folder within.


    Regards,
    Ivaylo
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  28. zheng
    zheng avatar
    1 posts
    Member since:
    Aug 2015

    Posted 10 Nov in reply to Ivaylo Link to this post

    Hi I use  run telerik automation test on  firefox and chrome,I open the nunit to run a suit of test cases,it will closed both of firefox and nunit after run several test case,I don't know why,can you help me?
  29. Boyan Boev
    Admin
    Boyan Boev avatar
    1043 posts

    Posted 15 Nov Link to this post

    Hi Zheng,

    What version of the Testing Framework do you use?

    Have you checked out this article?

    Please send us the trace logs so we can review it and and give you some suggestions.

    Thank you!

    Regards,
    Boyan Boev
    Telerik by Progress
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top