While running multiple test concurrenty does each thread run parallel or 
sequentially.

For eg 

require 'thread'
require 'watir'  

def test_google
  ie = Watir::IE.start('http://www.google.com')
  ie.text_field(:name, "q").set("pickaxe")    
  ie.button(:value, "Google Search").click   
  
end
`
# run the same test three times concurrently in separate browsers
threads = []
3.times do
  threads << Thread.new {test_google}
end
threads.each {|x| x.join}

In this example 3 browser connection are open. Are these 3 browser connection 
open at same time or one after the another.
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to