Debug console errors, access DOM

Debug using Chrome Console

You can use console.log(myVar) or use the chrome DevTools debugger to see errors while running the test (add a debugger to the code).

Debug console errors and network

Testim records console errors and network errors automatically. You can find it at the top of the screen.
If there are no console logs, the link to the test log will not be displayed.

17631763

Note: The test logs will only appear for runs on Chrome browser.

Debug by seeing the failed step DOM

When a step fails, we also take a complete DOM snapshot, so you can later debug.
Access the DOM through the failed step property panel:

10191019

Note:

  1. The DOM will only appear on Chrome browser runs.
  2. The DOM will only appear on failed steps.

Debug Step parameters

In the properties panel you can see in each step all the parameters used during the run. These parameters can help you understand what happened in each step during the run.

  • Incoming params: All incoming parameters that could be used in this step. Parameters can come from the exports in previous steps, from global exports carried out from previous tests in the suite, from data driven parameters, group / step parameters, etc.
  • Local exports: Export parameters created in this step.
  • Global exports: Global export parameters created in this step.
14141414