[prev in list] [next in list] [prev in thread] [next in thread] 

List:       selenium-commits
Subject:    [Selenium-commits] [JIRA] Created: (SEL-169) Cannot run multiple
From:       "Nate Kirby (JIRA)" <jira () public ! thoughtworks ! org>
Date:       2005-12-14 1:55:04
Message-ID: 79319440.1134525304270.JavaMail.oqa-j2ee () openqa01 ! managed ! contegix ! com
[Download RAW message or body]

Cannot run multiple selenium tests from a ruby driven suite
-----------------------------------------------------------

         Key: SEL-169
         URL: http://jira.openqa.org/browse/SEL-169
     Project: Selenium
        Type: Bug
 Environment: windows ruby
    Reporter: Nate Kirby


It appears that webrick is no shutting down between tests.

require 'seletest'
require 'selenium'

class ExampleTest < Test::Unit::TestCase

    def test_something

        open '/test_click_page1.html'
        verify_text 'link', 'Click here for next page'
        click_and_wait 'link'
        verify_location '/test_click_page2.html'
        click_and_wait 'previousPage'
        verify_element_present 'link'

    end
    def test_something2

        open '/test_click_page1.html'
        verify_text 'link', 'Click here for next page'
        click_and_wait 'link'
        verify_location '/test_click_page2.html'
        click_and_wait 'previousPage'
        verify_element_present 'link'

    end

end

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.openqa.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

_______________________________________________
Selenium-commits mailing list
Selenium-commits@lists.public.thoughtworks.org
http://lists.public.thoughtworks.org/mailman/listinfo/selenium-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic