|Ernesto Guisado's Website » Programming » Perl » Win32::GuiTest||Articles | Miscellanea ||
Most GUI test scripts I have seen/written for Win32 use some variant of Visual Basic (e.g. MS-VB or MS-Visual Test). The main reason is the availability of the SendKeys function. A nice way to drive Win32 programs from a test script is to use OLE Automation (ActiveX Scripting), but not all Win32 programs support this interface. That's where SendKeys comes handy.
So GuiTest is a Perl module that allows sending keystrokes, mouse-clicks and in general interacting with Windows applications in different mostly fun ways.
Ok, so you want to see some examples. Here are two that come with the distribution.
Shows information about all the windows in your system.
A very twisted (but fun) way to get the list of fonts installed on your machine.