HomeHome
MarathonMarathon
MarathoniteMarathonite
CompanyCompany
ContactContact
WeblogWeblog
 

You are currently browsing the archives for the Marathon category.

CATEGORIES

BOOKMARKS

Using Marathon, checklists can be inserted while recording the testcases. While recording a “New Test Case”, checklist can be inserted so that it is prompted to accept when played back. While recording a “Exploratory Test Case”, checklist is added to make a note/comment about the status of the AUT (Application Under Test), this checklist is shown when the recorded test script is played.
Screenshots can also be added to the checklists. Required parts of the screenshots can be highlighted and a note for these highlighted parts can also be added if needed.


Read the rest of this entry »

Posted by Ganesh Posted in Marathon | No Comments »

Current version of Marathon does not support data driven testing. However a recorded test case can be changed to fetch the test data from a csv file and run the test multiple times. The “csv” module available in Jython-2.5 is needed to fetch the data. As Marathon is presently bundled with Jython-2.2, it is required to update Jython to version 2.5 to use csv reader. Jython-2.5 can be downloaded from Jython website.

Read the rest of this entry »

Posted by Sampath Posted in Marathon | No Comments »

They say a picture is worth 1000 words. What about a moving picture?

We are planning to post screencasts that demonstrate various aspects of Marathon. As part of the series, the first screencast is up on YouTube.

Creating A Project

This screencast walks you through creating a Marathon project.

We hope you enjoy it. You can discuss the screencast on marathon-testing group.

Posted by KD Posted in Marathon, screencast | 6 Comments »

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 »

Marathon and JavaFX

January 5th, 2009

This came somewhat as an anti-climax.

Suitably impressed (and also inspired) by Using FEST-Swing to discover (via testing) what’s under the hood of JavaFX - I decided to give JavaFX a try with Marathon. This is the way I went about it:


Read the rest of this entry »

Posted by KD Posted in Marathon | No Comments »