Yesterday I spent a bunch of time getting my watir and ruby versions synchronized on the various machines I use for developing and running tests. I am now using:
Ruby 1.8.2-15 Stable Release
watir-1.5.1.1017
Is this the right (or at least a "good") Ruby version to use with the latest Watir? I scoured watir.com and the wiki for recommendations on this but couldn't find any.
Anway, I am now receiving the "RPC Server unavailable" message intermittently when running tests. I found an old discussion on this (http://rubyforge.org/pipermail/wtr-general/2006-January/004634.html) where Bret recommends:
"1. Add time delays between the ie.close and ie.new or ie.start. This will
give a chance for the ie.close to really close.
2. Don't close IE -- just reuse the existing client between tests.
3. Create an additional IE. As long as this lives, the IE server will
continue to live and you can close and create IE windows without worry.
I presume you are using Watir 1.4. The watir library in HEAD uses option 3
to avoid this problem."
Am I seeing a different problem since I'm using watir-1.5? Or is it the same thing? If it is the same thing, how do I do #3?
Dara Lillis • Software Testing • SunGard • Kiodex • 628 Broadway, Suite 501, New York, NY 10012
Tel 646-437-2627 • Fax 646-437-3910 • http://www.sungard.com/Kiodex
CONFIDENTIALITY: This email (including any attachments) may contain confidential, proprietary and privileged information, and unauthorized disclosure or use is prohibited. If you received this email in error, please notify the sender and delete this email from your system. Thank you.
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
