Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » GEF Inspector/steps not working
GEF Inspector/steps not working [message #912006] Wed, 12 September 2012 15:16 Go to previous message
Alejo Abdala is currently offline Alejo Abdala
Messages: 12
Registered: September 2012
Junior Member
Hi, I'm taking some first steps into Jubula in order to determine whether it is suitable for testing my organization's application, which is a GEF-centric RCP application.

I am currently being unable to use the GEF Inspector. I've read the documentation, and even placed a little accessibility plugin to see if that could help, but with no success whatsoever.

Having the AUT running, I start the GEF Inspector, wait (or not, i've tried both) for the little blue inspector icon to appear on the bottom of the window and then change focus (either with alt-tab or clicking on the window) to the AUT. I navigate over the Figure Canvas (which i *am able* to capture through object mapping) and I don't see any blue squares. If I click on any component, I don't get the textpath on the Inspector view.

Then, when I try to run a test case with a GEF interaction (trying to guess the textpaths) I get the following exception (@.jubula/rc_swt.log).
... Caused by: java.lang.[b]NullPointerException[/b]: null
	at [b]org.eclipse.jubula.rc.rcp.gef.implclasses.FigureCanvasImplClass.getViewerControl(FigureCanvasImplClass.java:88)[/b] ~[org.eclipse.jubula.rc.rcp_1.2.1.201206131127.jar:na]


(Full stack trace below)

Any thoughts? This product behaves really well and suits our needs in almost every aspect, if I can get the GEF part to work smoothly then we would be able to adopt it as our testing automation tool, so, any help will be really appreciated Smile

AUT: Mule Studio (you may try to download it from mulesoft.org, i'd post a link but the forum tells me I'm still too newbie to do so Sad )
Jubula version: Jubula 1.2.1.201206290759
GEF framework version: org.eclipse.gef_3.6.1.v20100712-1224
Environment: I tried both in a WinXP VM over VMware Fusion 5 and in MacOSX Mountain Lion

Cheers!
Alejo

(Full stack trace for the exception when running tests with GEF)

2012-09-12 15:35:38.098 [Connection.ReaderThread:Socket[addr=/172.16.130.128,port=2166,localport=2200]] ERROR o.e.j.r.c.c.AbstractCapTestCommand - InvocationTargetException: 
java.lang.reflect.InvocationTargetException: null
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_34]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_34]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_34]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_34]
	at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) ~[org.apache.commons.beanutils.jar:na]
	at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:162) ~[org.apache.commons.beanutils.jar:na]
	at org.eclipse.jubula.rc.common.commands.MethodInvoker.invoke(MethodInvoker.java:64) ~[org.eclipse.jubula.rc.common.jar:na]
	at org.eclipse.jubula.rc.common.commands.AbstractCapTestCommand.execute(AbstractCapTestCommand.java:231) ~[org.eclipse.jubula.rc.common.jar:na]
	at org.eclipse.jubula.communication.Communicator$ConnectionListener.received(Communicator.java:845) [org.eclipse.jubula.communication.jar:na]
	at org.eclipse.jubula.communication.connection.Connection.fireMessageReceived(Connection.java:402) [org.eclipse.jubula.communication.jar:na]
	at org.eclipse.jubula.communication.connection.Connection.access$3(Connection.java:391) [org.eclipse.jubula.communication.jar:na]
	at org.eclipse.jubula.communication.connection.Connection$ReaderThread.run(Connection.java:454) [org.eclipse.jubula.communication.jar:na]
Caused by: java.lang.NullPointerException: null
	at org.eclipse.jubula.rc.rcp.gef.implclasses.FigureCanvasImplClass.getViewerControl(FigureCanvasImplClass.java:88) ~[org.eclipse.jubula.rc.rcp_1.2.1.201206131127.jar:na]
	at org.eclipse.jubula.rc.rcp.gef.implclasses.FigureCanvasImplClass.gdClickInFigure(FigureCanvasImplClass.java:392) ~[org.eclipse.jubula.rc.rcp_1.2.1.201206131127.jar:na]
	at org.eclipse.jubula.rc.rcp.gef.implclasses.FigureCanvasImplClass.gdDragFigure(FigureCanvasImplClass.java:424) ~[org.eclipse.jubula.rc.rcp_1.2.1.201206131127.jar:na]
	... 12 common frames omitted
2012-09-12 15:35:38.098 [Connection.ReaderThread:Socket[addr=/172.16.130.128,port=2166,localport=2200]] ERROR o.e.j.r.c.c.AbstractCapTestCommand - TargetException: 
java.lang.NullPointerException: null
	at org.eclipse.jubula.rc.rcp.gef.implclasses.FigureCanvasImplClass.getViewerControl(FigureCanvasImplClass.java:88) ~[org.eclipse.jubula.rc.rcp_1.2.1.201206131127.jar:na]
	at org.eclipse.jubula.rc.rcp.gef.implclasses.FigureCanvasImplClass.gdClickInFigure(FigureCanvasImplClass.java:392) ~[org.eclipse.jubula.rc.rcp_1.2.1.201206131127.jar:na]
	at org.eclipse.jubula.rc.rcp.gef.implclasses.FigureCanvasImplClass.gdDragFigure(FigureCanvasImplClass.java:424) ~[org.eclipse.jubula.rc.rcp_1.2.1.201206131127.jar:na]
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.6.0_34]
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_34]
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.6.0_34]
	at java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.6.0_34]
	at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:216) ~[org.apache.commons.beanutils.jar:na]
	at org.apache.commons.beanutils.MethodUtils.invokeMethod(MethodUtils.java:162) ~[org.apache.commons.beanutils.jar:na]
	at org.eclipse.jubula.rc.common.commands.MethodInvoker.invoke(MethodInvoker.java:64) ~[org.eclipse.jubula.rc.common.jar:na]
	at org.eclipse.jubula.rc.common.commands.AbstractCapTestCommand.execute(AbstractCapTestCommand.java:231) ~[org.eclipse.jubula.rc.common.jar:na]
	at org.eclipse.jubula.communication.Communicator$ConnectionListener.received(Communicator.java:845) [org.eclipse.jubula.communication.jar:na]
	at org.eclipse.jubula.communication.connection.Connection.fireMessageReceived(Connection.java:402) [org.eclipse.jubula.communication.jar:na]
	at org.eclipse.jubula.communication.connection.Connection.access$3(Connection.java:391) [org.eclipse.jubula.communication.jar:na]
	at org.eclipse.jubula.communication.connection.Connection$ReaderThread.run(Connection.java:454) [org.eclipse.jubula.communication.jar:na]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:5009: AUT start failed
Next Topic:Test scenario: is Jubula the right GUI test framework to use?
Goto Forum:
  


Current Time: Thu May 23 07:21:45 EDT 2013

Powered by FUDForum. Page generated in 0.04645 seconds