gnebling wrote:Did you mean like a Testsuite?
gnebling wrote:What errors do you get?
gnebling wrote:Do your tests have these lines of code?
ui.wait(new ShellDisposedCondition("Eclipse SDK"));
If so, comment them out. If you leave these lines in, the first test kills the workbench and then you get and exception, "root must not be null" exception when trying to run the subsequent test(s).
I sometimes experienced those failure due to unequal start conditions.
For example the last action of a test was to click a certain TreeItem.
Now the second test failed, because this Treeitem was still selected, which was not the case, when the second test has been started stand-alone.
So maybe you have to make sure that every test in your suite starts with the same conditions
ui.click(new MenuItemLocator("&Window/&Open Perspective/&Other..."));
ui.wait(new ShellShowingCondition("Open Perspective"));
ui.wait(new ShellDisposedCondition("Open Perspective"));
Users browsing this forum: No registered users and 1 guest