schwarz
10 years agoOccasional Contributor
Modal dialog is sometimes not focused after it´s opened
Hi all,
Sometimes we are running into this problem: TestExecute opens a modal dialog (e.g. a properties dialog) on the main form of our application. After that, the main form is still focused, and the modal dialog is on top of it (Sys.Desktop.ActiveWindow returns the main form in this case). Expected behaviour is that the modal dialog is focused.
When I try this manually, the modal dialog will always be focused (and it is impossible to focus the main form) as intended.
This occurs for .NET and Delphi applications, TestExecute version is 10.5.
Does anyone have an idea what could cause this? This behaviour does not always occur.
Best regards
Jens