Hi Ketan, Thanks for the reply and an example is really helpful me a lot, But my doubt is how should I integrate SWTBotButtonTest class (for eg) with my SWT Application. As per the example I created the test case so that it can run along with SWT application to test the Button Control.
Do I need to create an SWT Plugin and then integrate it or there is some other way. Please correct me if I am wrong as I told u before I just started studying about this topic so I don't ve much knowledge. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ketan Padegaonkar Sent: Thursday, July 17, 2008 12:09 PM To: swtbot-users@lists.sourceforge.net Subject: Re: [SWTBot-users] please help in writing functional testing toolSWT Application 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.fin der.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.de mo/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 This email message and its attachments may contain CONFIDENTIAL AND PRIVILEGED INFORMATION intended for the sole use of the addressee(s). If you have received it in error, please contact the sender by return email, notify your system manager and destroy the original message and any copies thereof. Any review, use, disclosure or distribution is unlawful. Please check this email and any attachments for the presence of viruses. The Company accepts no liability for any damage caused by any virus transmitted by this email. The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company. The Company reserves the right to monitor, review and store the content of all messages sent to or from this e-mail address. www.aztecsoft.com ------------------------------------------------------------------------- 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