Today, I did an analysis how to make my test run faster. The objective was my code reads 1000 rows from CSV file using “Data-driven testing” feature, and my test just print all rows in the log. I implemented several patterns of implementation (test cases, test suites, keyword). The result was interesting — the slowest result was over 2 minutes 26 seconds. The fastest result was 0 minute 22 seconds. Quite a difference. I will write a report and disclose it here later.
Here I will tell you what surprised me today. The Log Viewer has Scroll Lock toggle button.
I have never turned it “Locked” up until now. I happened to toggle it “Locked”. Then my tests were boosted!
If you “Lock” the Log Viewer, it stops auto scrolling. Effectively the Log Viewer becomes useless.
By “Scroll Lock” toggled Locked, my test got freed from the overhead of displaying verbose step execution logs. Instantaniously my test got boosted!
You can still see the test progress in the “Console”, or “Job Progress” modal.