Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] SWTBot + Tycho


Is the menu actually there?
You can try -DdebugPort=8000 and debug the surefire execution as a remote Java configuration. With that, you can put a breakpoint on the failing line and verify if menu is there as expected.
If menu is not there, then asĀ  Matthias said, it could be a missing dependency.
If menu is there and it worked with the breakpoint, it could be because of some asynchronous behaviour, so you should add some bot.waitFor/waitUntil methods
If menu is there and it is not found even with the breakpoint, then it could be a SWTBot issue (but method is probably one of the most used ones, so if something is really wrong with it, I guess it would have been noticed and reported earlier)

Mickael Istria
Eclipse developer at JBoss, by Red Hat
My blog - My Tweets

Back to the top