I'm working on a script using watir-webdriver, which I'm trying to execute
in parallel. By parallel, I mean that the code spins off a new thread per
user designated, and executes the same script for each user, resulting in
an additional web browser per user (in our case, Firefox, but I don't
You really need to watch your variable scope when you try to thread thing
like this. I've run multiple browsers at the same time without issue. Can
you post an example of your code so we can help?
On Wednesday, April 2, 2014 5:23:11 PM UTC-4, gunit888 wrote:
I'm working on a script using
It really shouldn't be a problem. I have done this before one of the apps
we have multiple users placing bids on the same item. the problem with the
date not being sent correctly is more of a hardware/timing issue than a
problem with watir. if your machine doesn't have enough memory or cpu
Thanks for the thoughts everyone. I believe Oscar.Rieken was correct here,
with respect to the lack of memory or cpu causing a timing issue.
My original code was:
def set_date(field_label, content)
date_field = find_coach_frame.label(:text =
field_label).parent.text_field(:type = 'text')