Hi,

I have the following ui definition;

ui.Form(uid: "groupSearch", clocator: [id: "GroupSearch"]){
  Container(uid: "departure"){
    Selector(uid: "time", clocator: [name: "outbound/timeSelect",
style: '*block'])
  }
}

However when I try and call;

selectByValue "groupSearch.departure.time", outboundTime

I get the following exception;

com.thoughtworks.selenium.SeleniumException: ERROR: Element
uimcal={"rid":"groupSearch.departure.time","locator":"jquery=#GroupSearch
select:styles(*block)[name=outbound/timeSelect]"} not found

Why has my indended match on the style attribute been transformed to a
:styles() selector? This seems like a digression from the
documentation for Composite Locator. Note also that I can't seem to
find any documentation of the styles notation in the jQuery Selectors
documentation so I can't look there for a possible workaround in my
notation.

I've worked around the issue for now by manually specifying the locator;

Selector(uid: "time", locator: "
select[name='outbound/timeSelect'][style*='block']")

however I would prefer to use the clocator if possible.

Regards,

Jonathan

-- 
You received this message because you are subscribed to the Google Groups 
"tellurium-users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/tellurium-users?hl=en.

Reply via email to