I have two Windows and I want to check if one of them is on front but do not have the focus. I have to write a test because we had that bug in our Software a few days ago. So the Window on top does not have the focus and I it is also not active.
UPD: I can not use Window.isFocusableWindow()
or anything else related to the focus of a window!