Robot Exception: Window activation failed [message #986789] |
Wed, 21 November 2012 11:05  |
Eclipse User |
|
|
|
Hi,
I'd like to run my Jubula tests of a Swing application on the Linux build server in an virtual frame buffer Xvfb. For that I start the autagent and then the Jubula command line tool testexec. Starting the application and connecting to it seems to work fine, but activation of the AUT fails. The same works fine when using the ITE on my Windows client.
In ~/.jubula/logs/rc_swing.log a Robot Exception is reported (org.eclipse.jubula.rc.common.exception.RobotException: Window activation failed).
Any help or pointers to what might be going wrong are highly appreciated. Thanks,
Michael
Output on the console after starting testexec:
Wed Nov 21 16:47:08 CET 2012 AUT Agent: Connecting to "localhost:60000" ...
Wed Nov 21 16:47:09 CET 2012 AUT Agent: connection established.
Wed Nov 21 16:47:09 CET 2012 Database: Connecting as "jubula" to "jdbc:oracle:thin:@avalon.xxx.com:1521:JUBUDEV"...
Wed Nov 21 16:47:11 CET 2012 Database: Connection established.
Wed Nov 21 16:47:11 CET 2012 Database: Loading project "Analyzer" in version "1.0"...
Wed Nov 21 16:47:13 CET 2012 Database: Project loading completed.
Wed Nov 21 16:47:13 CET 2012 Project: Checking completeness
Wed Nov 21 16:47:13 CET 2012 Checking completeness of Test Suite "Analyzer Suite"...
Wed Nov 21 16:47:13 CET 2012 AUT: Starting AUT: Analyzer
AUT:SLF4J: Class path contains multiple SLF4J bindings.
AUT:SLF4J: Found binding in [jar:file:/nfs/homeserver/phylosopher/servers/test/jars/3rdParty.jar!/org/slf4j/impl/StaticLoggerBinder.class]
AUT:SLF4J: Found binding in [jar:file:/local0/phylosopher/test/Jubula/jubula_1.3.00071/server/plugins/ch.qos.logback.slf4j_1.0.0.v20120123-1500.jar!/org/slf4j/impl/StaticLoggerBinder.class]
AUT:SLF4J: See slf4j.org/codes.html#multiple_bindings for an explanation.
AUT:Version: 2.1.2
AUT:Linux (version 2.6.32.12-0.7-default for i386)
AUT:JRE 1.6.0_33 Java HotSpot(TM) Server VM 20.8-b03
AUT:Build: 2012-11-20 16:47 CET
AUT:Revision: 56542
AUT:Time: 2012-11-21 16:47:15 CET
AUT:
AUT:2012-11-21 16:47:15 CET [INFO ] Log Level set to DEBUG
AUT:2012-11-21 16:47:15 CET [INFO ] Signed Applet. All permissions granted.
AUT:2012-11-21 16:47:15 CET [INFO ] Successfully connected to database jdbc:oracle:thin:@xxx:1521:test
AUT:2012-11-21 16:47:17 CET [DEBUG] Executing statement: CacheableStatement: Get session parameter User Mode
...
Wed Nov 21 16:47:21 CET 2012 Start Test Suite: Analyzer Suite
Wed Nov 21 16:47:21 CET 2012 Executing Test Suite "Analyzer Suite"...
Wed Nov 21 16:47:21 CET 2012 Preparing execution of Test Suite "Analyzer Suite"...
Wed Nov 21 16:47:21 CET 2012 AUT: Connecting to "DNA_Analyzer_empty_patches"...
Wed Nov 21 16:47:22 CET 2012 AUT: Connection established.
Wed Nov 21 16:47:23 CET 2012 Resolving predefined Variables
Wed Nov 21 16:47:23 CET 2012 Resolving Test Steps to execute...
Wed Nov 21 16:47:24 CET 2012 Activating AUT...
Wed Nov 21 16:47:24 CET 2012 Test Suite "Analyzer Suite" execution...
Wed Nov 21 16:47:24 CET 2012 Test Case: Activate AUT default
Wed Nov 21 16:47:24 CET 2012 Test Case: Activate AUT with default specified in config
Wed Nov 21 16:47:24 CET 2012 Test Case: ub_app_activate
Wed Nov 21 16:47:24 CET 2012 Step: activate AUT
Wed Nov 21 16:47:24 CET 2012 Event Handler: Retry: Activation via titlbar
Wed Nov 21 16:47:24 CET 2012 Step: activate AUT
Wed Nov 21 16:47:24 CET 2012 Event Handler: Default Event Handler
Wed Nov 21 16:47:24 CET 2012 End of Test Suite
Wed Nov 21 16:47:24 CET 2012 Writing Report into Filesystem
Wed Nov 21 16:47:25 CET 2012 Writing Report to Database
Wed Nov 21 16:47:25 CET 2012 AUT: Disconnected.
Wed Nov 21 16:47:26 CET 2012 AUT Agent: connection closed.
Wed Nov 21 16:47:26 CET 2012 Exit: Code 1
rc_swing.log:
org.eclipse.jubula.rc.common.exception.RobotException: Window activation failed.
at org.eclipse.jubula.rc.swing.swing.driver.RobotAwtImpl.activateApplication(RobotAwtImpl.java:812) ~[org.eclipse.jubula.rc.swing_1.3.0.201210161256.jar:na]
at org.eclipse.jubula.rc.common.commands.InitTestExecutionCommand.execute(InitTestExecutionCommand.java:47) ~[org.eclipse.jubula.rc.common_1.3.0.201210161256.jar:na]
at org.eclipse.jubula.communication.Communicator$ConnectionListener.received(Communicator.java:845) [org.eclipse.jubula.communication_1.3.0.201210161256.jar:na]
at org.eclipse.jubula.communication.connection.Connection.fireMessageReceived(Connection.java:402) [org.eclipse.jubula.communication_1.3.0.201210161256.jar:na]
at org.eclipse.jubula.communication.connection.Connection.access$3(Connection.java:391) [org.eclipse.jubula.communication_1.3.0.201210161256.jar:na]
at org.eclipse.jubula.communication.connection.Connection$ReaderThread.run(Connection.java:454) [org.eclipse.jubula.communication_1.3.0.201210161256.jar:na]
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04806 seconds