Test Studio scheduled test list run loses browser focus
Test Studio scheduled runs sometimes start browser in the background and it loses focus. Due to that the test steps are not executed correctly and the test fails unexpectedly.
This does not happen when running the test or test list locally.
Posted on:27 Jul 2021 16:56
The workaround that was provided addressed the issue.
Posted on:27 Jul 2021 14:42
A few users have reported this rare bug and we are investigating it on our end, but it is hard to reproduce and debug. Please add your vote to the public feedback and follow it to get notifications for its progress.
So far, we found a workaround to get the focus back to the browser and continue with the execution of the test.
Add a LeftClick mouse action right after the Navigate Step in the first web test that is executed in the test list. The click should be on element that does will not prompt any action in the application under test
Enable the "Focus" option (see enableFocus.png).
I hope the above suggestion will work for you, until we figure out what is causing the issue and fix it.
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/.