Did you look at the link I posted? It shows you how to do this.
Here's an example for running two google searches at the same time:
require 'watir'
require 'watir/ie'
def test_google1
ie = Watir::IE.start('http://www.google.com')
ie.text_field(:name, q).set(Test)
This is just gr8. It works
Thanks Dylan
- zakir
On Tue, Aug 11, 2009 at 11:31 AM, Dylan mej...@gmail.com wrote:
Did you look at the link I posted? It shows you how to do this.
Here's an example for running two google searches at the same time:
require 'watir'
require 'watir/ie'
You can do this in ruby with threads (http://ruby-doc.org/core/classes/
Thread.html) although you need to be very careful that the two threads
don't interfere.
-Dylan
On Aug 10, 7:44 pm, Marlon marlonmoja...@gmail.com wrote:
Hi, anyone here knows how to run multiple scripts at the same time? I
for example:
require 'thread'
require 'watir'
class search
def test_google
ie = Watir::IE.start('http://www.google.com')
ie.text_field(:name, q).set(pickaxe)
ie.button(:value, Google Search).click
ie.close
end
def test_yahoo
ie =