[Wtr-general] Beep for intervention?
Mike Townley
mtownley at firstlook.biz
Mon Jun 5 18:35:32 EDT 2006
You can't do that with Watir, but you can with ruby in general. Remember
that you are not limited by Watir to what you can do in your test
scripts. Your upper limit is with Ruby. You can program a notification
in ruby when it gets to a specific part of your script. Maybe you would
like it to open an alert box or play a sound or something like that? You
can find code in the libraries on how to do nifty things like this.
Best Wishes
Mike
-----Original Message-----
From: wtr-general-bounces at rubyforge.org
[mailto:wtr-general-bounces at rubyforge.org] On Behalf Of Michael Moore
Sent: Monday, June 05, 2006 5:28 PM
To: wtr-general at rubyforge.org
Subject: [Wtr-general] Beep for intervention?
I've got a script that can take some time to run, and needs human
intervention in a couple parts. Is there a way to have Watir beep or
make some sort of audio notification?
I guess I could make a page that plays a MIDI file or something which
would get opened up at a certain point in the code, but something
cleaner would be nice.
Thanks,
--
Michael Moore
-------------------------------
www.stuporglue.org -- Donate your used computer to a student that needs
it.
www.ubuntu-utah.org -- In Utah? Interested in Ubuntu? Come join us.
_______________________________________________
Wtr-general mailing list
Wtr-general at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general
More information about the Wtr-general
mailing list