HomeHome
MarathonMarathon
MarathoniteMarathonite
CompanyCompany
ContactContact
WeblogWeblog
 

All things Marathon, Marathonite, Java and GUI Test automation, scripting and whatever is useful for test automation projects.

CATEGORIES

BOOKMARKS

Marathon 2.0b4 Release

January 7th, 2009

At last, Marathon 2.0b4 is released today. There are extensive changes in this release. The ChangeLog is quite long - you can find it at sourceforge.

Now Marathon supports some additional features:

  1. You can create semi automatic test cases, by inserting checklists into the test scripts.
  2. There is an exploratory test mode. This mode is similar to recording, except that you can insert and fill the checklists at the same time.
  3. New assertion window. When the mouse/key trigger is pressed, the component is highlighted. While the window is open, you can click on different components and insert assertions.
  4. While we are at the assertion window, you can also insert a wait. The wait_p works just like assert_p, but waits for the value of the property to change to the expected value. This should make usage of sleep pretty rare indeed.

But the major changes are actually internal.

  1. Using dispatch thread to invoke the operations on components.
  2. Dependence on jaccess has been reduced. In a later version, I hope to remove the total dependency.
  3. Marathon doesn’t override the EventQueue any more. We use AWTEventListener to listen to mouse/keyboard triggers.

The bundled versions of JRuby and Jython are 1.5 and 2.2.1 respectively. If you want to use a different version, you can set the home directory in the project settings.

The command line invocation format changed. I hope the new one is simpler and straight forward. Use marathon -help to look at the options.

Thanks Santhosh for patiently testing this version over the last two weeks. He has been using jgnash as the test application.

Lastly, the users guide has been updated, though not as extensively as I hoped. Still, tomorrow is always there for the updates.

Post your feedback to marathontesting google group.

Posted by KD Posted in JRuby, Jython, Marathon

6 comments so far

  1. Chris

    2.0b4 is missing the Jython 2.5 bundle

  2. Chris

    I know this is stated in your announcement, but I’m wondering why you included Jython2.5 in b3 but not in b4

  3. Robert

    Hi MarathonTeam,

    any progress in Marathon or Marathonite?
    Would like to hear, that it’s still developed. If not, why?

    kind
    regards
    Robert

  4. Varaprasad

    Hi,

    Is there a way using the tool, I can import data from an excel sheet and pass them on as parameters to my recorded test scripts?.

    thanks,
    Varaprasad

  5. Jeff Brown

    Just installed 2.0b4 to a Ubuntu 9.10 64 bit box and src/net/sourceforge/util/OSUtils seems to be missing. I receive the following error message when I try to run marathon:

    ./marathon
    Exception in thread “main” java.lang.NoClassDefFoundError: net/sourceforge/marathon/util/OSUtils
    at net.sourceforge.marathon.Main.main(Main.java:62)
    Caused by: java.lang.ClassNotFoundException: net.sourceforge.marathon.util.OSUtils
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)

    ran down the directory structure and here is the ls output:

    jeff@jeff-tpad:/data2/apps/marathon/marathon-2.0b4/marathon-core/src/net/sourceforge/marathon/util$ ls
    BitBucket.java FilePatternMatcher.java osx
    BrowserLauncher.java junit StreamPumper.java
    docking ObjectComparator.java
    jeff@jeff-tpad:/data2/apps/marathon/marathon-2.0b4/marathon-core/src/net/sourceforge/marathon/util$

    Any ideas?

  6. KD

    @Jeff: I suspect you downloaded the source distribution. Can you download marathon-full and try it out?

Leave a Reply