budiaraf_ex
10 years agoOccasional Contributor
TestComplete not recognizing Visible windows
Hello
I'm having some trouble with TC not finding the proper dialogs and thinking they are invisible (Swing App). In the application, I have set the ID properties of my swing dialog to "AWTComponentName" and "Visible", which is always set to "true".
In my test, a window is opened and closed, but sometimes not disposed of and left floating. So, when playback opens the dialog again, the "floating" invisible one is still a process, leaving me with multiples of the same dialog.
Now, although this happens, I assume TC should find the dialog with the Visible=true property rather than throwing an error that the dialog it's looking for is invisible.
Is my logic wrong or am I missing something completely?
Thanks.
I'm having some trouble with TC not finding the proper dialogs and thinking they are invisible (Swing App). In the application, I have set the ID properties of my swing dialog to "AWTComponentName" and "Visible", which is always set to "true".
In my test, a window is opened and closed, but sometimes not disposed of and left floating. So, when playback opens the dialog again, the "floating" invisible one is still a process, leaving me with multiples of the same dialog.
Now, although this happens, I assume TC should find the dialog with the Visible=true property rather than throwing an error that the dialog it's looking for is invisible.
Is my logic wrong or am I missing something completely?
Thanks.