Friday, May 30, 2014

debugId with UiBinder not working?

Hello there!  I am trying to use selenium with my GWT app and I have noticed that it uses inappropriate css class selectors to find the widgets. I did some research into this and it seems I need to use 'debugId' attribute in my UiBinder xml template. I have added debugId attributes and have also tried using the ensureDebugId method on @UiField annotated members. Neither of these approaches have resulted in usable IDs, or any IDs, on my widget elements.

Here is my UiBinder template: https://gist.github.com/katernya/d35ea486d50ae45b6995
Here is my LoginViewImpl class https://gist.github.com/katernya/9dbf2aa23cadd73dae24
Yes my UiBinder xml is caled LoginViewImpl.ui.xml

Thanks for any help!  This is with gWT 2.6.1 and Java 1.7 on Windows (embedded jetty instance launched via cargo) with and without super dev mode enabled.

Kay

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment