After my script executes the p.WaitWindow(“TFormName*”) instruction, TestComplete posts the “Ambiguous window recognition” error to the log. What happens?
A.: This error message means that TestComplete has found several windows whose attributes (class names, caption and index) correspond to the specified pattern. To resolve the issue, try to specify more precise search criteria. If there is only one window with this class name in your project the application under test may not free the previous instances of the window.
Related Questions
- After my script executes the p.WaitWindow("TFormName*") instruction, TestComplete posts the "Ambiguous window recognition" error to the log. What happens?
- When I warn or die all messages go to the console window or aren displayed at all. How can I see what warnings or errors my GUI script gives?
- I’m recording a script over a VirtualPC window. Why does TestComplete use the coordinates and why does it not recognize any objects?