Ketan's Musings

Where he blogs about his eclipse musings

Another sneak preview into SWTBot

with 9 comments

Here’s yet another sneak preview into SWTBot.

This time SWTBot makes a profound statement “Hello World“, to demonstrate what SWTBot is able to do. Click here to view full screen.

SWTBot also runs on Linux, although the screencasts are all recorded in Windows. Click here, in case you wish to look at the script that executes this.

This preview was created using Wink.

Written by Ketan

November 14th, 2007 at 4:16 pm

9 Responses to 'Another sneak preview into SWTBot'

Subscribe to comments with RSS or TrackBack to 'Another sneak preview into SWTBot'.

  1. [...] RiM3Y.net | BlogZero wrote an interesting post today onHere’s a quick excerptSWTBot also runs on Linux, although the screencasts are all recorded in Windows. This preview was created using Wink. Bookmark to… [...]

  2. [...] Software Free wrote an interesting post today onHere’s a quick excerptSWTBot also runs on Linux, although the screencasts are all recorded in Windows. This preview was created using Wink. Bookmark to… [...]

  3. Great job, Ketan ! :)

    I’m so happy to see you focussed on your goals. It’s inspiring enough that I’m going to focus on my own.

    – Ram

    Sriram

    14 Nov 07 at 5:39 pm

  4. And how did you configure it do this? A Script?

    Nirav Thaker

    14 Nov 07 at 7:24 pm

  5. Nirav:
    I’ve just updated my blog to point to the script that runs does this.

    Ketan

    14 Nov 07 at 8:39 pm

  6. After look into the source , the tool itself looks like:
    abbot(for swt part) + TPTP AGR

    the mechanism is to drive actions is TPTP AGR’s way.
    while other , (like finder and helper class for each SWT control is like Abbot SWT)

    It’s god to see such combination and yes, it’s useful .

    Ben.Xu

    14 Dec 07 at 11:13 am

  7. Ben,

    I’ve been quite impressed with abbot to quite an extent. I liked it’s capabilities to find controls. However the lack of a simpler API on top of it made it a bit of a pain to use. Unfortunately development on it was slow it seems to have died out.

    I’ve not really looked at any of the TPTP projects, mainly since TPTP was still evolving about 9 months ago when I began work on SWTBot, it seems from Doug’s post that, AGR is dead as well. Also depending on TPTP for a simple testing tool was too much of a dependency.

    Maybe now that you’ve mentioned it, I think it’d be a good time to look at AGR.

    Ketan

    14 Dec 07 at 11:34 am

  8. Hi Ketan,
    AGR is dead. But it will be worth looking into the source.
    exception handling is also very important for such library. (in eclipse, you can not expect when and where a stupid model dialog opens)
    I have not finished read your source code and don’t know how you handle the exception control and timeout problem.

    Ben.Xu

    17 Dec 07 at 1:12 pm

  9. Hi Ben,

    As of now SWTBot throws exceptions when controls are not found, or a timeout occurs waiting for a control to appear.

    Yes, all these pesky dialogs are a problem, and most dialogs cannot be driven through tests. ColorDialog, MessageDialog, FileDialog to name a few.

    I still need to figure out a way to play around with such dialogs, that have no automation API.

    Ketan

    17 Dec 07 at 1:30 pm

Leave a Reply

IMPORTANT! To be able to proceed, you need to solve the following simple math (so we know that you are a human) :-)

What is 2 + 4 ?
Please leave these two fields as-is: