Thanks - I'll give that a try.
I'm new to CSS selectors, so I was following the documentation here:
http://www.w3.org/TR/css3-selectors/#selectors
Is there a better reference?
Thanks again,
Matthew
On May 3, 12:58 am, Guilherme Chapiewski
> Guilherme Chapiewskihttp://gc.blog.brhttp://guilherme.prohttp://
twitter.com/gchapiewski
>
> On Mon, May 3, 2010 at 1:43 AM, Guilherme Chapiewski <
>
>
>
>
guilherme.chapiew...@gmail.com> wrote:
> > Hi Mattew,
>
> > There's a problem with your code. Notice that there are 2 ways of
> > registering elements:
>
> > 1) self.*register_element*("Google Search", "//input[@id='btnG']") --
> > register_element registers an element using its XPath.
>
> > 2) self.*quick_register*("My Div", "div.myclass") -- quick_register
> > registers an element using its CSS selector.
>
> > That said, you must do one of the following:
>
> > 1) self.register_element("Search Box",
> > "//div[contains(@class,'textboxlist')]")
> > 2) self.quick_register("Search Box", "div.textboxlist")
>
> > It should work fine. Meanwhile I'll try to think about more comprehensive
> > names for those methods.
>
> > Cheers,
> > gc
> > --
> > Guilherme Chapiewski
> >
http://gc.blog.br
> >
http://guilherme.pro
> >
http://twitter.com/gchapiewski
>
> For more options, visit this group athttp://
groups.google.com/group/pyccuracy?hl=en
>
> Don´t forget to visit the project's JIRA site athttp://
jira.stormwindproject.org:8080/browse/PYCCURACY.