Forum Discussion

xiemojia's avatar
xiemojia
Contributor
15 years ago

How to catch error or warning in browser when executing TC

    Sometimes when I test my BS AUT, always I find some errors or warnings in IE, I merely want to catch these error events, I don't care about which error it happen and the error details. And I can't find answer in TC reference manual. Administrator, Could you please give me some tipes?Thanks in advance!



(I find thread in the forum, but there is no answer in it. http://smartbear.com/forums/forum/post/?mode=singleThread&thread=24a43e06-63a0-483d-b957-7ddd88b2d8ce)

3 Replies

  • Hi,



    What kind of errors and warnings do you mean? Are they displayed as message boxes or do they occur internally without showing anything on the screen? I'm asking because if you get error dialogs, you can try processing them as unexpected windows.
  •     Sometimes when I access our page, I found javascript warnings or errors in the bottom left corner of IE, I want to log these events when I



    encounted these warnings or errors. But I have't found the solution, could you give some tips, thanks a lot!