Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » can't create new project
can't create new project [message #726707] Mon, 19 September 2011 10:15 Go to next message
sergeant.xaito is currently offline sergeant.xaitoFriend
Messages: 5
Registered: September 2011
Junior Member
Hi,
whenever I try to make a new project, via the "test->New..." wizard, nothing happens.
According to the cheat sheets I should be able to edit the new project's properties next which is not possible for me since no project seems to have been created.
The attached partial screenshot shows the state after I've tried to create a new project.
I have the same problem with Jubula standalone as well as the eclipse for testing version.
I use the default embedded database and the console output says "Connection to Database successful".
Opening "unbound_modules_rcp" and "unbound_modules_html" projects works.
Re: can't create new project [message #726717 is a reply to message #726707] Mon, 19 September 2011 10:48 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
The best place to check would be in the log files (via the help menu). If you fill out the new project dialog then click "Finish", then a project should be created and opened automatically.
Maybe there is some database-related problem which can be seen from the log files.

Regards,
Alex

Re: can't create new project [message #726723 is a reply to message #726717] Mon, 19 September 2011 11:07 Go to previous messageGo to next message
sergeant.xaito is currently offline sergeant.xaitoFriend
Messages: 5
Registered: September 2011
Junior Member
Tried it right now, you seem to be right:

2011-09-19 12:57:25.268 [main] WARN  o.e.j.c.c.c.BaseConnection - send() called to an unconnected connection
2011-09-19 12:57:25.270 [main] ERROR o.e.jubula.client.core.ClientTest - org.eclipse.jubula.client.core.communication.BaseConnection$NotConnectedException: This connection is not connected
2011-09-19 12:57:45.533 [main] ERROR o.e.j.c.ui.wizards.ProjectWizard - java.lang.StringIndexOutOfBoundsException: String index out of range: -1
2011-09-19 12:57:45.641 [main] WARN  o.e.j.c.c.c.BaseConnection - send() called to an unconnected connection
2011-09-19 12:57:45.642 [main] ERROR o.e.jubula.client.core.ClientTest - org.eclipse.jubula.client.core.communication.BaseConnection$NotConnectedException: This connection is not connected

Any idea how to fix this?
Re: can't create new project [message #727392 is a reply to message #726723] Wed, 21 September 2011 07:21 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

We are unable to reproduce this problem and do not know what could be causing it. The best thing to do would be do file a bug in the Jubula bugzilla, including any other information that will help us to analyze or reproduce the problem.

Best regards,
Alex
Re: can't create new project [message #727445 is a reply to message #727392] Wed, 21 September 2011 10:29 Go to previous messageGo to next message
sergeant.xaito is currently offline sergeant.xaitoFriend
Messages: 5
Registered: September 2011
Junior Member
Hi,
I've just solved the problem - the error was the user Wink
I didn't check the manual for required JDK version and had JDK 1.7 64Bit version installed.
Have installed 1.6 32Bit version now and after deleting the ".jubula" folder from my user folder, Jubula now works.
Thanks for the help! Smile
Re: can't create new project [message #727457 is a reply to message #727445] Wed, 21 September 2011 11:09 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Glad it works now and thanks for posting the cause! Happy testing Smile
Cannot completely start my AUT in jubula [message #729487 is a reply to message #726707] Mon, 26 September 2011 09:59 Go to previous messageGo to next message
AKaza  is currently offline AKaza Friend
Messages: 4
Registered: September 2011
Junior Member
I am trying to start my rcp aut in jubula..
I created a new project successfully and configured the aut and also placed the rcp-support zip in my aut's plugin folder and made sure that the plugin is configured to be picked up as the manual suggests.
But, I am not able to completely start the aut and see it in running auts section. The status remains as starting,
The following error is shown in the client log
2011-09-26 14:57:31.943 [main] WARN o.e.j.c.c.c.BaseConnection - send() called to an unconnected connection
2011-09-26 14:57:31.972 [main] ERROR o.e.jubula.client.core.ClientTest - org.eclipse.jubula.client.core.communication.BaseConnection$NotConnectedException: This connection is not connected
2011-09-26 15:05:25.507 [Close Session Factory] ERROR o.e.j.c.core.persistence.Hibernator - dispose of Hibernator failed
org.eclipse.swt.SWTException: Device is disposed
at org.eclipse.swt.SWT.error(SWT.java:4083) ~[org.eclipse.swt.win32.win32.x86_3.6.1.v3655c.jar:na]
at org.eclipse.swt.SWT.error(SWT.java:3998) ~[org.eclipse.swt.win32.win32.x86_3.6.1.v3655c.jar:na]
at org.eclipse.swt.SWT.error(SWT.java:3969) ~[org.eclipse.swt.win32.win32.x86_3.6.1.v3655c.jar:na]
at org.eclipse.swt.widgets.Display.error(Display.java:1249) ~[org.eclipse.swt.win32.win32.x86_3.6.1.v3655c.jar:na]
at org.eclipse.swt.widgets.Display.asyncExec(Display.java:700) ~[org.eclipse.swt.win32.win32.x86_3.6.1.v3655c.jar:na]
at org.eclipse.jubula.app.core.JubulaWorkbenchWindowAdvisor$ApplicationWindowTitleUpdater.updateProjectNameInTitlebar(JubulaWorkbenchWindowAdvisor.java:78) ~[na:na]
at org.eclipse.jubula.app.core.JubulaWorkbenchWindowAdvisor$ApplicationWindowTitleUpdater.reactOnDatabaseEvent(JubulaWorkbenchWindowAdvisor.java:56) ~[na:na]
at org.eclipse.jubula.client.core.utils.DatabaseStateDispatcher.notifyListener(DatabaseStateDispatcher.java:68) ~[org.eclipse.jubula.client.core_1.0.0.201106060803.jar:na]
at org.eclipse.jubula.client.core.persistence.Hibernator.dispose(Hibernator.java:1169) ~[org.eclipse.jubula.client.core_1.0.0.201106060803.jar:na]
at org.eclipse.jubula.client.core.persistence.Hibernator$1.run(Hibernator.java:95) [org.eclipse.jubula.client.core_1.0.0.201106060803.jar:na]
2011-09-26 15:15:10.800 [main] WARN o.e.j.c.c.c.BaseConnection - send() called to an unconnected connection
2011-09-26 15:15:10.811 [main] ERROR o.e.jubula.client.core.ClientTest - org.eclipse.jubula.client.core.communication.BaseConnection$NotConnectedException: This connection is not connected
2011-09-26 15:17:15.968 [main] WARN o.e.j.c.c.c.BaseConnection - send() called to an unconnected connection
2011-09-26 15:17:15.969 [main] ERROR o.e.jubula.client.core.ClientTest - org.eclipse.jubula.client.core.communication.BaseConnection$NotConnectedException: This connection is not connected

Did anyone encounter this issue?
Can you suggest how to fix this?
Re: Cannot completely start my AUT in jubula [message #729850 is a reply to message #729487] Tue, 27 September 2011 06:06 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

Just a quick question to be completely on the safe side - did you place the zip in the plugins directory, or did you unzip the contents of it into the plugins directory? What you should end up with is the rc.rcp folder as one of the plugins.

If your application has a splash screen (workspace chooser etc) you must either manually select the workspace or configure the workspace as a part of the AUT configuration:
http://help.eclipse.org/indigo/topic/org.eclipse.jubula.client.ua.help/html/manual/node286.html

Hope that helps,
Alex
Re: Cannot completely start my AUT in jubula [message #730288 is a reply to message #729850] Wed, 28 September 2011 05:18 Go to previous messageGo to next message
AKaza  is currently offline AKaza Friend
Messages: 4
Registered: September 2011
Junior Member
Hi Alex,

That was the issue and also added -clean to my AUT startup and things worked!
I am now able to test and capture objects for mapping.

I have another question though..

Our requirement is to be able to start the tests from commandline.. Is there a way to kick start my testsuite through commandline in jubula?
I know from the documentation that we can start the aut using autrun option in jubula but what about tests?

Thanks for the quick response!
Akaza
Re: Cannot completely start my AUT in jubula [message #730321 is a reply to message #730288] Wed, 28 September 2011 07:24 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
The documentation on the test executor is here:
http://help.eclipse.org/indigo/topic/org.eclipse.jubula.client.ua.help/html/manual/node258.html

Best regards,
Alex
Re: Cannot completely start my AUT in jubula [message #730410 is a reply to message #730321] Wed, 28 September 2011 10:51 Go to previous messageGo to next message
AKaza  is currently offline AKaza Friend
Messages: 4
Registered: September 2011
Junior Member
Thanks,I tried the test executor with the options described and it works great!
Re: Cannot completely start my AUT in jubula [message #730413 is a reply to message #730410] Wed, 28 September 2011 10:54 Go to previous messageGo to next message
AKaza  is currently offline AKaza Friend
Messages: 4
Registered: September 2011
Junior Member
I am looking at trying out jubula with another html application built using vaadin GUI and was wondering how much jubula supports it?
Do you have any information on this?
I tried selenium and another testing tool with it for automated UI testing and had limited success..
Do you have any plans of adding support for technologies like this?

Thanks!

[Updated on: Wed, 28 September 2011 10:54]

Report message to a moderator

Re: Cannot completely start my AUT in jubula [message #735921 is a reply to message #730288] Thu, 13 October 2011 06:34 Go to previous messageGo to next message
Ashish Sharma is currently offline Ashish SharmaFriend
Messages: 15
Registered: October 2011
Junior Member
Please give detailed steps and where parameters needs to be set.
Re: Cannot completely start my AUT in jubula [message #735926 is a reply to message #735921] Thu, 13 October 2011 06:47 Go to previous messageGo to next message
Ashish Sharma is currently offline Ashish SharmaFriend
Messages: 15
Registered: October 2011
Junior Member
I gave the parameter as "-data ''D:/workspace''" and -data ''D:/workspace''. It didn't start. It gives message cannot connect to local aut agent at localhost:60000.
Re: Cannot completely start my AUT in jubula [message #735932 is a reply to message #735926] Thu, 13 October 2011 06:57 Go to previous messageGo to next message
Ashish Sharma is currently offline Ashish SharmaFriend
Messages: 15
Registered: October 2011
Junior Member
How to start aut agent service?
Re: Cannot completely start my AUT in jubula [message #736028 is a reply to message #735932] Thu, 13 October 2011 11:54 Go to previous message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi Ashish,

I think that your other questions have been answered in the threads you opened. It would keep each thread clearer and make answers easier to find for other forum participants if you could post new questions in new threads, unless the question is directly related to an older thread you found.

Thanks and best regards,
Alex
Previous Topic:Problems with parameters in a test case hierarchy
Next Topic:External execute command
Goto Forum:
  


Current Time: Thu Mar 28 14:17:53 GMT 2024

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

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

Back to the top