-
Attached is a patch for net.sourceforge.marathon.component.MTableCell
Fixes:
1) Some method promoted from private to protected where they would be useful to those extending this class
2) Fix for java.lang.NoSuchMethodException thrown by MTableCell#tryGettingItFromTable()
2009-11-19 06:02:27 UTC by bguiz
-
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...
2009-11-11 03:27:51 UTC by bguiz
-
This patch will fix the above issue, tested & verified:
Remove net.sourceforge.marathon.component.MTable, line 197:
eventQueueRunner.invoke(getTableComponent(), "", new Object[] { new Integer(i) }, new Class[] { Integer.TYPE });
Replace with:
eventQueueRunner.invoke(getTableComponent(), "getColumnName", new Object[] { new Integer(i) }, new Class[] { Integer.TYPE });.
2009-11-02 04:59:53 UTC by bguiz
-
MTableCell is throwing java.lang.NoSuchMethodExceptions
I have locaed the source of this, it is in marathon-runtime, net.sourceforge.marathon.component.MTableCell#tryGettingItFromTable:
private int tryGettingItFromTable() {
int columnCount = eventQueueRunner.invokeInteger(getTableComponent(), "getColumnCount");
for (int i = 0; i < columnCount; i++) {
String name = (String...
2009-10-30 04:38:35 UTC by nobody
-
Me too! I have had to create an XSLT that is able to convert Marathopn's output such that it can be dispalyed meanigfully in Cruise Control.
2009-10-30 04:30:22 UTC by nobody
-
Is it possible to execute marathon recorded test cases from command line?
As marathon test cases are python scripts, I should be able to run them from command line using jython/python. But....., when I try to run any test case by typing following comand :
jython -v testcase.py
it starts importing all the dependencies and stops abruptly after printing "import ' Marathon' as java...
2009-10-09 11:37:26 UTC by lovelesh
-
Hi all
I am using Marathon 2.0 2.0b4 for recording test for swing application. In my application we have extented Swing Table
while recording I am getting runtime exeption:
java.lang.NoSuchMethodException: com.XXXinc.XXXclient.swing.XXXTable.(int)
java.lang.RuntimeException: java.lang.NoSuchMethodException: xxx.xxx.xxx.swing.xxxTable.(int)
at...
2009-06-30 13:23:17 UTC by nitipatil