[wtr-general] Re: WatirRecorder++ Playback question

2009-03-23 Thread Bret Pettichord

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  > 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  > 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 watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: WatirRecorder++ Playback question

2009-03-20 Thread Chuck van der Linden

On Mar 19, 10:10 pm, nagmani vm  wrote:
> Am New to Ruby Watir can u pls send the Watir Recorder software

http://lmgtfy.com/?q=watir+recorder

--Chuck

You can invoke:  user.leadto(knowledge.location)
but unfortunately: user.drink()
is a private method
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---



[wtr-general] Re: WatirRecorder++ Playback question

2009-03-19 Thread nagmani vm
Am New to Ruby Watir can u pls send the Watir Recorder software

On Thu, Mar 19, 2009 at 3:32 AM, Boyd Ivey  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 in 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.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~--~~~~--~~--~--~---