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

Ashley Moran ashley.moran at patchspace.co.uk
Sat Oct 24 11:31:57 EDT 2009


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:

   describe 'should Navigate to Gmail Login Screen' do
     it 'Enter username' do
       $ie = Watir::IE.new
       $ie.goto($email)
       $ie.text_field(:id, 'Email').set($username)
       #$ie.text.should ('Aidy Lewis')
     end
   end

Ashley

-- 
http://www.patchspace.co.uk/
http://www.linkedin.com/in/ashleymoran
http://aviewfromafar.net/



More information about the rspec-users mailing list