cancel
Showing results for 
Search instead for 
Did you mean: 

JavaFX WebView Control Support Testcomplete

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() {
@Override
public void run() {

stage = new Stage();

stage.setResizable(true);

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

webEngine = browser.getEngine();
webEngine.load(uri.toString());
ObservableList<Node> children = root.getChildren();
children.add(browser);

jfxPanel.setScene(scene);
jfxPanel.setSize(962, 630);

}
});

Regards,

Dirk

7 Comments
Occasional Contributor

(This requests also corresponds to the Case #00083442)

Community Manager
Status changed to: New Idea
 
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.

Visitor

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

Moderator

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,

Julia

Occasional Contributor

Hello

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.

Announcements
Welcome to the TestComplete Feature Requests board!

Here you can review submitted feature requests and vote up the ones you like! If you can't find the feature you want - go ahead and suggest your own idea. Ideas with the highest rating can be implemented in the product.

Check out the Create a Feature Request guide for more information.
New Here?
Join us and watch the welcome video:
Announcements