eclipse - SWTBot doesn't work -


i follow book called eclipse plugin development example: beginner's guide , examples hosted @ github. however, can't run swtbot example.

the first time takes long time run, in end pass test cases. when try run same code second time, testui() pass, other 3 have org.eclipse.swtbot.swt.finder.exceptions.widgetnotfoundexception: widget null.

somewhere in book said

if 1 (shell) not visible, polls (every 500 milliseconds default) until 1 found or default timeout period (5 seconds) ends when widgetnotfoundexception thrown don't see why first time test cases pass not second time.

but have not idea why first time work second time won't.

i report @ github issue far no 1 response.

did interfere desktop while test running? found can (!) cause problems swtbot. also, widgetnotfound exception you'll seeing lot when using framework. might due bugs, unusual underlying ui code. should reproducible in cases, though.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -