I am using selenium to test my GWT application and need to set known
IDs (not randomly generated) for all my widgets. I used setId() method
to set the them but it is not working for the following classes :-
    com.gwtext.client.widgets.menu.Item
    com.gwtext.client.widgets.menu.Menu

My code looks like :-

Menu menu = new Menu();
Item item1 = new Item("Item1");
item1 .addListener(ControllerFactory.buildBaseItemListener(Some
listner));
item1.setId("ITEM_ID");
menu.addItem(item1);
menu.setId("MENU_ID");

It worked for "com.gwtext.client.widgets.form.DateField" though.

Is there any other way for setting IDs? Any help will be highly
appreciated.
Thanks,
Shantanu

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"GWT-Ext Developer Forum" 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/gwt-ext?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to