joscva
9 months agoContributor
What to do when UI element can't be selected by TC in a Keyword test?
I need to close a window of our Desktop Application, but the close box is inaccessible to TestComplete. Object Spy can't see it, it only sees the entire window. I found that I can directly call the...
- 9 months ago
Got it! Invoking the close method directly just wouldn't work, but manually typing Alt-F4 does invoke a window close in such a way, that the "yes" button is perfectly clickable without issue. So I can't type text *after* this state has been entered, but as long as it's not entered in the first place, then all is fine. I still don't understand why the direct method call wouldn't work, but at least I can move forward.