Sorry that didn't work for you. Then again, I'm guess I'm not clear regarding what you're trying to accomplish, either.
These pages contain info on the Thread class: http://www.ruby-doc.org/docs/ProgrammingRuby/html/tut_threads.html http://ruby-doc.org/core/classes/Thread.html On Feb 5, 5:33 am, venkat <[email protected]> wrote: > Added more info. for better understanding my problem... > > again ran the script, following are the errors: > 1) Error: > testMasters_All(TestSuite): > WIN32OLERuntimeError: > OLE error code:0 in <Unknown> > <No Description> > HRESULT error code:0x80070005 > Access is denied. > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/input_elements.rb:75:i n > `method_missing' > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/input_elements.rb:75:i n > `select_item_in_select_list' > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/input_elements.rb:69:i n > `each' > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/input_elements.rb:69:i n > `select_item_in_select_list' > > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/input_elements.rb:46:i n > `set' > ./CrimeCogTest_AllMasters.rb:414:in `gangSearch' > ./CrimeCogTest_AllMasters.rb:408:in `each' > ./CrimeCogTest_AllMasters.rb:408:in `gangSearch' > ./CrimeCogTest_AllMasters.rb:89:in `testMasters_All' > > 1) Error: > testMasters_All(TestSuite): > WIN32OLERuntimeError: unknown property or method `document' > HRESULT error code:0x80010108 > The object invoked has disconnected from its clients. > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/ie-class.rb:460:in > `method_missing' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/ie-class.rb:460:in > `document' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/locator.rb:44:in > `each_element' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/locator.rb:51:in > `locate' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/container.rb:811:in > `locate_tagged_element' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/image.rb:20:in > `locate' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:53:in > `assert_exists' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:288:in > `enabled?' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:60:in > `assert_enabled' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:233:in > `click!' > C:/Ruby/lib/ruby/gems/1.8/gems/watir-1.6.5/lib/watir/element.rb:219:in > `click' > ./CrimeCogTest_AllMasters.rb:430:in `gangSearch' > ./CrimeCogTest_AllMasters.rb:89:in `testMasters_All' > > thanks > > > > On Thu, Feb 4, 2010 at 1:44 PM, venkat <[email protected]> wrote: > > Thanks in advance if anybody answers my query here it is: > > > i have my watir script named login.rb which checks the functionality of > > Login, go to Inbox then Logout from Gmail website. > > If I run this login.rb using google loadtest example, it fails with > > multiple users (#5), multiple iterations(5). Hence I want run these tests in > > the background process without seeing on the functional GUI navigation on > > windows. > > > Would there be any solution to run my tests for load in the backgound? One > > of my friend's friend gave me clue that it can be done using > > Fork...Spawn...with parent process/ child process even in windows too... > > > Please help me > > venkat -- You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general
