Screen Capture on Error can help identify what is causing a certain test to fail. A SCoE will, among other things, take a screen shot for each step of the transaction, enabling you to see what the Browser Agent saw. All of this information can help you troubleshoot issues as they occur.
In the Dynatrace Portal, SCoE provides you with the following data about any error:
- The raw source code for all downloaded frames and windows.
- Header information for all the test's requests until the failure.
- Trace Route on Error (TRoE). Only captured if the test fails due to a network related failur.
All this information can help diagnose a problem.
If a test fails due to script errors, you can use the Screen Capture to see if the correct page was downloaded. If not, you can adjust the script to point to the correct page. If the correct page was downloaded, you now know that you need to verify that the script's User Actions work against the downloaded source code - the website's code may have recently changed.
The header information is also useful as it can confirm whether or not the Browser Agent sent the correct HTTP requests to the host server when requesting a specific page. Note that for more complete header information - including any POST data that was sent - you can download the .zip archive from the SCoE page and view the headers.xml file.