Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » How to test SWT application with Jubula(How to test a standalone SWT application with Jubula)
How to test SWT application with Jubula [message #1698713] Wed, 17 June 2015 11:59 Go to next message
Lakshmi P ShanmugamFriend
Messages: 279
Registered: July 2009
Location: India
Senior Member
I'm trying to use Jubula to test a standalone SWT application.
Is there any documentation/tutorial to get started with this?
My application runs on Windows, Linux and Mac. Does Jubula support testing SWT on all the 3 platforms?

Thanks in advance for any help!


Lakshmi P Shanmugam
Re: How to test SWT application with Jubula [message #1698727 is a reply to message #1698713] Wed, 17 June 2015 13:07 Go to previous messageGo to next message
Oliver Goetz is currently offline Oliver GoetzFriend
Messages: 219
Registered: May 2011
Senior Member
Hi,

testing a SWT application is the same as testing any other supported toolkit.
To get things started you should perform the Cheat Sheets which you can find in Jubula´s menu bar Help/Cheat Sheets.
For further information you can checkout the Jubula User Manual and the Jubula Reference Manual.
If you need professional support, a Jubula course etc. you can contact us via the BREDEX testing resources portal.
Regards
Oliver
Re: How to test SWT application with Jubula [message #1698756 is a reply to message #1698727] Wed, 17 June 2015 15:57 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
And, before you start, you should check whether it really is SWT or whether it is an Eclipse RCP application. If so, then you'll need to set the toolkit to "rcp" in the project properties.

Hope that helps!
Alex
Re: How to test SWT application with Jubula [message #1699074 is a reply to message #1698713] Sat, 20 June 2015 10:59 Go to previous message
Achim Loerke is currently offline Achim LoerkeFriend
Messages: 376
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

SWT test on Mac is not supported due to the infamous "Start on first thread" problem. Since Jubula attaches a Java agent the first thread is used up and SWT won't run (Okay, this is a simplification, but the real issues are too complicated to explain here).

RCP uses a different approach and tests will run like on all the other supported platforms.

- Achim

[Updated on: Sat, 20 June 2015 11:00]

Report message to a moderator

Previous Topic:Testexec cannot run AUT with relative path
Next Topic:Sample Java FX project on Jenkins
Goto Forum:
  


Current Time: Fri Apr 26 02:53:14 GMT 2024

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

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

Back to the top