Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » how to test swing code
how to test swing code [message #42620] Thu, 09 July 2009 16:50 Go to next message
lalitha Missing name is currently offline lalitha Missing name
Messages: 29
Registered: July 2009
Junior Member
Ketan,

After getting hold of the swing componant, how can I pass the swing
componant to say FEST's class for testing it.

Can you show me some sample code?

Thanks

In one of your earlier replies you had written the following :

"Ketan Padegaonkar-2 wrote:
No SWTBot does not provide for this. SWTBot currently only supports SWT
and eclipse. SWTBot can help you find out composites containing Swing
components.

You can pull out swing panels using SWT_AWT#getFrame(Composite) and test
it using a swing testing library.

I'd recommend using FEST (http://fest.easytesting.org/) for testing
swing panels. There is also Frankenstein written by a colleague on my
team (http://frankenstein.seleniumhq.org/) "
Re: how to test swing code [message #42659 is a reply to message #42620] Fri, 10 July 2009 04:19 Go to previous message
Ketan Padegaonkar is currently offline Ketan Padegaonkar
Messages: 873
Registered: July 2009
Senior Member
You'd get better traction on the FEST mailing list.

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

On 9/7/09 22:20, lalitha wrote:
> Ketan,
>
> After getting hold of the swing componant, how can I pass the swing
> componant to say FEST's class for testing it.
>
> Can you show me some sample code?
>
> Thanks
>
> In one of your earlier replies you had written the following :
>
> "Ketan Padegaonkar-2 wrote:
> No SWTBot does not provide for this. SWTBot currently only supports SWT
> and eclipse. SWTBot can help you find out composites containing Swing
> components.
> You can pull out swing panels using SWT_AWT#getFrame(Composite) and test
> it using a swing testing library.
> I'd recommend using FEST (http://fest.easytesting.org/) for testing
> swing panels. There is also Frankenstein written by a colleague on my
> team (http://frankenstein.seleniumhq.org/) "
>
>
>
Previous Topic:help with swing / rcp application testing
Next Topic:Support of Nebula FormattedText widget
Goto Forum:
  


Current Time: Wed Oct 22 05:11:15 GMT 2014

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

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