Forum Discussion

geneticmaterial's avatar
4 years ago

Read entries in browser console

Hopefully, a simple question.

If the developer has implemented something that logs to the browser console.

Is there a way that testComplete can get hold of the logged message?

9 Replies

  • Marsha_R's avatar
    Champion Level 3

    I would try using object spy on the console and/or recording a test that includes checking the console for the message you are looking for and see what TestComplete gives you.  

    • geneticmaterial's avatar

      Thanks for the reply. 

      I am unable to find the console of the browser using object spy.

      Also, I am trying to piggy back on already written keyword tests so getting these test re-written to start opening the dev tools is not an option. There will be dozens of items I need to capture per test too I'm afraid.