Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Compiler Error
Compiler Error [message #24033] Wed, 25 February 2009 04:03 Go to next message
Madhu Samuel is currently offline Madhu SamuelFriend
Messages: 199
Registered: July 2009
Senior Member
This is a continuation of my previous post
http://www.eclipse.org/newsportal/article.php?id=346&gro up=eclipse.swtbot#346

This time I followed the user guide at
http://wiki.eclipse.org/SWTBot/UsersGuide and now its compiler error.

Error "The type junit.framework.TestCase cannot be resolved. It is
indirectly referenced from required .class files". I also added the swtbot
junit jar "org.eclipse.swtbot.swt.finder.junit4_3_2.0.0.160-dev.jar" to
the classpath.

The UserGuide refer to old bundle names like "net.sf.swtbot.finder", but
now its renamed to "org.eclipse.swtbot....".

It was good if the user guide was updated. Please guide on how to execute
an SWTBot testcase.

Thanks,
Madhu


Re: Compiler Error [message #24665 is a reply to message #24033] Fri, 27 February 2009 03:30 Go to previous messageGo to next message
Madhu Samuel is currently offline Madhu SamuelFriend
Messages: 199
Registered: July 2009
Senior Member
Hi Folks,

We are planning to present SWTBot to the eclipse developers in our
company. It would be great if you could provide some updates on the below
issue.

Thanks,
Madhu

Madhu Samuel wrote:

> This is a continuation of my previous post
> http://www.eclipse.org/newsportal/article.php?id=346&gro up=eclipse.swtbot#346

> This time I followed the user guide at
> http://wiki.eclipse.org/SWTBot/UsersGuide and now its compiler error.

> Error "The type junit.framework.TestCase cannot be resolved. It is
> indirectly referenced from required .class files". I also added the swtbot
> junit jar "org.eclipse.swtbot.swt.finder.junit4_3_2.0.0.160-dev.jar" to
> the classpath.

> The UserGuide refer to old bundle names like "net.sf.swtbot.finder", but
> now its renamed to "org.eclipse.swtbot....".

> It was good if the user guide was updated. Please guide on how to execute
> an SWTBot testcase.

> Thanks,
> Madhu


Re: Compiler Error [message #24705 is a reply to message #24033] Fri, 27 February 2009 03:45 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
The missing class belongs to the org.junit4 plugin as a dependency and
not the org.eclipse.swt.finder.junit4 dependency.

The user guide is out of order, please feel free to edit the wiki
document it to update it to the latest. If you have any additional
inputs on getting started, feel free to add that to the wiki as well.

-- Ketan

On 25/2/09 09:33, Madhu Samuel wrote:
> This is a continuation of my previous post
> http://www.eclipse.org/newsportal/article.php?id=346&gro up=eclipse.swtbot#346
>
>
> This time I followed the user guide at
> http://wiki.eclipse.org/SWTBot/UsersGuide and now its compiler error.
>
> Error "The type junit.framework.TestCase cannot be resolved. It is
> indirectly referenced from required .class files". I also added the
> swtbot junit jar
> "org.eclipse.swtbot.swt.finder.junit4_3_2.0.0.160-dev.jar" to the
> classpath.
>
> The UserGuide refer to old bundle names like "net.sf.swtbot.finder", but
> now its renamed to "org.eclipse.swtbot....".
>
> It was good if the user guide was updated. Please guide on how to
> execute an SWTBot testcase.
>
> Thanks,
> Madhu
>
Previous Topic:Start SWTbotTest from Java Application
Next Topic:some troubles with JUnit 4.5 dependency
Goto Forum:
  


Current Time: Thu Dec 18 10:36:11 GMT 2014

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

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