> I am new to ruby and watir, so this might be a very trivial question. Welcome!
> > Is there a elegant solution to have a modular test script approach? > > I have blocks of code that will be always the same for the web-site I am > going to test, like "login", "search", "logout", etc. So my idea is to put > those modules into separate files and then call them from a script called > "testExecution.rb". What is your solution? This is a classic refactoring exercise. Look up "Module" in the Pickaxe, or look around at the Watir distro for some fairly advanced examples. (I'm doing this right now on my current project, once you start, you'll get the hang of it quickly.) -Chris _______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
