Paul Rogers says

> the ParentClass would have methods to validate that everything is there, the 
> title > is correct etc. It also has the code to do the translation of the 
> descrptive  name ( > eg login_button) to the actual element ( button(:value , 
> 'Login Now!')

Very good idea. I have been struggling with the concept of making
automated acceptance tests OO. What could I do? Have a Login class
with a constructor containing ie.goto(url) - and extend that??

> class MyLoginPage < SomeParentClass

would you ever extend MyLoginPage or add additional methods to that
class as needs occurr?

Where do modules come into this framework?

> Bob Cotton from Rally has doe some similar type things, as has Elizabeth
> Hendrickson. Another guy I have worked with also came up with something
> similar, which makes me think this is sort of okay.

yes, there are some people who you can more or less have complete
faith in; but not many.


> Ive also been using something like this for model based testing, which really 
> is
> kind of neat.

I know nothing of this. Maybe off-topic. Would you consider this agile?

Would you mind me looking into these ideas, and if I tag your name on
- blogging them or adding them to the wiki or something?

aidy
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to