Follow the browser console of a web run, live and in the run report
You can now read the browser console of a web run while the run goes, and read it again in the run report with the replay. Use it to see the JavaScript errors and warnings of your app at the moment a step fails, without opening the app in your own browser.
Click the DevTools icon next to Inspect in the browser toolbar of the test case editor or of the run report, then open the Console tab.
- Live during the run: in the test case editor, the messages show as the run goes, also while you take control, record, or pause on a breakpoint.
- Linked to the replay: in the run report, the console shows the messages up to the selected step, and the rows of that step are highlighted. Click a message to move the replay to its step.
- Filter the messages: use the All, Errors, Warnings and Info tabs, each with its count, or type in Filter messages. Each row shows the time, the message and its source file and line. When more than one browser tab logged messages, a Tab column tells them apart.
- See errors at a glance: when the console holds an error, a red dot shows on the closed DevTools icon, and its tooltip gives the number of errors.
- Shared runs: a shared link shows the console only when you create it with Include console logs.
The console is captured for web runs, and for the browser of a run that mixes web and mobile steps. Mobile, API and SAP runs have no console. A run keeps up to 10,000 messages or 5 MB, and a message longer than 10,000 characters is cut. Values of secret variables are masked. Older runs show no console in the panel. You can still download their console logs from the Properties panel.
#Sprint36