[Wtr-general] Problem: tests running in parallel

Jamie Czuy jamieczuy at optonline.net
Mon Aug 7 23:03:25 EDT 2006


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

 

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/wtr-general/attachments/20060807/fd23fad3/attachment.html 


More information about the Wtr-general mailing list