New to Telerik Test Studio? Download free 30-day trial

Using the Test Execution Log in Test Studio

The execution log in Test Studio is a generated after a quick test execution. It is also included in the thorough step failure details.

You can pull it out by clicking View Log button in the test view

View Log

or from failure details:

Step failure details

What Details Contains the Execution Log?

The execution log is a record of the steps executed in the test, whether they passed or failed, and if they failed, why. It records what actions a step takes and what elements it acts upon. It includes all steps in one sequence, regardless of whether they are part of the main parent test or a test as step.

log

It says what errors arose in the case of a failure, giving detailed information on where the error occurred, and whether the error caused the test to fail.

log

For these reasons, the execution log is an excellent resource for forming a clear story of what led to a failure.

When to Export the Execution Log?

Anytime a test fails unexpectedly and without clear explanation, the execution log can help in determining the cause. This includes any of the following, when unexpected:

  •      The test closes after waiting;
    
  •      A step fails unexpectedly and the test continues;
    
  •      The test fails without executing any steps;
    

How to Export the Execution Log?

In the Step Failure Details window, you can choose to export results to file, including the execution log.

What to Look for in the Execution Log?

The Execution Log lists four main types of information. Two of these, the action taken by the step and the element acted upon by the step, are included in the Test view. However, they can still be useful if the recipient of the execution log does not have access to the associated test (for example, the Test Studio support team). The other two categories of information are step execution properties (including whether to continue on failure and whether to break on execution) and error information. Each of these pieces of information is contained elsewhere in Test Studio, the Execution log provides a sequential summary of the entire test leading up to failure.

In this article