Widget object extends UiObject and thus, it has a locator attribute. Please see the jquery-ui project as a reference.
But I want to remove the locator in the widget object in the future because a widget should be an encapsulation of a set of UIs and it only needs options to define itself. To further define the location of a widget, you can specify the locator of the UI object that references the widget. Could you tell me your use case that you need a locator for the widget? Thanks, Jian On Sat, Aug 21, 2010 at 8:05 PM, Rudy Bonefas <[email protected]> wrote: > Is it possible to use a clocator in a widget class definition? I > tried this but at run time I get > > > groovy.lang.MissingPropertyException: No such property: locator for > class: org.telluriumsource.ui.widget.WidgetDslContext > at > > org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java: > 49) > > Seems a shame if this is true since the composite locator allows me > to not have to write a full XPath query. > > -- > 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]<tellurium-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/tellurium-users?hl=en. > > -- 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.
