On 17-Jul-08, at 11:32 AM, Shalini Gupta wrote:

> Hi,
> I am new for writing functional testing tool for SWT Applications  
> please help me and explain the steps so that I can write a Funtional  
> testing tool using SWTBot class.
>
> I have downloaded all Jar required for writing an application like
>  net.sf.swtbot-1.2.0.843-dev.zip

If you're just doing an SWT application, the above zip is what you'll  
need (and yes, JUnit)


Take a look at this example: 
http://swtbot.svn.sourceforge.net/svnroot/swtbot/trunk/net.sf.swtbot.finder.test/src/net/sf/swtbot/widgets/SWTBotButtonTest.java
 
  to see how you can use SWTBot for running your regular JUnit tests.

Basically the base class ensures that the test application is launched  
in a separate thread, and the rest of the tests run in a non-UI thread.

There's a simpler version here: 
https://swtbot.svn.sourceforge.net/svnroot/swtbot/trunk/net.sf.swtbot.demo/src/net/sf/swtbot/demo/SWTBotDemo.java

-- Ketan


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
SWTBot-users mailing list
SWTBot-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swtbot-users
http://swtbot.org/ - a functional testing tool for SWT/Eclipse

Reply via email to