Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » Advanced Settings for AUT(Advanced Settings for AUT)
Advanced Settings for AUT [message #884958] Tue, 12 June 2012 07:08 Go to next message
Anu J is currently offline Anu JFriend
Messages: 18
Registered: June 2012
Junior Member
HI,

This is the command for launching my application from the command line.

Can someone please tell me how to map this to the AUT Advanced Settings ( which paramters should go where), I have tried it in a number of ways but guess I am making a mistake.

I get the error 5009: Unable to start the AUT.

C:\java\jdk1.6.0_31\bin\javaw.exe -ea -Duser.language=ja - 
Djava.rmi.dgc.leaseValue=30000 -Dpa.user=psystem - 
Dpa.password=psystem -Djava.library.path=D:\workspace\pa4build 
\filesets\resources\bin;D:\workspace\test\lib-src\EclipseDepLib;D: 
\workspace\pbuild\filesets\resources\lib;D:\workspace\ocibridge 
\lib-src\EclipseDepLib 
-Dfile.encoding=Cp1252 
-Xbootclasspath:C:\java\jdk1.6.0_31\jre\lib\resources.jar;C:\java\jdk1.6.0_31\jre\lib 
\rt.jar;C:\java\jdk1.6.0_31\jre\lib\jsse.jar;C:\java\jdk1.6.0_31\jre\lib 
\jce.jar;C:\java\jdk1.6.0_31\jre\lib\charsets.jar;C:\java\fest-swing- 
1.2\fest-swing-1.2.jar;C:\java\fest-swing-1.2\lib\fest-assert- 
1.2.jar;C:\java\fest-swing-1.2\lib\fest-reflect-1.2.jar;C:\java\fest- 
swing-1.2\lib\fest-util-1.1.2.jar -classpath D:\workspace\pacore 
\bin;D:\workspace\test\bin;D:\workspace\test\fileset\lib 
\activation.jar;D:\workspace\test\fileset\lib\alloy.jar;D:\workspace 
\test\fileset\lib\log4j-1.2.14.jar;D:\workspace\test\fileset\lib 
\mail.jar;C:\opt\eclipse\plugins\org.junit_4.8.2.v4_8_2_v20110321- 
1705\junit.jar;C:\opt\eclipse\plugins 
\org.hamcrest.core_1.1.0.v20090501071000.jar;D:\workspace 
\ocibridge\bin;C:\opt\eclipse\plugins 
\org.junit_3.8.2.v3_8_2_v20100427-1100\junit.jar;D:\workspace\parep 
\bin;D:\workspace\pbuild\filesets\lib\bcprov-jdk14-138.jar;D: 
\workspace\pbuild\filesets\lib\iText-2.1.2u.jar;D:\workspace 
\pa4build\filesets\lib\iText-rtf-2.1.2u.jar;D:\workspace\pa4build 
\filesets\lib\iText-rups-2.1.2u.jar;D:\workspace\pbuild\filesets\lib 
\iTextAsian.jar;D:\workspace\pbuild\filesets\lib 
\iTextAsianCmaps.jar;D:\workspace\images\images.jar;D:\workspace 
\pa\bin;D:\workspace\pbuild\filesets\lib\javaws.jar test.a.Startup



I need to launch the above code from Jubula.

[Updated on: Tue, 12 June 2012 07:11]

Report message to a moderator

Re: Advanced Settings for AUT [message #884961 is a reply to message #884958] Tue, 12 June 2012 07:15 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

The documentation for starting AUTs is here.

As a general rule, you'll probably need to put the arguments for starting the AUT in the field "AUT arguments". That would be the place for parameters that usually go on the command line.

HTH,
Alex
Re: Advanced Settings for AUT [message #884968 is a reply to message #884961] Tue, 12 June 2012 07:33 Go to previous messageGo to next message
Anu J is currently offline Anu JFriend
Messages: 18
Registered: June 2012
Junior Member
Hi Alex,

I did update the AUT on seeing the link earlier also.

Have attached a screenshot of the same.

In the ClassPath field, I have defined all the variables which come under "-Djava.library.path"

The remaining values I have defined as AUT Arguments.

and also set the JRE executable.

In my Client log this is the error message I am getting:

2012-06-12 15:51:25.191 [Connection.ReaderThread:Socket[addr=localhost/127.0.0.1,port=60000,localport=61694]] ERROR o.e.j.c.c.c.StartAUTServerStateCommand - AUTServer could not start: Error while starting AUT!

Any ideas?

  • Attachment: aut.png
    (Size: 44.68KB, Downloaded 283 times)
Re: Advanced Settings for AUT [message #884981 is a reply to message #884968] Tue, 12 June 2012 08:02 Go to previous messageGo to next message
Alexandra Schladebeck is currently offline Alexandra SchladebeckFriend
Messages: 1613
Registered: July 2009
Senior Member
Hi,

The first thing I notice is that you have neither entered a jar or an executable to start the AUT. One of these two fields must be filled in to tell Jubula which AUT you want to start.

HTH,
Alex
Re: Advanced Settings for AUT [message #884989 is a reply to message #884981] Tue, 12 June 2012 08:24 Go to previous messageGo to next message
Anu J is currently offline Anu JFriend
Messages: 18
Registered: June 2012
Junior Member
Hi Alex,

But that is because both the fields were disabled.

The Startup class is the launching class.

since i entered that value in the Main CLass Name field, the Executable File Name and the Executable Jar File Name got disabled.

Re: Advanced Settings for AUT [message #885033 is a reply to message #884958] Tue, 12 June 2012 10:01 Go to previous messageGo to next message
Achim Loerke is currently offline Achim LoerkeFriend
Messages: 376
Registered: July 2009
Location: Braunschweig, Germany
Senior Member

Put the command and its parameters in a .cmd file. Check if this starts your application. If it does, put the path and filename of the .cmd in the executable field of the AUT configuration. Now your AUT should start.

Achim
Re: Advanced Settings for AUT [message #885982 is a reply to message #885033] Thu, 14 June 2012 01:24 Go to previous messageGo to next message
Anu J is currently offline Anu JFriend
Messages: 18
Registered: June 2012
Junior Member
Hi Alex,

I am able to start the application when I save the command and the parameters as a .cmd file in the command prompt.

However, I am getting the same error when I try to start the application through Jubula.

I have attached a screenshot of the application settings.

I am setting the value in the "Basic Setting" and not changing anything else.

Please guide me.
  • Attachment: test.png
    (Size: 28.88KB, Downloaded 283 times)
Re: Advanced Settings for AUT [message #885984 is a reply to message #885033] Thu, 14 June 2012 01:31 Go to previous message
Anu J is currently offline Anu JFriend
Messages: 18
Registered: June 2012
Junior Member
Ok I got it working!
I had given the wrong application type.

Thanks a lot for your suggestions.

I really appreciate it.

Previous Topic:Data entry testing strategies
Next Topic:Selecting Node using Treepath
Goto Forum:
  


Current Time: Fri Mar 29 07:43:54 GMT 2024

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

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

Back to the top