Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund
ui.wait(new ShellShowingCondition("Add New Device"));
ui.click(new ButtonLocator("&Next >"));
ui.click(new XYLocator(new SWTWidgetLocator(Text.class,
new LabeledLocator(TextComponent.class, "Device name")),
4, 6));
ui.keyClick(WT.SHIFT | WT.END);
ui.enterText("myDevice_183");
com.windowtester.runtime.WidgetNotFoundException: No tree items found for 'test' in
WrongNametest
at com.windowtester.runtime.swt.internal.drivers.TreeDriver.getNextTreeItem(TreeDriver.java:168)
at com.windowtester.runtime.swt.internal.drivers.TreeDriver.reveal(TreeDriver.java:77)
at com.windowtester.runtime.swt.locator.TreeItemLocator.click(TreeItemLocator.java:213)
at com.windowtester.internal.runtime.selector.ClickHelper.doClick(ClickHelper.java:172)
at com.windowtester.internal.runtime.selector.ClickHelper.click(ClickHelper.java:59)
at com.windowtester.internal.runtime.UIContextCommon.click(UIContextCommon.java:140)
at com.windowtester.runtime.swt.internal.UIContextSWT.click(UIContextSWT.java:325)
at com.windowtester.internal.runtime.UIContextCommon.click(UIContextCommon.java:133)
at com.windowtester.runtime.swt.internal.UIContextSWT.click(UIContextSWT.java:333)
at TestShiftinEditor.testTestShiftinEditor(TestShiftinEditor.java:46)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:164)
at junit.framework.TestCase.runBare(TestCase.java:130)
at com.windowtester.runtime.common.UITestCaseCommon.access$0(UITestCaseCommon.java:1)
at com.windowtester.runtime.common.UITestCaseCommon$2.run(UITestCaseCommon.java:130)
at com.windowtester.runtime.common.UITestCaseCommon$3.run(UITestCaseCommon.java:151)
at com.windowtester.internal.runtime.junit.core.SequenceRunner$1.run(SequenceRunner.java:40)
Users browsing this forum: No registered users and 1 guest