From: ptkwt@...1.aracnet.com (Phil Tomson) Date: 2001-11-09T03:45:03+09:00 Subject: [ruby-talk:24681] Re: Testing as a Ruby niche In article <2B92A3D0D399D311BA7E00A0C90F8FDD01AE38D6@mailgate.snelling.com>, Morris, Chris wrote: >One thing I think would be handy to have in Ruby is a way to generate >keystrokes/mouse actions against other Windows. I'm dreading this a bit, >actually. If I ever have to test a msgbox that IE throws, I'm not certain >how I'll do that -- I've already had to workaround that once. One plus for >VBScript, it has a SendKeys call that quite simply achieves this. > >Plus, with keystroke ability, that'd be a foot in the door for testing other >browsers. Not as elegant as the nice COM interface I've got with IE, but >might be pretty workable. > Perl has a module in the Win32 hierarchy called TestGui (Win32::TestGui) that can do just what you're describing. I hope to begin converting this to a workable Ruby version in the next couple of weeks. Man.... I'd better start a TODO list ;-) Phil -- rm -rf /bin/laden