Watir Recorder generates scripts that are not compatable with Watir 1.6. Boyd Ivey wrote: > Can anyone answer this? I uninstalled Ruby and watirrecorder++ and > reinstalled Ruby hoping that would help. After reinstalling Ruby I > ran a .rb file and after running the .rb file from a dos box > WatirRecorder installed it's self and opened a WatirRecorder++ > window. Of course, I'm still getting the same results with not > getting playback to work or not being able to run a ruby file form a > dos box and not have it open a WatirRecorder++ dialog box. > > Thank you for your help. > > > > > > On Thu, Mar 19, 2009 at 11:10 PM, nagmani vm <[email protected] > <mailto:[email protected]>> wrote: > > Am New to Ruby Watir can u pls send the Watir Recorder software > > > On Thu, Mar 19, 2009 at 3:32 AM, Boyd Ivey <[email protected] > <mailto:[email protected]>> wrote: > > I'm new to watir and have a easy question. When I record a > ruby script in WatirRecorder++ it records fine. When I'm > finished recording I can Stop and Save the script with no > problems. However at this point in WatirRecorder++ if I click > the Playback button a new WatirRecorder++ program pops up with > the identical code (now I have 2 WatirRecorder programs > running with identical scripts) and the script does not run. > My default code in the script is: > > > require > > 'watir' > > include > > Watir > > require > > 'test/unit' > > class > > TC_recorded < Test::Unit::TestCase def test_recorded > ie = IE. new > ** I've also used: ie = Watir::IE.new on the last line above > and received same results ** > > Also, I've tried running the scripts from a dos prompt. First > off, the files are saved as .ware files. I get an error when > I try to run the .ware file. If I rename the file to a .rb > and type: *scriptname.rb* it again opens WatirRecorder++ with > the script displaying and does not run the script. > > What am I missing? Isn't Playback supposed to playback the > script? Why is running a ruby file from a dos prompt opening > WatirRecorder++ and not running the script? > > > Thanks, > > > > > > -- > Thanks & Regards, > Nagmani V.M. > > > >
-- Bret Pettichord CTO, WatirCraft LLC, www.watircraft.com Lead Developer, Watir, www.watir.com Blog, www.io.com/~wazmo/blog Twitter, www.twitter.com/bpettichord Watir Training: Austin March 25-26, Portland/Beaverton April 16-17 www.watircraft.com/training --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general -~----------~----~----~----~------~----~------~--~---
