| Problem by extending an existing TesterClass [message #1105233] |
Mon, 09 September 2013 10:52  |
Philipp Wueller Messages: 12 Registered: July 2013 |
Junior Member |
|
|
Hello everybody,
i want to extend an existing Testerclass about a new method. I can select the method for my component in Jubula but during the textexecution i get the following error Message:
AUT:16:36:06.974 [Connection.ReaderThread:Socket[addr=ZEB-NB13-0140.zeb.de/10.1.112.130,port=53337,localport=53354]] ERROR o.e.j.r.c.c.AbstractCapTestCommand - implementa
tion class method not found
AUT:java.lang.NoSuchMethodException: No such accessible method: clickInHeaderAtColumn() on object: org.eclipse.jubula.rc.swt.tester.TreeTester
AUT: at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:214) ~[org.apache.commons.beanutils.jar:na]
AUT: at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:162) ~[org.apache.commons.beanutils.jar:na]
AUT: at org.eclipse.jubula.rc.common.commands.MethodInvoker.invoke(MethodInvoker.java:64) ~[org.eclipse.jubula.rc.common.jar:na]
AUT: at org.eclipse.jubula.rc.common.commands.AbstractCapTestCommand.execute(AbstractCapTestCommand.java:232) ~[org.eclipse.jubula.rc.common.jar:na]
AUT: at org.eclipse.jubula.communication.Communicator$ConnectionListener.received(Communicator.java:844) [org.eclipse.jubula.communication.jar:na]
AUT: at org.eclipse.jubula.communication.connection.Connection.fireMessageReceived(Connection.java:401) [org.eclipse.jubula.communication.jar:na]
AUT: at org.eclipse.jubula.communication.connection.Connection.access$3(Connection.java:390) [org.eclipse.jubula.communication.jar:na]
AUT: at org.eclipse.jubula.communication.connection.Connection$ReaderThread.run(Connection.java:453) [org.eclipse.jubula.communication.jar:na]
My ComponentConfiguration.xml looks like this:
<toolkitComponent type="org.eclipse.swt.widgets.TreeHeader" visible="false">
<extends>org.eclipse.swt.widgets.Tree</extends>
<testerClass>org.eclipse.jubula.rc.swt.tester.TreeHeaderTester</testerClass>
<action name="Tree.ClickInHeaderAtColumn">
<method>clickInHeaderAtColumn</method>
<param name="Tree.ColumnID">
<type>java.lang.Integer</type>
</param>
</action>
</toolkitComponent>
My class TreeHeaderTester implements the method clickInHeaderAtColumn, but Jubula wants to call this method from the class TreeTester. I think my problem is the ComponentConfiguration.xml?!
Can you help me?
Best regards,
Philipp Wueller
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.07589 seconds