Forum Discussion

CraigB's avatar
CraigB
Contributor
4 years ago

WaitWinFormsObject no longer working with wildcards?

I have a set of tests that use WaitWinFormsObject quite often to wait for specific forms to appear.  All the forms are DevExpress XtraForm subclasses.  Some of them use wildcards for the in the type, caption, or both.  All the ones using wildcards have stopped working. Is there a setting somewhere now that toggles wildcards on/off?  Or has something else changed?  These tests were migrated from v12 and used to work without any problems, so perhaps there's something that needs to be changed in the calls to WaitWinFormsObject that isn't stated in the documentation for the method?  Or is it a problem that was introduced by DevExpress (the applications used to use DevExpress 16.x, but are currently on 18.x.  They don't often see a lot of work on them, so they've not yet been upgraded to v20).

3 Replies