Add an option to allow simpler and faster loading of TC test run logs.
In TC 8, opening a failed test run's log was fast even if the log was very large. The reason it was fast was because TC 8 only loaded into memory enough of the test run's log to populate the Log Items panel and the Project Log panel, e.g. a few seconds at most. I would then use the Log Items panel to drill down to the test item I'm interested in, which again is fast because I'm usually interested in the last test item as that's the one containing the error that caused the test run to fail. And loading that test item was also fairly fast (a few seconds at most) because only one log file was being load, i.e. that of the test item in question.
So in TC 8 I could get to the test run's failure point pretty quickly, i.e. less than 30 seconds.
However in TC 12, if the log contains one or more errors (and they nearly allows do because who looks at successful test runs), after opening the log TC12 automatically sets focus to the first error in the test run log. This can be very slow if the log is large, e.g. this often takes 5 minutes, and this approach seems to require TC to load the test run's complete set of log files into memory, which explains the slowness.
So how about TC having an additional checkbox in TC's Options->Engines->Log page that can be used to enable/disable the automatic setting of focus to the first error in a log when opening a log. The default would be for the checkbox to be enabled, as per current TC 12 functionality.
For my company's usage I would typically set the option to disabled, so it behaves more like TC 8.
I imagine the code change to honor this option would be small.
I expect the existing TC code does something like this:
- Load the test run's log into the Log Items panel and the Project Log panel.
- If (the test run's log contains at least one error) then expand the log and set focus to the 1st error.
So my feature request would change it to:
- Load the test run's log into the Log Items panel and the Project Log panel.
- If (new checkbox is enabled) AND (the test run's log contains at least one error) then expand the log and set focus to the 1st error.
, i.e. a relatively small change.