Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Automated Testing for C/C++ GUI Applications

I have a GUI application written in C/C++ using gcc. I need some recommendations for writing an automated test system for it. What tools/scripting should be used? The application runs on Windows.

like image 939
Afridi Avatar asked Aug 17 '09 11:08

Afridi


People also ask

Can we automate UI testing?

Introduction. User interface (UI) testing is a process used to test if the application is functioning correctly. UI testing can be performed manually by a human tester, or it can be performed automatically with the use of a software program. Automated UI testing is the automation of manual test tasks.

What is GUI automation?

GUI automation is the process of simulating mouse and keyboard actions on windows and controls. Most automation tools are based either on the coordinates of the controls or the text they contain, but this is not always reliable.


2 Answers

My recommendation is PyWinAuto, open source tool, python based tests (fast and easy to develop) and work on win32 level. http://pywinauto.openqa.org/

like image 55
Santi Avatar answered Sep 18 '22 13:09

Santi


We have used TestComplete here, with some success.

like image 24
qrdl Avatar answered Sep 18 '22 13:09

qrdl