Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Issue in disabling the check menu item
Issue in disabling the check menu item [message #503423] Mon, 14 December 2009 05:05
Rahman  is currently offline Rahman Friend
Messages: 8
Registered: December 2009
Junior Member
Iam trying to uncheck/disable the "Build Automatically" option in the Project menu. But Iam unable to do it and getting widget not found exception. But I could able to work with other menu items. Is there any other way to work with check menu items?"Project").menu("Build Automatically").click();


org.eclipse.swtbot.swt.finder.exceptions.WidgetNotFoundExcep tion: The widget was null.
at org.eclipse.swtbot.swt.finder.widgets.AbstractSWTBot.<init>(
at org.eclipse.swtbot.swt.finder.widgets.SWTBotMenu.<init>(
at Test2.testTest2_1(
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(
at junit.framework.TestCase.runBare(
at junit.framework.TestResult$1.protect(
at junit.framework.TestResult.runProtected(
at junit.framework.TestSuite.runTest(
at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.r un(
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(
at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTe sts(
at org.eclipse.swtbot.eclipse.core.RemotePluginTestRunner.main(
at org.eclipse.swtbot.eclipse.core.UITestApplication.runTests(U
at org.eclipse.ui.internal.testing.WorkbenchTestable$
at Source)

Previous Topic:SWTBot at Eclipsecon anyone ?
Next Topic:Get GEF edtior nested in a multi-page editor
Goto Forum:

Current Time: Tue May 22 00:45:07 GMT 2018

Powered by FUDForum. Page generated in 0.02324 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top