Re: [Java-gnome-developer] java-gnome and 'acceptance tests'
Brought to you by:
afcowie
From: Andrew C. <an...@op...> - 2005-02-13 21:40:40
|
On Sun, 2005-13-02 at 02:19 +0000, Sean Coughlan wrote: > This AT successfully passes for this application: > > TestTableIsEmpty downloadTable true > > UserSelectsMenuItem mnuNewDownload > UserInputsText txtUrl http://www.thecentric.com/ > UserInputsText txtSaveAs /home/sean/thecentric.index.html > UserClicksButton btnOkButton > > TestTableIsEmpty downloadTable false > > TestTableRowItem downloadTable 0 "/home/sean/thecentric.index.html" > "http://www.thecentric.com/" "5 K" "0.0%" Although I'm not a Mac OS X user, yesterday at a Linux Australia board meeting someone was describing "Newton Script" or "Apple Script" or "Apple Talk" - a scripting framework where, if I understood correctly, the entire desktop and any application is easily and totally available for scripting. I gather it is [conceptually] along the lines of Such-in-such-application->File Menu->Save Item->(/tmp/filename.txt) which is what you've developed, it seems. [Since we were meeting at jdub's place, he mentioned that there is a quiet movement in this direction; the accessibility toolkit gives all the hooks that are needed, so this sort of thing should be possible in GNOME...] So, if nothing else, Sean, if you're looking for further inspiration, you might check out what Mac OS X has in this area. *I* for one am desperately in need of automated testing for presented UI elements. I can and do Unit Test the infrastructure underneath, no problem, but once Windows are fired up, it's difficult indeed to do further automated tests. Great work, Sean! AfC Sydney -- Andrew Frederick Cowie Helping you succeed at flawlessly executing Massive Changes and Upgrades to your Mission Critical Systems http://www.operationaldynamics.com/ Sydney New York Toronto London |