e4 on JavaFX and JemmyFX


Upon request on the e(fx)clipse forum I’ve invested time for upcoming e(fx)clipse release to allow JUnit-Testing e4 JavaFX applications using Jemmy and JemmyFX.

The thing that took most of my time was to understand how Jemmy works and can be started in an OSGi-Env (on MacOS-X it is even harder because there the Jemmy-Robot is executed in a Sub-Process) but I’ve managed to get everything up and running.

After having managed to get everything up and running I’ve spend yesterdays night to add a tooling wizards to bootstrap a Jemmy Test Suite and today I recorded a video

Next on my Jemmy list is to provide a Classpath-Library so that none e4, none OSGi-User can write Jemmy-Tests for their applications as easy as those OSGi lunatics can do with the next nightly build.

Once this is done – I should maybe take a look at http://jnario.org/ and if it make writing JUnit-Tests for FX application easier. So many things to explore and work on ;-)

About these ads

7 Responses to “e4 on JavaFX and JemmyFX”

  1. Alexandre (Shura) Iline Reply September 14, 2012 at 6:14 am

    Good stuff.

    FYI, there is Any() lookup criteria which returns true

  2. Hi, I tried your tutorial but i’ve problems.
    For the first example I haven’t the option “javaFX Eclipse 4 Application” on my wizard;
    for the second, in my jemmy project i haven’t the Plug-in dependecies in the classpath and my example doesn’t work.
    1. Do you know some solutions?
    2. It’s possible to make an OSGi project with JavaFX using Apache Felix?

    I work with ubuntu 12.04, Eclipse 4.2, e(fx)clipse 0.1.1, JDK7u7

    Thanks very much.

  3. I am facing issues while installing JemmyFx on linux and windows environments..i tried so many times to install but every time its showing the below mentioned error..could any one please help on this ..
    “BUILD FAILED
    /home/sravan/Downloads/tests-d6cb0fee1422/tools/Jemmy/JemmyFXBrowser/nbproject/build-impl.xml:922: The following error occurred while executing this line:
    /home/sravan/Downloads/tests-d6cb0fee1422/tools/Jemmy/JemmyFXBrowser/nbproject/build-impl.xml:307: Compile failed; see the compiler error output for details.

Trackbacks/Pingbacks

  1. e(fx)clipse 0.1.1 released | Tomsondev Blog - September 27, 2012

    [...] I’ve blogged in more detail about the support in this post. [...]

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

Join 676 other followers

%d bloggers like this: