We did not put the typeAndReturn, type, and keyType methods on the Selector object. The supported methods are listed here:
http://code.google.com/p/aost/wiki/UserGuide070UIObjects#Selector However, if you really need to use these methods on a Selector object and we missed that, please let us know and we can added them to 0.8.0. Thanks, Jian On Mon, Jul 26, 2010 at 2:51 AM, messidinho <[email protected]> wrote: > I'm trying to simulate an enter/return key keypress event on a > Selector element using the following alternatives, but haven't had > success triggering it: > typeAndReturn "AlbumStatus", "\\13" > type "AlbumStatus", "\\13" > keyType "AlbumStatus", "\\13" > > The error message that I keep getting is along the lines of: > groovy.lang.MissingMethodException: No signature of method: > org.telluriumsource.ui.object.UiObject.typeAndReturn() is applicable > for argument types: (java.lang.String, > org.telluriumsource.dsl.BaseDslContext$_typeAndReturn_closure11) > values: [\13, org.telluriumsource.dsl.BaseDslContext > $_typeandreturn_closur...@8c97dd] > > The UI defined as follow: > ui.Selector(uid: "AlbumStatus", clocator: [name: "Album_Status"], > respond: ["keypress"]) > > Anyone done such a thing before or know how to? > > Thanks > > -- > 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.
