You are currently browsing the Marathon - Java GUI Testing blog archives.
CATEGORIES
BOOKMARKS
June 18th, 2010
It is couple of months since Sampath and Ganesh came on board. Expect some posts from both of them soon. With this additon, we expect more activity on both this blog and the groups.
Posted by KD Posted in jalian | 7 Comments »
Marathon Screencast - Creating a Project
January 9th, 2009
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.
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 »
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:
But the major changes are actually internal.
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 »
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:
Posted by KD Posted in Marathon | No Comments »
JRuby: Passing array of array of string to java
December 31st, 2008
Working on assert_content implementation for JRuby. And straight-away headed into a road block. The call to assert_content looks like this:
assert_content('component', [['R1C1', 'R1C2', 'R1C3'], ['R2C1', 'R2C2', 'R2C3']])
This function from ruby should call a java function:
assertContent(String componentName, String[][] content);
Now it is easy enough in JRuby to convert an array of strings to java array of strings:
['hello'].to_java :String #=> String[]
But converting a array of array of strings is not that straight forward. After a bit of hacking, I found this way.
[['r1c1', 'r1c2'], ['r2c1', 'r2c2']].to_java([].to_java(:String).class) #=> String[][]
Is there any better way of doing this?
Posted by KD Posted in JRuby, Marathon | 4 Comments »
(C) Jalian Systems 2008 | contact