I have test code like the following:

 

  def test_datapage

    login

    test_the_page

  end

 

where login and test_the_page are other methods in the TestCase class. When I run this it seems the login method and the test_the_page method are run in parallel. I cannot figure out how to make the test_the_page method wait for the login method to finish.

 

BTW I am a beginner to both Ruby and Watir.

Thanks in advance,

Jamie

 

 

 

 

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to