Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » Need Help with SWTBOT testing (want to automate application using SWTbot Need the help)
Need Help with SWTBOT testing [message #787911] Wed, 01 February 2012 05:27 Go to next message
prasanna pujar is currently offline prasanna pujarFriend
Messages: 4
Registered: February 2012
Junior Member
Hello

We are testing application that is been developed with SWT
i want to automate our testing with swtbot.

i have configured eclipse with swtbot can anybody help me
how can i start the automation ?

some examplecodes?
Any book regarding SWTbot?
limitation of Swtbot?

please help me

Eagerly waiting for your Replies

Thank you.

prasanna
Re: Need Help with SWTBOT testing [message #788702 is a reply to message #787911] Thu, 02 February 2012 05:09 Go to previous messageGo to next message
prasanna pujar is currently offline prasanna pujarFriend
Messages: 4
Registered: February 2012
Junior Member
PLEASE CAN SOMEBODY HELP ME IN THIS ??

PRASANNA
Re: Need Help with SWTBOT testing [message #788948 is a reply to message #787911] Thu, 02 February 2012 12:16 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 771
Registered: July 2009
Location: Grenoble, France
Senior Member
On 01/02/2012 06:27, prasanna pujar wrote:
> Hello
> We are testing application that is been developed with SWT i want to
> automate our testing with swtbot.
>
> i have configured eclipse with swtbot can anybody help me how can i
> start the automation ?

Did you have a look at the documentation? You can find it via Google or
main SWTBot website: http://wiki.eclipse.org/SWTBot/UserGuide

SWTBot is a simple API. Just create a class extending SWTBotTestCase,
look at the "bot" field. You can access most of SWTBot featres from here.

> some examplecodes?

One here:
https://github.com/eclipse/gmf-tooling/blob/master/tests/org.eclipse.gmf.tests/src/org/eclipse/gmf/tests/gen/swtbot/FigureGenerationTest.java
Some others linked from the wiki.
Lots of others on the web. Take a look at open-source products using
SWTBot (at least Petals Studio and BonitaSoft).

> Any book regarding SWTbot?

No

> limitation of Swtbot?

The same as any UI testing framework I guess: if you change your UI, you
have to change your tests. But it does not cost a lot of time to change
a test, a few minutes are often enough.

--
http://mickaelistria.wordpress.com
http://twitter.com/#!/mickaelistria
http://www.petalslink.com
Re: Need Help with SWTBOT testing [message #789561 is a reply to message #788948] Fri, 03 February 2012 05:46 Go to previous messageGo to next message
prasanna pujar is currently offline prasanna pujarFriend
Messages: 4
Registered: February 2012
Junior Member
Thank you Mickael Istria

i was about to quit my idea using Swtbot
this can help me

thank a ton

prasanna
Re: Need Help with SWTBOT testing [message #791920 is a reply to message #789561] Mon, 06 February 2012 12:24 Go to previous messageGo to next message
prasanna pujar is currently offline prasanna pujarFriend
Messages: 4
Registered: February 2012
Junior Member
How do i run the class ?
Re: Need Help with SWTBOT testing [message #814522 is a reply to message #787911] Tue, 06 March 2012 14:54 Go to previous message
Ketan Padegaonkar is currently offline Ketan PadegaonkarFriend
Messages: 873
Registered: July 2009
Senior Member
Prasanna,

There's an SWTBot cheat sheet[1] and a users guide[2] that should help
you get started.

[1] - http://swtbot.com/cheat-sheet/
[2] - http://swtbot.com/user-guide/

- Ketan

On 01/02/12 10:57 AM, prasanna pujar wrote:
> Hello
> We are testing application that is been developed with SWT i want to
> automate our testing with swtbot.
>
> i have configured eclipse with swtbot can anybody help me how can i
> start the automation ?
>
> some examplecodes?
> Any book regarding SWTbot? limitation of Swtbot?
> please help me
> Eagerly waiting for your Replies
> Thank you.
>
> prasanna
Previous Topic:Accessing the Problems View
Next Topic:SWTBot and JExample and Test Dependency
Goto Forum:
  


Current Time: Fri Dec 19 11:45:36 GMT 2014

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

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