Yes, SWT is supported (thats why it is called SWTBot by the way...)

Even RCP applications can be tested with SWTBot.

You can take a look at the tests in the plugin "net.sf.swtbot.finder.test", 
which is in the SVN repository (I recommend trunk). It starts some SWT example 
GUIs provided by Eclipse and runs JUnit test on them, like:

    public void testClicksButtons() throws Exception {
        SWTBotShell shell2 = null;
        try {
            SWTBotButton button = bot.button("Set/Get API");
            button.click();
            shell2 = bot.shell("Button Set/Get API");
            assertNotNull(shell2.widget);
            assertEquals("Button Set/Get API", shell2.getText());
        } finally {
            if ((shell2 != null) && (shell2.widget != null))
                shell2.close();
        }
    }

SVN-URL: https://swtbot.svn.sourceforge.net/svnroot/swtbot


--- On Tue, 7/22/08, Shalini Gupta <[EMAIL PROTECTED]> wrote:
From: Shalini Gupta <[EMAIL PROTECTED]>
Subject: [SWTBot-users] Automatic Testing of SWT Application
To: swtbot-users@lists.sourceforge.net
Date: Tuesday, July 22, 2008, 7:19 AM




 


 







Is it possible to do automatic testing of SWT Application by
writing code using SWTBot 

 

if yes please send some URL ………L 

 

 

Shalini Gupta

 

AZTECSOFT
Limited,

#23, III A Cross, 18th main,

6th Block, Koramangala,

Bangalore - 560 095

Mobile: +91 - 9980158310



      
-------------------------------------------------------------------------
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