Under Review
Last Updated: 31 Jan 2022 09:31 by ADMIN
Jason
Created on: 26 Jan 2022 20:10
Type: Bug Report
1
Log when debugging only shows output from child test

I have a project with two tests.  One test is the child of the other and extracts values from a web page to use in the parent test.  The first step of the parent test is to run the child test. 

If I choose a step later on in the parent test and "Run to here" on that step, once it finishes I can view the log and I can see all of the steps and outcomes from both the parent and child test.

If instead I launch the same test from the execute button and set a breakpoint on that later parent step then once it hits that break point and I open the log from the debug options the only thing I see are the results from the child test steps and nothing from the parent test.  Nothing that even indicates that the first step of the parent had launched the child test.

I find it hard to believe that this behavior is intentional or at least not able to be configured but I didn't find anything in my search of the documentation or the forums.

Is this possibly a bug or "unintended feature"?

Thanks in advance,

Jason

P.S. I am running Test Studio Ultimate v 2021.3.1103.0

1 comment
ADMIN
Elena
Posted on: 31 Jan 2022 09:31

Hello Jason,

I am sorry to hear you encountered this inconsistent behavior in the logging. With the help of your thorough description I was able to reproduce this on my end and the Visual Debugger displays the logging of the nested test only. 

I guess that this is sort of an 'unintended feature' as you called it, so I converted your post into a public bug report in our feedback portal. It is also reported internally to the engineering team and is included in our product back log. 

I tried to find a workaround for the occurrence, but I have to admit that the Visual Debugger shows the logging of a single test - it is either the child, or the parent test. Thus, I hope that you will be able to debug the issue with these tests using the partial run options like Run->To Here and Run->From Here. Don't hesitate to submit a ticket if you need assistance on this. 

Thank you for your understanding in advance.

Regards,
Elena
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Test Studio course! Check it out at https://learn.telerik.com/.