How to run Selenium WebDriver tests in the QT Webkit embedded browser?

I am working on a series of web applications written using the Google Web Toolkit (GWT). As part of our testing, we have successfully used selenium-rc for a long time. We aim to upgrade to Selenium 2 and use the WebDriver interface.

The complication is that one of our customers is a regular .Net application that launches our web applications using the built-in QT Webkit browser. We are concerned that switching to Selenium 2 will mean that we cannot run Selenium tests on this client, which will be a big problem, as it currently consists of most of our customers.

After doing some research, I was able to find a webkitdriver project in Google code. However, this seems to support testing against the dumb web kit, which we don't want.

Does anyone else have experience testing the built-in QT web kit browser using Selenium 2 and WebDriver? I would really like to be able to do this work.

+7
source share
3 answers

I know this is an old question, but if you are still interested in it, you can use Qt WebDriver, which was created not so long ago. You can learn more about this here https://github.com/cisco-open-source/qtwebdriver/wiki . And by the way, you can test Qt applications too

+2
source

There will be a lot of work. For PhantomJS, we integrate the Ghost Driver , which is an implementation of the WebDriver Wire protocol (see release notes for version 1.8). From the source code for the Ghost Driver, you can see that this is far from trivial. In addition, you need to connect the protocol implementation to various QtWebKit APIs, as well as quite a lot of work.

+1
source

Take a look at WWW :: WebKit , this is a replacement for WWW :: Selenium using Gtk3 :: WebKit as a browser to rely on an external Java server and an installed browser.

0
source

All Articles