Browser Console logs

4 posts, 0 answers
  1. Carl
    Carl avatar
    2 posts
    Member since:
    Jul 2012

    Posted 19 Jul 2012 Link to this post


    I'mdoing a eval for my company of Test Studio, and so far the bake tests are going well wiht the functions that we would like to implement it.  I just have one quesiton:  Is there a way to capture the javascript console normally captured in IE's Developer Tools or FireFox (via Firebug) logs.

    Is this something that can be done within Test Studio or should I look to try and solve this issue with C#? 

    Thank you,
  2. Cody
    Cody avatar
    3360 posts

    Posted 24 Jul 2012 Link to this post


    My apologies for the delay getting back to you on this. Unfortunately Test Studio does not have a way to hook into or capture the JavaScript console output. We can invoke JavaScript and even hook into JavaScript event handlers. You can also write JavaScript that will write directly into the tests log file. We just haven't implemented any access to the JavaScript console you seek, I am sorry.

    Just for my own understanding, what is your test case for wanting to do this?

    Kind regards,
    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
  3. ivan
    ivan avatar
    1 posts
    Member since:
    Oct 2016

    Posted 29 May in reply to Cody Link to this post

    maybe something was changed with it for now?
    I need to have access to the javaScript console too.

  4. Elena Tsvetkova
    Elena Tsvetkova avatar
    971 posts

    Posted 30 May Link to this post

    Hi Ivan,

    Thank you for your interest in Test Studio. 

    The console in the browser cannot be accessed by the Test Studio recorder - it communicates with the page and the elements in its DOM tree. Since the browser console is not part of the application under test it cannot be accessed directly. 

    What is still possible is what Cody had listed - invoke JavaScript (which is also available in the Step Builder), use JavaScript event handlers, and write JavaScript to write in the log file. 

    I hope any of these could be helpful for you. Please accept our apology in case of any inconvenience caused. 


    Elena Tsvetkova
    Progress Telerik
    The New Release of Telerik Test Studio Is Here! Download, install,
    and send us your feedback!
Back to Top