Welcome Thom... > I wonder if anyone has constructed a Ruby program in > such a way as to use it for launching Watir scripts... i.e.. have an > interface with buttons on it... something like... for log into the site > press button 1... to test adding a client to the site press button 2... to > remove a client from the site... press button three... etc? The button will > launch the Watir scripts... write a log and then return to the Ruby menu...
Bret said recently on the list: ################################## But there you can get it to run in a nifty GUI if you run it with a command line argument. In a cmd window you can do this: test.rb --runner=t You can also create a shortcut to your test and then edit the target in the properties to include this argument. Then when you double click on it, it will run in its GUI. Target: C:\workspace\watir\unittests\div_test.rb --runner=t Everybody should actually give this a try. It looks cool! ######################################3 You might also look at Atomic Objects' "SYSTIR" project as well: http://atomicobject.com/systir.page > From my reading on Watir, it sounds like it may be supporting other browsers > in the future, but not currently... You might give Selenium a try: http://www.openqa.org/selenium/ It's a little fussier than Watir (and is missing some things that Watir has, like support for frames), but it might serve your purposes. -Chris _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
