[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[jubula-rc-dev] Ask about Operation not supported by the selected toolkit. when using testexec to test RCP AUT that be implemented extension
|
Hi Jubula team,
As I shown in http://www.eclipse.org/forums/index.php/m/1067325/.
I need to test a tree table and action Select Entry by Textpath(Specify Column) couldn't suitable for me. This test's mouse-clicking is at midle of column but I need it click entry exactly with at top left position of entry. I read the solution by link https://bugs.eclipse.org/bugs/show_bug.cgi?id=372349 and I'm using jubula_2.0.00148. Therefore, I implemented extension(attachment files) follow extending document and referenced some tutorials to resolve this problem.
After I completed extension and install them, I start RCP AUT but in Installation Details>Plugins just installed like image InstallationDetails_notRename.png
I tried rename extension.jar into extension.jar.bak. Fortunately, they installed like image InstallationDetails_renamed.png
I use ITE to run test with action Select Entry by Textpath(Specify Column) and all things were successfully. After that I created and ran by Hudson job(use testexec by ant script) but unfortunately the results didn't like my desires. And here is the error details:
Timestamp : Wed Jul 03 10:08:12 ICT 2013
Component Name : cmsTree
Component Type : Custom Tree Table
Action : Select Entry by Textpath (Specify Column) at top left
Path Type [String] : absolute
Pre-ascend [Integer] : 0
Textpath [String] : cms/system/validation/mandatoryerrormessage
Operator [String] : equals
Number of Clicks [Integer] : 1
Column [Integer] : 1
Mouse Button [Integer] : 1
Error Details
Error Type : Action Error
description : Operation not supported by the selected toolkit.
The output of server agent:
AUT:10:08:12.447 [Connection.ReaderThread:Socket[addr=AAVN-WS-192.aavn.local/192
.168.72.72,port=51174,localport=51199]] ERROR o.e.j.r.c.c.AbstractCapTestCommand
- implementation class method not found
AUT:java.lang.NoSuchMethodException: No such accessible method: rcSelectEx() on
object: org.eclipse.jubula.rc.swt.tester.TreeTester
AUT: at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav
a:214) ~[org.apache.commons.beanutils.jar:na]
AUT: at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.jav
a:162) ~[org.apache.commons.beanutils.jar:na]
AUT: at org.eclipse.jubula.rc.common.commands.MethodInvoker.invoke(MethodInvo
ker.java:64) ~[org.eclipse.jubula.rc.common.jar:na]
AUT: at org.eclipse.jubula.rc.common.commands.AbstractCapTestCommand.execute(
AbstractCapTestCommand.java:233) ~[org.eclipse.jubula.rc.common.jar:na]
AUT: at org.eclipse.jubula.communication.Communicator$ConnectionListener.rece
ived(Communicator.java:844) [org.eclipse.jubula.communication.jar:na]
AUT: at org.eclipse.jubula.communication.connection.Connection.fireMessageRec
eived(Connection.java:401) [org.eclipse.jubula.communication.jar:na]
AUT: at org.eclipse.jubula.communication.connection.Connection.access$3(Conne
ction.java:390) [org.eclipse.jubula.communication.jar:na]
AUT: at org.eclipse.jubula.communication.connection.Connection$ReaderThread.r
un(Connection.java:453) [org.eclipse.jubula.communication.jar:na]
I attached my extension project(fragment and toolkit) in this email.
How can I fix it?
Thanks very much.
Best regards,
Nam Nguyễn Thành
Attachment:
ch.ivyteam.jubula.extension.rc.swt.zip
Description: ch.ivyteam.jubula.extension.rc.swt.zip
Attachment:
ch.ivyteam.jubula.extension.toolkit.zip
Description: ch.ivyteam.jubula.extension.toolkit.zip
Attachment:
InstallationDetails_notRename.png
Description: InstallationDetails_notRename.png
Attachment:
InstallationDetails_renamed.png
Description: InstallationDetails_renamed.png