Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Custom Widgets
Custom Widgets [message #43135] Mon, 13 July 2009 17:10
Michael Wiederhold is currently offline Michael WiederholdFriend
Messages: 10
Registered: July 2009
Junior Member
This was an email message that I sent to Ketan along with his response. He
asked me to post it to the message board in case anyone else had a similar
question


Hi Mike,

I'd recommend creating another plugin
'com.fanfare.swtbot.custom.widgets' -- along lines similar to
swtbot.finder plugin.

This plugin will depend on swtbot.finder and the plugin containing your
widgets. The tests merely need to depend on
com.fanfare.swtbot.custom.widgets in addition to swtbot.finder plugin.

There should not be a concern about your software having a dependency on
swtbot. Your tests may have a dependency, but not your software itself.

Please send any support requests to the newsgroup since will certainly be
others that may need to do something similar and will have the same
questions.

Cheers!

--
Ketan
http://studios.thoughtworks.com/twist | http://twitter.com/ketanpkr

On 26/6/09 03:34, Mike Wiederhold wrote:
> Ketan,
>
> I’m an engineer with Fanfare software and we’ve been looking at using
> SWTBot to test our GUI’s. I’ve gone through and done some basic
> testing, but run into some trouble due to the fact we have created
> custom widgets for our software. I’ve been looking into the source
> code of SWTBot and have found what I believe is the correct place for
> adding some code for these widgets (I assume
> org.eclipse.swtbot.swt.finder.widgets). The problem however is that
> adding these custom widgets by just creating new classes for each new
> widget will create dependencies between our software and SWTBot. Is
> there a good way to add custom widgets without creating dependencies between
our software and SWTBot?
>
> - Mike
Previous Topic:Cant select contextMenu from own plugin
Next Topic:Toggle Button isn't checked
Goto Forum:
  


Current Time: Thu Dec 26 23:25:00 GMT 2024

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

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

Back to the top