<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to feature-requests</title><link>https://sourceforge.net/p/marathonman/feature-requests/</link><description>Recent changes to feature-requests</description><atom:link href="https://sourceforge.net/p/marathonman/feature-requests/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 11 Nov 2009 03:27:51 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/marathonman/feature-requests/feed.rss" rel="self" type="application/rss+xml"/><item><title>Allow setting timeout variable for WaitPropertyAction</title><link>https://sourceforge.net/p/marathonman/feature-requests/38/</link><description>Reference  marathon-runtime, net.sourceforge.marathon.action.WaitPropertyAction\#play \(WaitPropertAction.java:48\)

new Retry\("Wait for change in property timed out", 500, 120, new Attempt\(\) \{...\}\)

Here the values for \`sleepIntervalMs\` and \`retryCount\` have been harcoded as  500 and 120 respectively. This means that the wait\_p script element will always wait for a up to a maximum of 1 minute \(500ms \* 120 = 60s\).

I wish to request a feature where these values are the default, but the user is given the opportunity to configure these values in the .project file, for example, the same way that \`marathon.application.launchtime\` is configurable in the .project file.

E.g. in the .project file:
marathon.wait.timeout=120000

In the WaitPropertyAction\#play:
timeout = read \`marathon.wait.timeout\` from .project file
sleepIntervalMs = timeout / 500
instantiate new Retry using this value of sleepIntervalMs


\-----
Code listing of the method in question:
	public void play\(final ComponentFinder resolver\) \{
		new Retry\("Wait for change in property timed out", 500, 120, new Attempt\(\) \{
			public void perform\(\) \{
				if \(\!isValueEqual\(resolver\)\)
					retry\(\);
			\}
		\}\);
	\}
</description><pubDate>Wed, 11 Nov 2009 03:27:51 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd257c99f231a7c6a8055bce63df25cb119138365</guid></item><item><title>Generate XML report in JUnit format</title><link>https://sourceforge.net/p/marathonman/feature-requests/37/</link><description>I think it will be very useful to have the generated XML report of Marathon in the format accepted by JUnit.
This way we can easily integrate Marathon with existing continuous integration tools \(Hudson, Cruise Control, etc.\) and other tools that understand JUnit XML format.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 08 May 2009 14:20:53 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net6216c246f7a0e6ef84511f3f765fa126515e3825</guid></item><item><title>multiple scripting language support</title><link>https://sourceforge.net/p/marathonman/feature-requests/36/</link><description>It would be sweet if you could use groovy, jruby, jython, etc.


</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Tue, 29 Jul 2008 16:04:42 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net9c6c93d89db3d4b86ae1ef6302b94610918feec8</guid></item><item><title>Default Test Case</title><link>https://sourceforge.net/p/marathonman/feature-requests/35/</link><description>Thanks for a great bit of software\!

You mention in this thread that it is not possible to change the default test case script:
http://sourceforge.net/forum/message.php?msg\_id=4422591

I think it would be really useful to be able to edit a skeleton file. A basic scenario would be where you always want to run a set of functions at the start \(e.g. to log in\). This would save a lot of time copy/pasting. </description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Rob Davison</dc:creator><pubDate>Tue, 20 May 2008 11:13:26 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net94698d393e38d7cc78e87e10d5b70864ca7447ec</guid></item><item><title>Select Send the Keyboard Event</title><link>https://sourceforge.net/p/marathonman/feature-requests/34/</link><description>Hello ,We have an application that respond to mouse click on textbox and it open a new window ..

When i record the application i do not want to mouse click on it ...

Meaning the marathon code generated is as follow 


select\('textfield', '100'\)

Now when this code is executed somehow some key is send to application and it opens a new windows ..

How can i prevent marathon from sending click events when i select the text 

</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">palan mahesh</dc:creator><pubDate>Wed, 26 Sep 2007 01:51:38 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netcc748799b9fd53ba058b95f723859a54bf596614</guid></item><item><title>Error while running testcases</title><link>https://sourceforge.net/p/marathonman/feature-requests/33/</link><description>File "C:\tools\marathon\src\marathon-1.0.4\target\classes\libpy\marathon\playback.py", line 95, in select
java.lang.Error: clicking and then hitting +A  should select everything

	at net.sourceforge.marathon.component.MTextComponent.selectAllText\(MTextComponent.java:85\)

	at net.sourceforge.marathon.component.MTextComponent.setText\(MTextComponent.java:51\)

	at net.sourceforge.marathon.component.MTextComponent.setText\(MTextComponent.java:45\)

	at net.sourceforge.marathon.action.Select.play\(Select.java:44\)

	at net.sourceforge.marathon.action.AbstractMarathonAction.playProtected\(AbstractMarathonAction.java:111\)

	at net.sourceforge.marathon.player.Marathon.play\(Marathon.java:76\)

	at net.sourceforge.marathon.player.Marathon.select\(Marathon.java:157\)

	at sun.reflect.NativeMethodAccessorImpl.invoke0\(Native Method\)

	at sun.reflect.NativeMethodAccessorImpl.invoke\(NativeMethodAccessorImpl.java:39\)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke\(DelegatingMethodAccessorImpl.java:25\)

	at java.lang.reflect.Method.invoke\(Method.java:585\)

	at org.python.core.PyReflectedFunction.\_\_call\_\_\(PyReflectedFunction.java\)

	at org.python.core.PyMethod.\_\_call\_\_\(PyMethod.java\)

	at org.python.core.PyObject.\_\_call\_\_\(PyObject.java\)

	at org.python.core.PyInstance.invoke\(PyInstance.java\)

	at marathon.playback$py.select$14\(C:\tools\marathon\src\marathon-1.0.4\target\classes\libpy\marathon\playback.py:95\)

	at marathon.playback$py.call\_function\(C:\tools\marathon\src\marathon-1.0.4\target\classes\libpy\marathon\playback.py\)

	at org.python.core.PyTableCode.call\(PyTableCode.java\)

	at org.python.core.PyTableCode.call\(PyTableCode.java\)

	at org.python.core.PyTableCode.call\(PyTableCode.java\)

	at org.python.core.PyFunction.\_\_call\_\_\(PyFunction.java\)

	at org.python.pycode.\_pyx68.test$1\(Untitled:16\)

	at org.python.pycode.\_pyx68.call\_function\(Untitled\)

	at org.python.core.PyTableCode.call\(PyTableCode.java\)

	at org.python.core.PyTableCode.call\(PyTableCode.java\)

	at org.python.core.PyFunction.\_\_call\_\_\(PyFunction.java\)

	at sun.reflect.NativeMethodAccessorImpl.invoke0\(Native Method\)

	at sun.reflect.NativeMethodAccessorImpl.invoke\(NativeMethodAccessorImpl.java:39\)

	at sun.reflect.DelegatingMethodAccessorImpl.invoke\(DelegatingMethodAccessorImpl.java:25\)

	at java.lang.reflect.Method.invoke\(Method.java:585\)

	at org.python.core.PyReflectedFunction.\_\_call\_\_\(PyReflectedFunction.java\)

	at org.python.core.PyMethod.\_\_call\_\_\(PyMethod.java\)

	at org.python.core.PyObject.\_callextra\(PyObject.java\)

	at marathon.results$py.callprotected$3\(C:\tools\marathon\src\marathon-1.0.4\target\classes\libpy\marathon\results.py:14\)

	at marathon.results$py.call\_function\(C:\tools\marathon\src\marathon-1.0.4\target\classes\libpy\marathon\results.py\)

	at org.python.core.PyTableCode.call\(PyTableCode.java\)

	at org.python.core.PyTableCode.call\(PyTableCode.java\)

	at org.python.core.PyTableCode.call\(PyTableCode.java\)

	at org.python.core.PyFunction.\_\_call\_\_\(PyFunction.java\)

	at org.python.core.PyInstance.invoke\(PyInstance.java\)

	at marathon.playback$py.execTest$3\(C:\tools\marathon\src\marathon-1.0.4\target\classes\libpy\marathon\playback.py:25\)

	at marathon.playback$py.call\_function\(C:\tools\marathon\src\marathon-1.0.4\target\classes\libpy\marathon\playback.py\)

	at org.python.core.PyTableCode.call\(PyTableCode.java\)

	at org.python.core.PyTableCode.call\(PyTableCode.java\)

	at org.python.core.PyTableCode.call\(PyTableCode.java\)

	at org.python.core.PyFunction.\_\_call\_\_\(PyFunction.java\)

	at org.python.core.PyMethod.\_\_call\_\_\(PyMethod.java\)

	at org.python.core.PyObject.\_\_call\_\_\(PyObject.java\)

	at net.sourceforge.marathon.runtime.python.PythonScript$FixtureRunner.run\(PythonScript.java:91\)

	at net.sourceforge.marathon.runtime.python.PythonPlayer.run\(PythonPlayer.java:73\)

	at java.lang.Thread.run\(Thread.java:595\)


java.lang.Error: java.lang.Error: clicking and then hitting +A  should select everything
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">palan mahesh</dc:creator><pubDate>Wed, 26 Sep 2007 01:49:13 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netb52be71bfec5e53f1b8a765c8b9c96b5991784dd</guid></item><item><title>Record and Close application button too much alike</title><link>https://sourceforge.net/p/marathonman/feature-requests/32/</link><description>I have noticed when coaching testers using Marathon that the "Record" button and "Close Application" button are subjects to misunderstanding.

I would suggest a different button for "Close Application".</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David</dc:creator><pubDate>Wed, 23 May 2007 13:32:48 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net06fdece22f6f8280601be35f35becc0243f88875</guid></item><item><title>View tabs and line breaks</title><link>https://sourceforge.net/p/marathonman/feature-requests/31/</link><description>The scripting language is sensitive to wrong indentations and space characters. A feature that displays all tabs, line breaks and similar "characters" in the editor would make test case debugging easier.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David</dc:creator><pubDate>Wed, 23 May 2007 13:26:39 -0000</pubDate><guid isPermaLink="false">https://sourceforge.netd26700618715d3e314d71de3593c1c4835b8a642</guid></item><item><title>Clear Results and Output view</title><link>https://sourceforge.net/p/marathonman/feature-requests/30/</link><description>The Results and Output window displays error messages etc. There would be great if it will be possible to clear \(manually or automaticly\) these views before running new tests.

I have noticed that several testers think that an "old" error message \(exceptions etc.\) is related to the current running tests, and does not take notice of the system message "Playing" that indicates that the test case is running.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">David</dc:creator><pubDate>Wed, 23 May 2007 13:22:45 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net033db09878f5ea8d838f1bdbba9130a26be4bf41</guid></item><item><title>Should have method to return a list of open windows.</title><link>https://sourceforge.net/p/marathonman/feature-requests/29/</link><description>It would be nice to have a method to return a list of open windows.

For example, if you use window\(\) to attempt to get a window that is not open, it will throw a WindowNotFoundException with a list of open windows in the error message.  Getting this list through a test case is not current possible, but would be nice to have.


For example, you have your program open with the following windows:
Main Window
Window A
Window B

you could make a call like getOpenWindows\(\) and that would return \["Main Window", "Window A", "Window B"\]
</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Wed, 04 Apr 2007 20:10:25 -0000</pubDate><guid isPermaLink="false">https://sourceforge.net0f05c65a4dea3cff3c64f65494d7fe0fb15b3c59</guid></item></channel></rss>