Hi Marekj,

Not exactly sure what you are doing here, but maybe you could look at
delegation or the factory pattern to factor out the conditional
statement.

Aidy

On 15/12/2008, marekj <marekj....@gmail.com> wrote:
> Is this what you mean by object man?
> A wrapper accessor method to a DOM control?
> http://www.bitbucket.org/marekj/watirloo/src/tip/test/select_list_as_face_test.rb
>
>
> marekj | Semantic Page Objects Automation
>
> Watirloo: Browser Page Helper Framework
> http://www.bitbucket.org/marekj/watirloo/
> for IE, Firefox and others?
>
>
>
>
>
> On Mon, Dec 15, 2008 at 12:07 PM, aidy lewis <aidy.le...@googlemail.com>
> wrote:
> >
> > Hi,
> >
> > Is anyone still use an object map?
> >
> > def project_action_dropdown
> >  browser.select_list(:id,
> /ProjectListControl_ddlActions/)
> > end
> >
> > project_action_dropdown.select("aaa")
> >
> > I found it highly cumbersome and timeconsuming and felt I didn't
> > really need it when using RegEx.
> >
> > What are other's opinions?
> >
> > Aidy
> >
> >
> >
>
>
>  >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Watir General" group.
To post to this group, send email to watir-general@googlegroups.com
Before posting, please read the following guidelines: 
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to 
watir-general-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---

Reply via email to