>From your discussion, you seem to simply want to run multiple watir test suites concurrently, rather than specifically test the concurrency of the systems. True?

To test concurrency, you have to coordinate two or more browsers. For example you have two browsers bring up the same record and the same time and try to save different changes. But that's not what you are doing. Right?

If so, the solution is easy.

Write your watir test suite and make it so that it will work when minimized. This means that you can't have any popups. It's not that hard to do, depending on your application. For example the Watir core test suite runs this way.

Now simply run your separate watir scripts separately. No programming required. Just start one at a command line and the other from another command line.

If you are still having trouble then you are going to have to provide more detailed information about the interferences you are seeing.

Bret

On 5/10/06, John Fitisoff <[EMAIL PROTECTED]> wrote:
Help! I'm new to Watir, and am trying to get my
company to use it, but am running into a problem. I'm
trying to run multiple, independent windows without
having them interfere with each other. I've tried a
few different things:

-ie, ie1, ie2 etc... (no globals)

-Using winclicker to launch an existing HTML page and
then attaching to it.

-Looking at the concurrent_tests example.

The reason that I'm doing this is I need to fit this
in with what the build engineer is already doing. To
make him happy, I need to deliver a suite of tests
that can be run against different servers on the
network, and at least some of the time these tests are
going to be run simultaneously on a system that will
host the test. In some cases, two different test
suites would be running at the same time.

I don't think I can use the concurrent example because
these tests won't be run at exactly the same time and
I also need to pass the test suite a base url for the
server I'm testing against.

No matter what I've tried, the instances end up
interfering with each other and some of the tests fail
with errors. Is there some way to work around this?
I'm not the most technical person in the world but
this is a really cool automation tool and I'd like to
get it adopted here for UI testing. I'm not sure if
I'll be able to do that if I can't figure out how to
get past this.

Please don't make me go back to HTML Unit. :-)

Thanks

John











__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to