001
001

Reputation: 65205

selenium and qt c++?

Is it possible to use selenium with qt c++ ?

Seems like there are no official support from selenium for C++?

http://seleniumhq.org/download/

Upvotes: 6

Views: 11784

Answers (3)

Kur00Hazama
Kur00Hazama

Reputation: 729

There is a Webdriver for Qt applications: https://github.com/cisco-open-source/qtwebdriver

  • Use a selenium bindings (python, java etc..) to write tests and send command with the wire protocol
  • Install the Qtwebdriver on the Qt application side
  • Then you can automate you Qt application with selenium tests

Upvotes: 2

Please look library https://github.com/linotex/quelenium. I hope its help

Upvotes: -1

Stan
Stan

Reputation: 6285

You might be able to use json wire protocol to communicate with webdriver server within Qt/C++ application, but consider using some scripting language instead. For example Python is pretty easy to learn and has webdriver bindings.

http://code.google.com/p/selenium/wiki/JsonWireProtocol

http://code.google.com/p/selenium/wiki/PythonBindings

Upvotes: 1

Related Questions