Go back to Richel Bilderbeek's homepage.
Go back to Richel Bilderbeek's C++ page.
libcvautomation example 7: test a simple Qt desktop application by sending keys is a libcvautomation example with a simple Qt desktop application and a libcvautomation test script. The application is called from the script, and has three buttons: two labeled 'Press me' and one labeled 'DON'T PRESS ME'. The test presses the tab and space keys, which causes that the upper 'Press me' button its text will change to OK, after which the 'DON'T PRESS ME' button is pressed, which causes an error.
Operating system(s) or programming environment(s)
Libraries used:
QT += core gui |
#ifndef DIALOG_H |
#include "dialog.h" |
#include "dialog.h" |
#!/bin/sh |
Go back to Richel Bilderbeek's C++ page.
Go back to Richel Bilderbeek's homepage.
This page has been created by the tool CodeToHtml