try renaming the "test_the_page" method to something that doesn't begin with "test_", you are probably causing confusion for Test::Unit


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jamie Czuy
Sent: Monday, August 07, 2006 11:03 PM
To: [email protected]
Subject: [Wtr-general] Problem: tests running in parallel

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

 

 

 

 


CONFIDENTIALITY: This email (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this email in error, please notify the sender and delete this email from your system. Thank you.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to