Custom Widgets [message #43135] |
Mon, 13 July 2009 17:10 |
Michael Wiederhold 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,
>
> Im an engineer with Fanfare software and weve been looking at using
> SWTBot to test our GUIs. Ive gone through and done some basic
> testing, but run into some trouble due to the fact we have created
> custom widgets for our software. Ive 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
|
|
|
Powered by
FUDForum. Page generated in 0.03452 seconds