On Mon, 22 May 2023 13:21:53 GMT, Alexey Ivanov <aiva...@openjdk.org> wrote:
>> When I run the folder, due to previous test/command prompt the frame used to >> show up behind command prompt, so to be on safer side I used always on top. >> When we run individual test, it works fine. > > It may still not work… You have to disable keyboard input timeout by setting > `ForegroundLockTimeout` to zero as explained in [requirements for > Windows](https://wiki.openjdk.org/display/ClientLibs/Automated+client+GUI+testing+system+set+up+requirements#AutomatedclientGUItestingsystemsetuprequirements-Windows-SpecificSystemsetupnotes). > > Most likely, you don't want to do it on the system that you regularly use, > otherwise apps could steal focus. Its working fine after setting to always on top, tested multiple times. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/13621#discussion_r1200536924