Hey guys!
I realize this may be a question that it would be more proper to ask in a
Ruby forum, but I thought I should ask it here first since you're all so
helpful...
I created a module and a method that defines other methods, thus...
module TopMenuBar
def menu(name, menu_id, link_id,
Never mind. I figured it out. My method def was missing a self. ...
def *self.*menu(name, menu_id, link_id, target_class)
define_method(name) {
--
Before posting, please read http://watir.com/support. In short: search before
you ask, be nice.
watir-general@googlegroups.com
using the page object pattern might be a better solution to address
what you are doing there. Gives you one place to update should any of
those ID values change, and a lot more readable code in most cases
Here's an example:
Hi,
I would like to know if there is a open source test management tool
that I can use to house and execute my watir scripts from. I am just
starting to build my companies automation suites and would like
something similar to Quality Center but without the expense. Any help
in the matter would
http://www.opensourcetestmanagement.com/
The only one in the list that I've used was Fitnesse. You may already have
tools that work well with Watir. for instance, if you use confluence, you
can try this:
http://watirmelon.com/2008/04/13/watir-tests-from-wiki-page/
Good luck,
Dave
--
Before