TestComplete Windows Keyword Tests Waiting for MessageBox Title or message.txt
In TestComplete, when you wait for a windows message box (or other object/window), you are given a Wizard to pick the object on the application under test, which is convenient. But it always generates a wait for the messagebox class which is not sufficient. If there are multiple different possible message boxes, it waits for messagebox1, then messagebox2, then messagebox3. We want it to wait for a messagebox with a specific title or messagetext. Any old message box will not do because application winds up out of synch. Furthermore, the title can be "Export complete for e:\expor\name.csv" and we want it to match on "Export complete for" followed by any path.
Is there a way to get past the Wizard and actually give it a value to look for. (This Wizard based approach also has the downside that when we want to change things we have to go back into the Wizard and pick again. We can't just alter the text or if we are testing a region image, just replace the image with a file.)
Is this a limitation of keyword tests? Do we need to resort to code/script? We are using another test tool that easily allows for this kind of messagebox search and does it by default so it makes us wonder how people can get by with this restriction in Test Complete.