Use the method ensureDebugId(), or in UI binder use the attribute debugId to set IDs for selenium. This is the recommended way to get selenium working with GWT.
--Sri On 26 March 2010 07:37, jt <[email protected]> wrote: > Hi, > I am trying to create java automation script with selenium for web > application built on GWT. Here i am facing difficulty where selenium > records ids like this "//d...@id='x-auto-40_x-auto-96']/div/span[2]" > where it is not giving exact element name. After recording this when i > am trying to run this script it is giving error element id not found. > > These are kind of side labels which if user clicks open page with > different menus. > > please help me here. > > thanks, > J > > -- > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" 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/google-web-toolkit?hl=en.
