Fetching errors detail from browser console.

7 posts, 0 answers
  1. Vinay
    Vinay avatar
    47 posts
    Member since:
    Jan 2015

    Posted 09 Mar Link to this post

    Hi telerik,

    I want to fetch the errors[any type of error, not just of javascript] from browser console. I am not seeing any way to interact with browser console window.

    Please note that i am using telerik testing framework for my tests. Any way to achieve this?

    Please see the screenshot.

     

     

  2. Vinay
    Vinay avatar
    47 posts
    Member since:
    Jan 2015

    Posted 09 Mar in reply to Vinay Link to this post

    Any way to capture the browser log messages like selenium provided.?

    Can we achieve this by injecting javascript and query for log messages?

  3. Vinay
    Vinay avatar
    47 posts
    Member since:
    Jan 2015

    Posted 12 Mar Link to this post

    Any update on this?
  4. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    938 posts

    Posted 12 Mar Link to this post

    Hello Ranjeet,

    Thank you for reaching us out. 

    Test Studio interacts with the DOM tree of a loaded page in a browser. As the browser console is not part of the application we are unable to fetch any messages logged there. 

    Thank you for your understanding! 

    Regards,
    Elena Tsvetkova
    Progress Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  5. Vinay
    Vinay avatar
    47 posts
    Member since:
    Jan 2015

    Posted 13 Mar in reply to Elena Tsvetkova Link to this post

    Hi Elena,

    Thanks for your response. I understand this. But i am looking for a way to capture the js error from the display and they appears on browser console window.

    How one can achieve that? The sole purpose of testing is to find the errors. If we can't find any js error on display, what is the use of the tool then?

    Hope you understand my concerens.

     

    Thanks

  6. Vinay
    Vinay avatar
    47 posts
    Member since:
    Jan 2015

    Posted 14 Mar in reply to Vinay Link to this post

    Any update on this?

  7. Elena Tsvetkova
    Admin
    Elena Tsvetkova avatar
    938 posts

    Posted 16 Mar Link to this post

    Hello Ranjeet,

    Thank you for the additional details shared. 

    Test Studio is a tool for functional testing and is not designed to fetch Javascript errors. But such an error in the web application under test usually reflects in the UI of application with a control not functioning as expected. 

    The purpose of Test Studio is to identify if there are any functional errors in the UI. What causes these seems to be subject of application development more than testing. So once a misbehavior is identified in the web page UI it is supposed to be then debugged in details to sort out what error in the application code causes it. 

    I hope the above information is helpful to you. Though in case of any further questions please do not hesitate to contact us again! 

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