On Thursday I asserted that testers MUST be developers. Overnight Chris Dickens has posted up an insightful piece on automated testing with specific references to UI testing. It looks like I was right on the money here (my assertion passed). I always find UI testing facinating because of the challenges involved. I normally end trying to figure out a better way to do it - alas, no solution so far.

Longhorn should make it easier to do testing on XAML based applications because in theory you should be able to hook into the graphics stack and test the primatives before they get rendered. From memory there was a session at the PDC on that, I'll have to go back and look at the DVD set I have.

By the way, I used to do a fair bit of setup automation and one of the tools that I used to use before Windows Installer technology was in vogue was a little tool from the NT resource kit called ScriptIt. It was basically an INI file with a simple grammer that allowed you to send keystrokes to the screen (across multiple processes).

One of its neat features was the ability to trigger other sets of keystrokes based on the text on the screen. From what I gather it must work a bit like Spy++ does under the covers and enumerated the contents of the Windows (in the programmatic sense, not the product sense) in the application to decided what triggers apply.

It would be interesting to get the source code for this and Spy++ and see if some kind of easy to access managed wrapper could be put around its functionality. I'll have to file that under pet project 1456.2B. Sure would be fun though!