Highlighted
Trusted Contributor.
Trusted Contributor.
884 views

Need assistance recording JavaFX client application

Jump to solution

Hi,

I'm attempting to record a JavaFX rich-client 32-bit application.  So far I've tried Web Http/html and nothing is recorded.  I'm now trying Java Record Replay with "Record:  Java application" and "Main class:  {class name}" and am receovomg compilation error messages and INFO in the recording log:

/* ******* Compilation error messages . ****** */

Notify: Found jdk version: 1.8.0.    [MsgId: MMSG-22986]
classpath={removed from view}...    [MsgId: MMSG-22986]
Compilation process failed.    [MsgId: MERR-22997]
cannot find symbol    [MsgId: MERR-22986]
        _hashmap1 = _businessobject1.retrieveAllApplicationConstants();    [MsgId: MERR-22986]
                                    ^    [MsgId: MERR-22986]
  symbol:   method retrieveAllApplicationConstants()    [MsgId: MERR-22986]
  location: variable _businessobject1 of type BusinessObject    [MsgId: MERR-22986]
incompatible types: boolean cannot be converted to Hashtable<?,?>    [MsgId: MERR-22986]
        _initialcontext2 = new javax.naming.InitialContext(true);    [MsgId: MERR-22986]
                                                           ^    [MsgId: MERR-22986]
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output    [MsgId: MERR-22986]
2 errors    [MsgId: MERR-22986]

/* ******* Sample Recording Log messages .  There are several of these ****** */

....  INFO  com.hpe.lr.java2.codegen.RmiProcessor.processPrologEpilogPair() @-1 - can not parse return value ....

Any guidance you can provide will be appreciated.

Thanks.

0 Likes
1 Solution

Accepted Solutions
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: Need assistance recording JavaFX client application

Jump to solution

Corrected Classpath and the issue is resolved.

View solution in original post

4 Replies
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: Need assistance recording JavaFX client application

Jump to solution

Additional information.

This is a client server application that opens MS Word to allow customers to edit and save documents.  The documents are saved both locally and in a database.

Thanks.

0 Likes
Highlighted
Trusted Contributor.
Trusted Contributor.

Re: Need assistance recording JavaFX client application

Jump to solution

Corrected Classpath and the issue is resolved.

View solution in original post

Highlighted
Acclaimed Contributor.
Acclaimed Contributor.

Re: Need assistance recording JavaFX client application

Jump to solution

Thanks for sharing

0 Likes
Highlighted
New Member.

Re: Need assistance recording JavaFX client application

Jump to solution

Good to see UFT now supports JavaFX object identification.

But eager to see UFT pro ( LeanFT) to identify JavaFX. Could not understand the Object Spy Vs OIC approach.

I am follower of LeanFT approach and want JavaFX to be identified.  Please share your vision.

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.