Skip to main content



      Home
Home » Eclipse Projects » Eclipse 4 » Eclipse 4 user interface testing with SWTBot
Eclipse 4 user interface testing with SWTBot [message #986756] Wed, 21 November 2012 09:45 Go to next message
Eclipse UserFriend
Did someone already used SWTBot to test Eclipse 4 applications? Any special setup required or should it just work out of the box?
Re: Eclipse 4 user interface testing with SWTBot [message #987286 is a reply to message #986756] Sun, 25 November 2012 12:24 Go to previous messageGo to next message
Eclipse UserFriend
I remember Mickael Istria opened a thread about this and I was able to dig it up. Not sure if it is much of help.
http://www.eclipse.org/forums/index.php/mv/msg/368846/899578/#msg_899578
Re: Eclipse 4 user interface testing with SWTBot [message #987601 is a reply to message #987286] Tue, 27 November 2012 05:08 Go to previous messageGo to next message
Eclipse UserFriend
Thanks. I try to follow up on this with Mickael.
Re: Eclipse 4 user interface testing with SWTBot [message #987603 is a reply to message #987286] Tue, 27 November 2012 05:10 Go to previous messageGo to next message
Eclipse UserFriend
Thanks Sopot. Looks like SWTBot does currently not support Eclipse 4.

Bug 385527
Re: Eclipse 4 user interface testing with SWTBot [message #992459 is a reply to message #986756] Fri, 21 December 2012 12:30 Go to previous messageGo to next message
Eclipse UserFriend
Hi Lars, Sopot,

SWTBot works just fine on SWT 4.x. It's good enough with application
using the compatibility layer (we use it for future versions on JBoss
Tools, based on 4.2.x, and expeiment no issue).
A few corner cases are known but I don't consider them as blocking. They
have there bugzilla entries and won't be forgotten.

But I'm currently trying to work on the most critical one:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=391802
I can't have the test application to run the tests. Actually, I can't
have any pure E4 application to run any test, I don't think it's related
to SWTBot.

Is there something special to know to run automated tests in E4? I'm
wondering whether this is possible or not.

Cheers,
--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: Eclipse 4 user interface testing with SWTBot [message #994062 is a reply to message #992459] Wed, 26 December 2012 04:36 Go to previous messageGo to next message
Eclipse UserFriend
Addendum: I'm speaking here about PDE tests inside IDE. It seems like the "Junit Test Plugin" lauch configuration fails to run tests when the target application is based on the E4 application model.
See comments and example on https://bugs.eclipse.org/bugs/show_bug.cgi?id=391802

Did anyone successfully run a test case on an E4 application from PDE?
Re: Eclipse 4 user interface testing with SWTBot [message #996964 is a reply to message #986756] Thu, 03 January 2013 04:50 Go to previous messageGo to next message
Eclipse UserFriend
Using SWTBot to test an Eclipse 4 applications with PDE is blocked by
https://bugs.eclipse.org/bugs/show_bug.cgi?id=296599
--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: Eclipse 4 user interface testing with SWTBot [message #997087 is a reply to message #996964] Thu, 03 January 2013 10:20 Go to previous messageGo to next message
Eclipse UserFriend
On 01/03/2013 10:50 AM, Mickael Istria wrote:
> Using SWTBot to test an Eclipse 4 applications with PDE is blocked by
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=296599

Also FYI, I've successfully run a (dummy) SWTBot test against a (dummy)
Eclipse4-based application with Tycho.

So I think that SWTBot may have some minor troubles with Eclipse 4, but
it works the same way it works for Eclipse 3 applications.

I now think that the big issue to fix is 296599 in PDE.
--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: Eclipse 4 user interface testing with SWTBot [message #997094 is a reply to message #997087] Thu, 03 January 2013 10:49 Go to previous message
Eclipse UserFriend
@Mickael can you document, e.g. via a blog entry, how to run SWTBot against Eclipse4 with Tycho? Would be nice to know how to do this.
Previous Topic:How to set/modify the style of the application window
Next Topic:Injection of multiple service instances
Goto Forum:
  


Current Time: Wed Jul 23 08:43:15 EDT 2025

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

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

Back to the top