Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What scripting tool can I use for automated testing of Delphi programs? [closed]

I'm looking for a tool for automated testing. I will use scripting for testing, rather than just automating, which means that it can't just send some key-presses. It needs to examine the app's window to see if it was updated correctly. The cheaper the better, with no downside limit on cost. ;-)

I need a real language, with functions, variables, loops, branching, etc., and the apps are developed in Delphi.

I need to be able to focus controls*, wait for windows to appear, search for controls/windows, send keyboard input and check that various windows/controls have changed state (e.g a button is now disabled, a text box contains the correct text, a dialog box opens, etc.).

I used to use AutoIt a few years ago and am now coming back to scripting. I wondered if there has been any new development while I was gone.

Any suggestions?

* I do not want to move the cursor to absolute coordinates in case the app's layout changes. This quote from Wikipedia explains why:

Regression testing becomes a problem with GUIs as well. This is because the GUI may change significantly across versions of the application, even though the underlying application may not. A test designed to follow a certain path through the GUI may not be able to follow that path since a button, menu item, or dialog may have changed location or appearance.

like image 627
Mawg says reinstate Monica Avatar asked Oct 23 '11 01:10

Mawg says reinstate Monica


1 Answers

I believe you just described TestComplete by SmartBear Software.

like image 199
Harriv Avatar answered Oct 15 '22 09:10

Harriv