Re: [rspec-users] Unable to use Rspec Framework in Watir

2009-10-26 Thread Ashley Moran
On 26 Oct 2009, at 07:10, abhisheksreepal wrote: Thanks. There were a few other things odd about your code though. You don't need to use global variables ($), and you're including thinks into the global namespace object. RSpec is heavily block-oriented, and it makes life a lot easier

[rspec-users] Unable to use Rspec Framework in Watir

2009-10-24 Thread abhisheksreepal
Hi , My OS is Windows Xp. I have mentioned a code below.Initially I didn't had safariwatir installed. When i was executing the code, I was getting an Error- No such File to Load -safariwatir I didn't Know the Root Cause. So had to install SafariWatir in Windows. Now I am able to execute the

Re: [rspec-users] Unable to use Rspec Framework in Watir

2009-10-24 Thread Ashley Moran
On Oct 23, 2009, at 2:47 pm, abhisheksreepal wrote: describe 'should Navigate to Gmail Login Screen' do it 'Enter username' $ie = Watir::IE.new $ie.goto($email) $ie.text_field(:id, 'Email').set($username) #$ie.text.should ('Aidy Lewis') end You missed the block delimiters: