Returning to a base state after an error...? [message #488326] |
Mon, 28 September 2009 03:07  |
Eclipse User |
|
|
|
Hi, when a junit testcase fails, often there are windows still left open. If subsequent tests then try to execute, they will get confused because command of the workbench is being hijacked by this open window, which is waiting for a response. Does anyone have a good idea for a graceful way to click away any unexpected windows that might come up when a test fails so that subsequent tests can execute? Like maybe add some logic to the teardown that would click away any open windows, somehow? I'm sure people have thought about this already so would like to get your thoughts/ideas. Please include sample code if possible.
Also does anyone know if junit 4 is supported yet by SWT-Bot? Thanks a lot!
-- Steve
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04113 seconds