dkinne's avatar
Occasional Contributor
10 years ago
New Idea

JavaFX WebView Control Support Testcomplete

Dear Team,


we are also interested in support for JavaFX WebView control.

We are trying to automate testing of an JavaFX Webview Control. Within the WebView we are showing an Webpage which contains an generated Report.

Actually we are not able to get any objects within the Java FX Webview Panel.

The actual JavaCode for launching the emmbeded WebView from our Java Developer is as following:

import javafx.application.Platform;
import javafx.collections.ObservableList;
import javafx.embed.swing.JFXPanel;
import javafx.scene.Group;
import javafx.scene.Node;
import javafx.scene.Scene;
import javafx.scene.web.WebEngine;
import javafx.scene.web.WebView;
import javafx.stage.Stage;
import com.sun.javafx.application.PlatformImpl;

PlatformImpl.startup(new Runnable() {
public void run() {

stage = new Stage();


Group root = new Group();
Scene scene = new Scene(root, 962, 630);
browser = new WebView();
browser.setMaxSize(962, 630);
browser.setMinSize(962, 630);

webEngine = browser.getEngine();
ObservableList<Node> children = root.getChildren();

jfxPanel.setSize(962, 630);





  • dkinne's avatar
    Occasional Contributor

    (This requests also corresponds to the Case #00083442)

  • hogueybear's avatar
    Occasional Contributor

     Is there any movement on this or is it still sitting in the possible future enhancements bucket?

  • hogueybear Make sure to give Kudos to this idea - this is your way to vote! Top voted (and hence most requested) requests are considered by the Dev Team.

  • Hi SmartBear Support Team,


    Our company, OTC Markets Group, has used TestComplete for testing our GUI appliations for more than 5 years. We have close to 100,000 lines of scripts written in JScript. Till our Development started using javaFX WebView, TestComplete performed well for our regression testing. However, since javaFX WebView controls were introduced to our GUI applications, we had to use indirect testing via Chrome pages due to javaFX WebView not being supported by TestComplete.


    Recently, our Development team decided to introduce more usage of javaFX WebView controls to our GUI applications. This will push our QA to select the proper testing tools. Frankly speaking, our QA does not want to change tools as we have used TestComplete for more than 5 years. But, with the increasing numbers of javaFX WebView controls, our indirect testing work-around becomes not practical. Based on this, we sincerely hope SmartBear can support testing javaFX WebView controls, which would mutually benifit to both of us. 


    Please let us know whether you will provide the support to javaFX WebView. If yes, then how soon? If not, please also let us know. Thanks in advance.


    Pen Young

    OTC Markets Group

  • JuliaBernikova's avatar
    SmartBear Alumni (Retired)

    Hi Pen,


    At the moment, there are no plans to introduce support for JavaFX WebView in TestComplete. We will discuss the issue internally though and let you know in case anything changes.


    In the meantime, you can try interacting with JavaFX WebView controls using the WebEngine object.


    Thank you,


  • DanielM75's avatar
    Occasional Contributor


    We have a system that is moving more and more to javafx webviews as well, and all our scripts are written in python to date.

    This is a very important feature request for us.

    Please re-consider it.