On 12/07/07, Richard Conroy <[EMAIL PROTECTED]> wrote:

> If you have a lot of page-specific methods, chances are there are a few
> smells going on, and you are missing an opportunity to DRY up common
> behaviour into libraries.

Good point. But any commonality between page objects is extracted into
a separate class.

e.g class Project
         def log_out;$ie.link(:text, /Sign Out/);end
       end

Thanks for the feedback. Need to think where to hold test data now,

Aidy
_______________________________________________
Wtr-general mailing list
Wtr-general@rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to