Hi all,

There is a requirement in my application (which has been in
development since a year) that every widget needs to be identified by
a unique value. The reason,I am told, for this is that having a unique
identifier for all the widgets will simply the automation of
functional testing. The application has many screens with a lot of
widgets - both custom and the ones provided by GWT. Also, the
identifier for a particular widget needs to be same across multiple
runs of the application.

I would like to have a solution which is easy to implement (dont want
to change a lot of working code) and would not add much to the code
base. One of the solutions could be modifying the constructors of all
our custom widgets so that they would accept an identifier as a String
which could then be added to the widget using DOM.setElementAttribute.
But, this would involve changes in all the places where we are
instantiating the widgets and will also require creating classes for
those widgets which we are using directly from the GWT library.

Guys, if you have a solution better than the one above or if there is
something in GWT which supports the same, please suggest asap.

Thanks and regards,
prads
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to