[Wtr-general] 2 questions re: cookies and passing parameters
Gabe
forum-watir-users at openqa.org
Thu Aug 31 18:38:53 EDT 2006
I have two miscellaneous questions:
1) How can I delete cookies from within watir? I noticed that there is a method for this in Watir::CookieManager::WatirHelper, but I am really new to Ruby, and can't figure out the syntax I need to use :-)
2) I would like my watir unit tests to accept an optional command-line parameter which specifies the site to run tests against. This way I could easily use the same script to test my app in different environments: localhost for development, a staging server, etc. Is this possible?
TIA,
Gabe
---------------------------------------------------------------------
Posted via Jive Forums
http://forums.openqa.org/thread.jspa?threadID=3911&messageID=10749#10749
More information about the Wtr-general
mailing list