HTML AUT fails to start with exception [message #981510] |
Mon, 12 November 2012 08:21  |
Stefan Na. Messages: 1 Registered: November 2012 |
Junior Member |
|
|
Hi,
i try to test a HTML Application with the Jubula Eclipse Plugin.
My system:
Windows 7 32 Bit
Eclipse Indigo SR2
Jubula Eclipse Plugin 1.2.1.201206131127
Java version 1.6.0_37
Tomcat 6 Webapplication
Firefox 16.0.1
My Jubula plugin config:
- "Testproject", "Test Suite" and "TestCases" and embedded "AUT Agent" successfully configured (There is still one Error Message visible in Eclipse Problems view: (Incomplete Object Mapping for AUT "REPH AUT")).
- "AUT Agent" started and successfully connected.
- "AUT" configured by html toolkit and "Advanced HTML AUT configuration"
Parameters "AUT URL", "Browser" and "Browser Path" should work fine.
Running the AUT opens the progress view, shows correct AUT_ID, but progress bar runs endless. I expected that Firefox will start and opens the "AUT URL", but nothing happens.
I found the following Exception in AUT Agent Logfile:
2012-11-12 11:15:51.037 [Connection.ReaderThread:Socket[addr=/127.0.0.1,port=64261,localport=60000]] ERROR o.e.j.a.c.AbstractStartToolkitAut - No bundle found for ID 'com.bredexsw.jubula.rc.html'.
2012-11-12 11:15:51.040 [Connection.ReaderThread:Socket[addr=/127.0.0.1,port=64261,localport=60000]] ERROR o.e.j.communication.Communicator - catched exception from 'org.eclipse.jubula.autagent.commands.StartAUTServerCommand.execute()'
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:881) ~[na:1.6.0_37]
at java.lang.StringBuilder.substring(StringBuilder.java:55) ~[na:1.6.0_37]
at org.eclipse.jubula.autagent.commands.AbstractStartToolkitAut.getClasspathForBundleId(AbstractStartToolkitAut.java:330) ~[na:na]
at org.eclipse.jubula.autagent.commands.StartHtmlAutServerCommand.createCmdArray(StartHtmlAutServerCommand.java:95) ~[na:na]
at org.eclipse.jubula.autagent.commands.AbstractStartToolkitAut.startAut(AbstractStartToolkitAut.java:75) ~[na:na]
at org.eclipse.jubula.autagent.commands.StartAUTServerCommand.execute(StartAUTServerCommand.java:116) ~[na:na]
at org.eclipse.jubula.communication.Communicator$ConnectionListener.received(Communicator.java:845) ~[org.eclipse.jubula.communication_1.2.1.201206131127.jar:na]
at org.eclipse.jubula.communication.connection.Connection.fireMessageReceived(Connection.java:402) [org.eclipse.jubula.communication_1.2.1.201206131127.jar:na]
at org.eclipse.jubula.communication.connection.Connection.access$3(Connection.java:391) [org.eclipse.jubula.communication_1.2.1.201206131127.jar:na]
at org.eclipse.jubula.communication.connection.Connection$ReaderThread.run(Connection.java:454) [org.eclipse.jubula.communication_1.2.1.201206131127.jar:na]
Any idea what happens? Have i missed a configuration step or have i found a bug?
BR
Stefan
|
|
|