<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to feature-requests</title><link href="https://sourceforge.net/p/marathonman/feature-requests/" rel="alternate"/><link href="https://sourceforge.net/p/marathonman/feature-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/marathonman/feature-requests/</id><updated>2009-11-11T03:27:51Z</updated><subtitle>Recent changes to feature-requests</subtitle><entry><title>Allow setting timeout variable for WaitPropertyAction</title><link href="https://sourceforge.net/p/marathonman/feature-requests/38/" rel="alternate"/><published>2009-11-11T03:27:51Z</published><updated>2009-11-11T03:27:51Z</updated><author><name/><uri>https://sourceforge.net</uri></author><id>https://sourceforge.netd257c99f231a7c6a8055bce63df25cb119138365</id><summary type="html">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\(\);
			\}
		\}\);
	\}
</summary></entry><entry><title>Generate XML report in JUnit format</title><link href="https://sourceforge.net/p/marathonman/feature-requests/37/" rel="alternate"/><published>2009-05-08T14:20:53Z</published><updated>2009-05-08T14:20:53Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net6216c246f7a0e6ef84511f3f765fa126515e3825</id><summary type="html">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.</summary></entry><entry><title>multiple scripting language support</title><link href="https://sourceforge.net/p/marathonman/feature-requests/36/" rel="alternate"/><published>2008-07-29T16:04:42Z</published><updated>2008-07-29T16:04:42Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net9c6c93d89db3d4b86ae1ef6302b94610918feec8</id><summary type="html">It would be sweet if you could use groovy, jruby, jython, etc.


</summary></entry><entry><title>Default Test Case</title><link href="https://sourceforge.net/p/marathonman/feature-requests/35/" rel="alternate"/><published>2008-05-20T11:13:26Z</published><updated>2008-05-20T11:13:26Z</updated><author><name>Rob Davison</name><uri>https://sourceforge.net/u/rdavison/</uri></author><id>https://sourceforge.net94698d393e38d7cc78e87e10d5b70864ca7447ec</id><summary type="html">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. </summary></entry><entry><title>Select Send the Keyboard Event</title><link href="https://sourceforge.net/p/marathonman/feature-requests/34/" rel="alternate"/><published>2007-09-26T01:51:38Z</published><updated>2007-09-26T01:51:38Z</updated><author><name>palan mahesh</name><uri>https://sourceforge.net/u/palanmahesh/</uri></author><id>https://sourceforge.netcc748799b9fd53ba058b95f723859a54bf596614</id><summary type="html">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 

</summary></entry><entry><title>Error while running testcases</title><link href="https://sourceforge.net/p/marathonman/feature-requests/33/" rel="alternate"/><published>2007-09-26T01:49:13Z</published><updated>2007-09-26T01:49:13Z</updated><author><name>palan mahesh</name><uri>https://sourceforge.net/u/palanmahesh/</uri></author><id>https://sourceforge.netb52be71bfec5e53f1b8a765c8b9c96b5991784dd</id><summary type="html">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
</summary></entry><entry><title>Record and Close application button too much alike</title><link href="https://sourceforge.net/p/marathonman/feature-requests/32/" rel="alternate"/><published>2007-05-23T13:32:48Z</published><updated>2007-05-23T13:32:48Z</updated><author><name>David</name><uri>https://sourceforge.net/u/userid-1787225/</uri></author><id>https://sourceforge.net06fdece22f6f8280601be35f35becc0243f88875</id><summary type="html">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".</summary></entry><entry><title>View tabs and line breaks</title><link href="https://sourceforge.net/p/marathonman/feature-requests/31/" rel="alternate"/><published>2007-05-23T13:26:39Z</published><updated>2007-05-23T13:26:39Z</updated><author><name>David</name><uri>https://sourceforge.net/u/userid-1787225/</uri></author><id>https://sourceforge.netd26700618715d3e314d71de3593c1c4835b8a642</id><summary type="html">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.</summary></entry><entry><title>Clear Results and Output view</title><link href="https://sourceforge.net/p/marathonman/feature-requests/30/" rel="alternate"/><published>2007-05-23T13:22:45Z</published><updated>2007-05-23T13:22:45Z</updated><author><name>David</name><uri>https://sourceforge.net/u/userid-1787225/</uri></author><id>https://sourceforge.net033db09878f5ea8d838f1bdbba9130a26be4bf41</id><summary type="html">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.</summary></entry><entry><title>Should have method to return a list of open windows.</title><link href="https://sourceforge.net/p/marathonman/feature-requests/29/" rel="alternate"/><published>2007-04-04T20:10:25Z</published><updated>2007-04-04T20:10:25Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net0f05c65a4dea3cff3c64f65494d7fe0fb15b3c59</id><summary type="html">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"\]
</summary></entry></feed>