Marathon and MarathonITE 4.2.1.0 available now

381 views
Skip to first unread message

Dakshinamurthy Karra

unread,
Jun 30, 2016, 2:45:45 AM6/30/16
to marathon...@googlegroups.com
Greetings.

It gives us pleasure to announce the availability of Version 4.2.1.0 of Marathon and MarathonITE.

As usual, you can find Marathon downloads at the sourceforge project page (http://sourceforge.net/projects/marathonman). 

MarathonITE is available from http://marathontesting.com. You can download an evaluation copy from the website.

Source code for Marathon is uploaded and available on GitHub

ChangeLog:

Marathon Version 4.2.1.0 (June 30 2016)


1. Fixed: execute_script printing the output instead of returning.

2. Chore: get_title returns nil if there is no focused window.


Marathon Version 4.2.0.0 (Apr 11 2016)


1. Single application to support both Java/Swing and Java/FX.

2. Added execute_script method.

   execute_script takes a list of strings and executes the command

   on the VM executing the AUT.

3. Added example Marathon projects.

   For Swing we use SwingSet3 and FX we use Ensemble.

4. Updated getTitle() to return the currently focused window title.

5. Support for reloading ruby if a module changes

   When a module or a fixture file changes, Ruby interpreter is reloaded

   so that the changes are visible.

5. Error message for non-editable tree nodes.

   When a select() is called on a non-editable tree node, a proper error

   message is shown.

6. Added select-by-properties to JTabbedPane.

   With this you can get a tab using get_component(<tabbedpane>, <tabname>)

7. Using sendKeys() on text#select call.

8. Ctrl+C is being sent as Ctrl+Shift+C

9. Show relative file name in window title.

10. Expand treepath for selected node.

    When a treenode is selected, we expand the node also.

11. Send keytyped events for SPACE/ENTER

12. Using differnt D&D Copy key on windows.

13. Using UTF8 for compiling Java sources.

14. execute_script - toString() on return value

    driver.execute_script was returning null when the return value is not one of

    the known data types. We do a Object#toString() on it now.

15. Selecting first row in tableView. (FX)

    We were using selectIndices() which considers 0 as invalid value.

16. fix: Using UTF8 for compiling Java sources.

    Some of the test helper methods use UTF8 characters and do not compile

    when the encoding is not set.


Thanks and Regards
KD

--
Dakshinamurthy Karra
CEO & Managing Director
Jalian Systems Pvt. Ltd.
1st Floor, #457, 3rd Cross
5th Main, 5th Block
H.B.R Layout
Bangalore - 560043
INDIA

kumaram...@gmail.com

unread,
Nov 25, 2016, 5:26:42 AM11/25/16
to Marathon Java GUI Testing
Hi KD,

Thanks a lot for posting the new release..

I am using Maven with Eclipse.. Can you please advise which Dependency i have to add up for Marathon Java Agent and Marathon Java Driver in the pom.xml.

I tried to find it but no luck..

Any inputs will be really appreciated.

Thanks
Amit

Dakshinamurthy Karra

unread,
Nov 25, 2016, 5:28:50 AM11/25/16
to marathon...@googlegroups.com
Marathon drivers are not uploaded to maven.org. So you can't just add dependencies.

You can download marathon, and all requisite driver JARs from the installation to your eclipse project.

-- KD


-- KD

--
Dakshinamurthy Karra
CEO & Managing Director
Jalian Systems Pvt. Ltd.
1st Floor, #457, 3rd Cross
5th Main, 5th Block
H.B.R Layout
Bangalore - 560043
INDIA

--
Looking for professional help with your Marathon projects?
Go visit: http://marathontesting.com
---
You received this message because you are subscribed to the Google Groups "Marathon Java GUI Testing" group.
To unsubscribe from this group and stop receiving emails from it, send an email to marathon-testing+unsubscribe@googlegroups.com.
To post to this group, send email to marathon-testing@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

kumaram...@gmail.com

unread,
Nov 29, 2016, 5:16:40 PM11/29/16
to Marathon Java GUI Testing
Thanks a lot KD.

Really appreciated. I did the same..

Cheers
Amit
To unsubscribe from this group and stop receiving emails from it, send an email to marathon-testi...@googlegroups.com.
To post to this group, send email to marathon...@googlegroups.com.

kumaram...@gmail.com

unread,
Nov 29, 2016, 6:50:15 PM11/29/16
to Marathon Java GUI Testing
Hi KD,

I have got another question..

I am testing application written in Swing by using Marathon and Selenium WebDriver. For one of the scenario the application displays a Jlist component. I am able to get the component by using the name/tagname (as list) but how i can select a specific value.. for example in my list box it has 3 entries and i want to select the 2 entry..

Looks like i am doing something wrong.. can you please point me to right direction on how to resolve this..

Thanks
Amit

kumaram...@gmail.com

unread,
Nov 30, 2016, 10:05:31 AM11/30/16
to Marathon Java GUI Testing
Hi KD,

Please discard my below question..

Got to know from my developers that at the top level they have got JList component, followed by JPanel and followed by Jtable.

When i use Marathon it only provide me the very top level component (which is Jlist) but doesn't display any information related to JPanel and Jtable.

Is their a way by which i can access these component by using driver..

Thanks
Amit

Dakshinamurthy Karra

unread,
Nov 30, 2016, 10:28:37 AM11/30/16
to marathon...@googlegroups.com
The simplest thing may be to just do a driver.find_elements(:css, 'table')

Which should return the table component.

-- KD


-- KD

--
Dakshinamurthy Karra
CEO & Managing Director
Jalian Systems Pvt. Ltd.
1st Floor, #457, 3rd Cross
5th Main, 5th Block
H.B.R Layout
Bangalore - 560043
INDIA


To unsubscribe from this group and stop receiving emails from it, send an email to marathon-testing+unsubscribe@googlegroups.com.
To post to this group, send email to marathon-testing@googlegroups.com.

kumaram...@gmail.com

unread,
Nov 30, 2016, 11:07:59 AM11/30/16
to Marathon Java GUI Testing
Thanks  a lot KD.

But i can't see find_elements() by using driver . As of now i have imported 

import net.sourceforge.marathon.javadriver.JavaDriver;
import net.sourceforge.marathon.javadriver.JavaProfile;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;

Do i need to import anything extra to get hold of this method..

Thanks
Amit

Dakshinamurthy Karra

unread,
Nov 30, 2016, 11:35:55 AM11/30/16
to marathon...@googlegroups.com
If you have sources have a look at the JavaDriverTest.

-- KD


-- KD

--
Dakshinamurthy Karra
CEO & Managing Director
Jalian Systems Pvt. Ltd.
1st Floor, #457, 3rd Cross
5th Main, 5th Block
H.B.R Layout
Bangalore - 560043
INDIA


To unsubscribe from this group and stop receiving emails from it, send an email to marathon-testing+unsubscribe@googlegroups.com.
To post to this group, send email to marathon-testing@googlegroups.com.

kumaram...@gmail.com

unread,
Nov 30, 2016, 12:26:31 PM11/30/16
to Marathon Java GUI Testing
Sorry KD.. didn't get what you meant by 'If you have sources'..

Thanks
Amit

Dakshinamurthy Karra

unread,
Nov 30, 2016, 11:59:10 PM11/30/16
to marathon...@googlegroups.com

-- KD

--
Dakshinamurthy Karra
CEO & Managing Director
Jalian Systems Pvt. Ltd.
1st Floor, #457, 3rd Cross
5th Main, 5th Block
H.B.R Layout
Bangalore - 560043
INDIA


To unsubscribe from this group and stop receiving emails from it, send an email to marathon-testing+unsubscribe@googlegroups.com.
To post to this group, send email to marathon-testing@googlegroups.com.

kumaram...@gmail.com

unread,
Dec 1, 2016, 5:48:01 AM12/1/16
to Marathon Java GUI Testing
Thanks a lot KD.

Cheers
Amit
Reply all
Reply to author
Forward
0 new messages