Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Jubula » AUT stuck 'in progress'(AUT not moving to running)
AUT stuck 'in progress' [message #1806374] Wed, 08 May 2019 09:17 Go to next message
Mike Bray is currently offline Mike BrayFriend
Messages: 60
Registered: May 2019
Member
I have a JavaFX application which I wish to use Jubula to test. I am new to Jubula and have gone through the tutorial (using JavaFX). That worked fine. I now want to start to test my app.

I have set up the AUT for the app. It runs Java.exe with the -jar parameter of my app. I have made sure that the app is compiled with JDK 1.8 and that it uses the JavaFX library of JDK 1.8.

When I start the AUT it gets started and the app appears. However, Jubula shows that the AUT is 'in progress' and the message in the status bar (bottom right) is 'Starting AUT with ID:appname'.

It never goes to 'Running' and as such I can not do the object mapping.

I am running Windows 10, Jubula 8.7.1.046, Eclipse 2018-12(4.10) Build 12081206-0815

Any suggestions?


Mike Bray
Re: AUT stuck 'in progress' [message #1806453 is a reply to message #1806374] Thu, 09 May 2019 09:37 Go to previous messageGo to next message
Nizar Tenzekhti is currently offline Nizar TenzekhtiFriend
Messages: 4
Registered: May 2019
Junior Member
Hello Mike,
In the AUT configutration try these configurations:
Executable File Name: C:\Program Files\jre1.8.0_201\bin\java.exe (path to your java environement \bin\java.exe)
AUT Working Directory: C:\path_to_your_app
AUT Arguments: -jar YourApp.jar
index.php/fa/35522/0/

best regards
Nizar Tenzekhti
  • Attachment: Capture.PNG
    (Size: 29.95KB, Downloaded 427 times)

[Updated on: Thu, 09 May 2019 13:48]

Report message to a moderator

Re: AUT stuck 'in progress' [message #1806535 is a reply to message #1806453] Fri, 10 May 2019 09:02 Go to previous messageGo to next message
Mike Bray is currently offline Mike BrayFriend
Messages: 60
Registered: May 2019
Member
Thanks Nizar, these are the parameters I am using. The issue is not that the app isn't starting. The problem is that Jubula is not being notified that it has started and thus is not registering the AUT as running. This means that Jubula will not allow me to do the Object Mapping.

Mike Bray
Re: AUT stuck 'in progress' [message #1806579 is a reply to message #1806535] Fri, 10 May 2019 15:19 Go to previous messageGo to next message
Mike Bray is currently offline Mike BrayFriend
Messages: 60
Registered: May 2019
Member
OK, to try and bottom out this I downloaded the Javafx example, compiled it and run it from within Jubula. I got the same result, so there is something wrong with the building of the app. Is there anything specific that needs to be done so that Jubula receives the notification of the app loading?

I have created the app as a Runnable jar.


Mike Bray
Re: AUT stuck 'in progress' [message #1806583 is a reply to message #1806579] Fri, 10 May 2019 16:14 Go to previous messageGo to next message
Mike Bray is currently offline Mike BrayFriend
Messages: 60
Registered: May 2019
Member
OK, I have successfully compiled and run the example. I used the ant buildscript.xml file from the source and this worked. I suspect it is something to do with the Manifest.

Mike Bray
Re: AUT stuck 'in progress' [message #1806600 is a reply to message #1806583] Sat, 11 May 2019 10:59 Go to previous message
Mike Bray is currently offline Mike BrayFriend
Messages: 60
Registered: May 2019
Member
I installed the e(fx)eclipse add on to Eclipse and repackaged my .jar. This now seems to work.

Mike Bray
Previous Topic:Jubula with .bat AUT
Next Topic:Add/develop new Action
Goto Forum:
  


Current Time: Fri Apr 26 22:24:41 GMT 2024

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

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

Back to the top