Stopping test if there are any errors in console?

6 posts, 1 answers
  1. veri555999
    veri555999 avatar
    13 posts
    Member since:
    Sep 2015

    Posted 16 Oct 2015 Link to this post

    Hi, hospital form guy here, searched and didn't find anything

    Just wondering, is there any way to stop a test if any errors appear in the console? Like is there a way to check? And I mean any errors, not just JavaScript ones or anything like that. And I'm not talking about logging the errors, just stopping the test and showing the console errors.

     

    Thanks in advance.

  2. Cody
    Admin
    Cody avatar
    3360 posts

    Posted 16 Oct 2015 Link to this post

    Hello,

    Before I can say Yes or No, I need to understand what exactly you mean by a "console error". Can you show me an example of this? I know what the console is, for displaying text output from a DOS application. But I don't understand what a "console error" is.

    Regards,
    Cody
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. veri555999
    veri555999 avatar
    13 posts
    Member since:
    Sep 2015

    Posted 17 Oct 2015 in reply to Cody Link to this post

    Sorry for not being clear enough. By console I mean the one that you open with, e.g., F12 in Chrome.
  4. veri555999
    veri555999 avatar
    13 posts
    Member since:
    Sep 2015

    Posted 17 Oct 2015 in reply to veri555999 Link to this post

    The browser console, basically.
  5. Answer
    Cody
    Admin
    Cody avatar
    3360 posts

    Posted 19 Oct 2015 Link to this post

    Hi,

    Ah you're referring to the browser console window. That makes more sense. Thank you for the clarification. Unfortunately Test Studio is unable to hook into this output for any purpose, including detecting errors.

    Regards,
    Cody
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  6. veri555999
    veri555999 avatar
    13 posts
    Member since:
    Sep 2015

    Posted 20 Oct 2015 Link to this post

    That's a shame.

    Thanks again.
Back to Top