since i have installed the new bot version 2.0.0.329, a simple button
click doesn't funktion any more :-( (e.g. bot.button("bla").click()).
I have reset to the older version (.187), and it functions ok as before ...
Is it a bug, or i made something wrong by update?
java.lang.NoSuchMethodError:
org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click()Lo rg/eclipse/swtbot/swt/finder/widgets/SWTBotButton;
at
de.cenit.eb.sm.finca.gui.test.serverconfperspective.TestsFor PluginConfigurationView.testInitButtonsAndMenues(Unknown
Source)
at
org.eclipse.swtbot.swt.finder.SWTBotTestCase.runBare(SWTBotT estCase.java:228)
at
org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:350)
at
org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:208)
at
org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication .runTests(UITestApplication.java:190)
at
org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.java:68)
at java.lang.Thread.run(Unknown Source)
On 29/5/09 20:05, Pavel Cybulskij wrote:
> Hello,
>
> since i have installed the new bot version 2.0.0.329, a simple button
> click doesn't funktion any more :-( (e.g. bot.button("bla").click()).
> I have reset to the older version (.187), and it functions ok as before ...
> Is it a bug, or i made something wrong by update?
>
> This is the exception of .329:
>
> org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click()Lo rg/eclipse/swtbot/swt/finder/widgets/SWTBotButton;
>
>
> java.lang.NoSuchMethodError:
> org.eclipse.swtbot.swt.finder.widgets.SWTBotButton.click()Lo rg/eclipse/swtbot/swt/finder/widgets/SWTBotButton;
>
> at
> de.cenit.eb.sm.finca.gui.test.serverconfperspective.TestsFor PluginConfigurationView.testInitButtonsAndMenues(Unknown
> Source)
> at
> org.eclipse.swtbot.swt.finder.SWTBotTestCase.runBare(SWTBotT estCase.java:228)
>
> at
> org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:350)
>
> at
> org.eclipse.swtbot.eclipse.junit4.headless.EclipseTestRunner .run(EclipseTestRunner.java:208)
>
> at
> org.eclipse.swtbot.eclipse.junit4.headless.UITestApplication .runTests(UITestApplication.java:190)
>
> at
> org.eclipse.ui.internal.testing.WorkbenchTestable$1.run(Work benchTestable.java:68)
>
> at java.lang.Thread.run(Unknown Source)
>
>
it's me again with my Problem in SWTBotButton.click().
I'm starting swtbot always via ant script. I have already updated to
version .340 (inclusive "Headless Testing Framework"), but the problem
remains the same! :-(
Funnily enough the fact, that ONLY the method button("bla").click()
doesn't function in versions .329 and .340 (it throws still Exception
'NoSuchMethodError'). The other methods of button (e.g. .getText() or
setFocus() function well in new versions!) In v.187 ALL functions are OK!
HELP please!!! :-)
Do you have any documentation for swtbot? i didn't found it on your site
... :-(
There may be no binary compatibility between those two versions, are you
running the same binaries of your source against different versions of
swtbot without recompiling them ?
If your source builds fine then it should execute fine unless the
binaries being used are different.
On 8/6/09 19:47, Pavel Cybulskij wrote:
> Hello Ketan,
>
> it's me again with my Problem in SWTBotButton.click().
> I'm starting swtbot always via ant script. I have already updated to
> version .340 (inclusive "Headless Testing Framework"), but the problem
> remains the same! :-( Funnily enough the fact, that ONLY the method
> button("bla").click() doesn't function in versions .329 and .340 (it
> throws still Exception 'NoSuchMethodError'). The other methods of button
> (e.g. .getText() or setFocus() function well in new versions!) In v.187
> ALL functions are OK!
> HELP please!!! :-)
> Do you have any documentation for swtbot? i didn't found it on your site
> ... :-(
>
> Bye,
> Pavel
>
Finally i have solved this problem! All i needed was 'clear' by ant
relaunch. :-)
Ketan Padegaonkar wrote:
> There may be no binary compatibility between those two versions, are you
> running the same binaries of your source against different versions of
> swtbot without recompiling them ?
> If your source builds fine then it should execute fine unless the
> binaries being used are different.
On 19/6/09 16:40, Pavel Cybulskij wrote:
> Finally i have solved this problem! All i needed was 'clear' by ant
> relaunch. :-)
>
> Ketan Padegaonkar wrote:
>
>> There may be no binary compatibility between those two versions, are
>> you running the same binaries of your source against different
>> versions of swtbot without recompiling them ?
>
>> If your source builds fine then it should execute fine unless the
>> binaries being used are different.
>
>
>