Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Jubula » HTML AUT fails to start with exception(AUT Agent log shows ERROR o.e.j.a.c.AbstractStartToolkitAut - No bundle found for ID 'com.bredexsw.jubula.rc.html'.)
icon5.gif  HTML AUT fails to start with exception [message #981510] Mon, 12 November 2012 13:21 Go to next message
Stefan Na. is currently offline 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
Re: HTML AUT fails to start with exception [message #996143 is a reply to message #981510] Tue, 01 January 2013 06:07 Go to previous message
John Arkley is currently offline John Arkley
Messages: 1
Registered: January 2013
Location: San Joaquin Co, CA
Junior Member
I have had this exact same problem.

My System:

Mac OS Snow Leopard (10.6.Cool
java version "1.6.0_35"
Eclipse Juno SR1
Tomcat 7 Web App
Safari 5.1.7

I had setup and used the Jubula Stand-Alone RCP application before
i installed the Juno Eclipse Java JDT and added the Jubula Feature.

I got thru the 1st level learning curve and was able to get Jubula SA
to inovke a test and run it and complete, opening the login page on
my web app and entering username and password and bring up a
user's home page.

But when i download the Juno Java JDT and added the Jubula Feature
i get the same error message in the AUT Log you have shown.

I discovered by scanning the Plugin directorys of the Jubula SA and
the Juno Eclipse JDT + Jubula installations, that the com.jubula.rc.html plugin
(which should be named org.eclipse.jubula.rc.html-... ) doesn't exist
in the Juno JDT + Jubula install.

I then went back the the Eclipse Jubula home page and noticed that the
Jubula Feature is version 1.2.2 and the Jubula SA is version 1.3.

I think they built the Jubula Feature with an older version of
Jubula, well before the release of the latest Jubula SA and it
appears to support HTML in that it allows setting up a Project
as an HTML AUT, but it can't work without the missing plugin,
which is the "Remove Control" plugin that starts and connects
the AUT Agent to the HTML AUT (via the selected browser).

Suggest you try Jubula SA (Stand Alone) as it does work with HTML AUTs.

I am going to post a bug in the Jubula project for this, as i want to use
the Jubula Feature, not the limited Stand Alone, which BTW, also includes
the separate AUT Agent installer for running the Agent on an external
system. (So i can run tests under Windows using IE , but control with my Mac)

regards, John
Previous Topic:still report "Test Data for this node is incomplete" even an external excel file is provid
Next Topic:Move test suite to another project
Goto Forum:
  


Current Time: Wed Oct 01 12:24:06 GMT 2014

Powered by FUDForum. Page generated in 0.11330 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software