Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I fake input for form testing?

I'm building a test harness for my Delphi 2009 app. Testing the logic is fairly simple. Making sure the forms work properly is proving a bit more complicated. I'd like a way to simulate real user input, to open a form, make it think there's a user typing certain things and clicking in certain places, and make sure it reacts correctly. I'm sure there's a way to do this, I just don't know what it is. Does anyone know how to do it?

like image 469
Mason Wheeler Avatar asked Jan 31 '09 15:01

Mason Wheeler


1 Answers

DUnit has GUITesting.pas whicih extends testing so you can send clicks, keys and text to controls on form, but that is about it.

Last year there where mentions of Zombie GUI testing framework that was used internaly by CodeGear developers, but nothing since Steve left for Falafel.

like image 76
dmajkic Avatar answered Oct 06 '22 05:10

dmajkic