[wtr-general] Re: Not Able to Use Rspec framework

2009-10-26 Thread abhisheksreepal
Thanks. do was missing after Enter Username On Oct 23, 7:45 pm, Bret Pettichord b...@pettichord.com wrote: abhisheksreepal wrote: include Watir::Container Don't do this. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[wtr-general] Re: Not Able to Use Rspec framework

2009-10-26 Thread Jarmo Pertman
require 'rubygems' require 'watir' require 'spec' describe Blah do before :all do @b = Watir::Browser.new end it does something do @b.goto http://google.com; end describe some other thing do @b.goto http://watir.com; end end Jarmo On Oct 23, 4:45 pm,

[wtr-general] Re: Not Able to Use Rspec framework

2009-10-23 Thread Željko Filipin
What happens if you just run this: require 'rubygems' require 'watir' $email=www.gmail.com $username=username $password=password $ie = Watir::IE.new $ie.goto($email) $ie.text_field(:id, 'Email').set($username) $ie.text_field(:id, 'Passwd').set($password) $ie.button(:name, 'signIn').click Željko

[wtr-general] Re: Not Able to Use Rspec framework

2009-10-23 Thread abhisheksreepal
Hi Zeljko, My OS is Windows Xp. The code you mentioned is running fine. But I wanted to Use Rspec. So i modified my Old Code and also installed new gem safariwatir which made my code work. I have added the OUTPUT also. I am getting PENDING which i want to implement Please tell me how to

[wtr-general] Re: Not Able to Use Rspec framework

2009-10-23 Thread Željko Filipin
On Fri, Oct 23, 2009 at 11:38 AM, abhisheksreepal abhisheksree...@gmail.com wrote: But I wanted to Use Rspec. Then this is rspec problem. You should ask them for support: http://rspec.info/ We have some rspec documentation on the wiki: http://wiki.openqa.org/display/WTR/RSpec

[wtr-general] Re: Not Able to Use Rspec framework

2009-10-23 Thread abhisheksreepal
Hi , Thanks for the reply. I know SafariWatir will not work in Windows. When I didn't had safariwatir installed, i was getting error similar to this . No such file to Load -- safariwatir I didn't know what was the root cause . So had to install Safari Watir.

[wtr-general] Re: Not Able to Use Rspec framework

2009-10-23 Thread Bret Pettichord
abhisheksreepal wrote: include Watir::Container Don't do this. --~--~-~--~~~---~--~~ 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