Forum Discussion

baluforu's avatar
baluforu
New Contributor
10 years ago

TestComplete not recognizing javaFX elements

Hi,

I am trying to automate an application which is built on Java swing and FX.



By double clicking on a JTree which was built on Swing will open up JFXpanel (using javafx.embed.swing.JFXPanel),



Elements in side the JFXpanel are not getting recognized by Testcomplete.





OS Version: Windows 7 Professional 64 bit,SP1

Test Complete Version:10.3

Application Technology: Java Swing anf FX  (Launched as jnlp file)

java version "1.7.0_55"  64-Bit

JavaFX :2.2+



Kindly help

2 Replies

  • TanyaYatskovska's avatar
    TanyaYatskovska
    SmartBear Alumni (Retired)
    Hi Bala,

     


    As you are using embedded JavaFX controls, TestComplete cannot recognize them properly. Embedded JavaFX isn't currently supported.


    We have a corresponding suggestion to implement this functionality in our user interests DB - I've increased its rating.


     


    At the moment, I recommend that you use native methods and properties to interact with the elements inside the scene. Please refer to the "Accessing Native Methods of Java Objects" article for details.


     

  • lili's avatar
    lili
    Occasional Visitor

    Hi!

     

    Is this still not possible with Version 11.0.644.7?

     

    Cheers,

    Lili