I am writing a Qt application that uses QWebView to host the user interface. Similar to the ImageAnalyzer example in the Qt SDK samples.
I would like to test this interface using an automated method. A scripting interface such as Selenium Web-Driver would be preferable.
Any recommendations / examples on how to do this?
Edit:
I am looking for a solution that can identify HTML elements through classes and an identifier so that it is convenient and robust to change.
Tools like Sikuli (which are based on appearance) do not satisfy this criterion. Note. I believe that they are great for quick one-time scripts, they just don't work very well on different platforms / configurations and over time for my purpose.
source share