Andrew Kreps
7/11/2006 10:11:00 PM
I've never used watir, but the best way I've found to isolate
environments is using virtualization software such as VMWare, Virtual
PC or the like. It sounds like it might be overkill for you
(especially if you want to run more than, say, 4 instances) but I
thought I'd throw it out there.
On 7/11/06, Ezra Zygmuntowicz <ezmobius@gmail.com> wrote:
>
> On Jul 11, 2006, at 1:21 PM, Sean O'Halpin wrote:
>
> Thanks Sean. We are already using runas I should have mentioned. THe
> reason this is failing is because some of these sites have modal
> dialogs and the only way to deal with these in watir is via
> click_no_wait. What click no wait does is uses system to start
> another process so the modal dialog doesn't block the entire ruby
> process. THen when the separate process tries to re-attach to the
> window there is a security error that won't let a different process
> then the one that started ie bind to the window. This all goes away
> if we can get a way to dynamically manage the cookies somehow. Or
> under wine each instance if wine will have its own environment that
> skirts the issue as well. We have been up and down the wall with this
> issue for the past week and have come up with no answers yet. I do
> appreciate the suggestion though.
>
> Thanks
> -Ezra
>
>
>
>
>