Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: FEST-Swing 1.2a3
-
Fix Version/s: FEST-Swing 1.2rc
-
Component/s: Swing
-
Labels:None
-
Number of attachments :
Description
When a dialog is not found, you currently get
org.fest.swing.exception.WaitTimedOutError: Timed out waiting for component to be found using matcher org.fest.swing.core.matcher.DialogMatcher[name=<Any>, title='MyDialogTitle', requireShowing=false]
at org.fest.swing.timing.Pause.pause(Pause.java:74)
at org.fest.swing.finder.ComponentFinderTemplate.findComponentWith(ComponentFinderTemplate.java:89)
at org.fest.swing.finder.DialogFinder.using(DialogFinder.java:75)
at [...]
I would be nice to include the current window hierarchy in that message, so it becomes clear if it's a misspelled title or someting else that caused it.