PDA

View Full Version : MyGWT 0.5.2: how to add markup IDs to TreeItems?



Dimedrol
18 Feb 2009, 4:53 AM
Hello!
I'm still using MyGWT 0.5.2.
I've got a tree with viewer and filter.

So, I need to test this tree with Selenium testing tool, but this tool needs HTML Markup IDs (unique IDs) for every element I can click on.
So... Is it possible to add an ID to every TreeItem, to the "link" of this item, - what I'm clicking on to expand item, collapse them and so on.

Using FireBug I see something similar to unique IDs on a strange nested SPANs and some other UI elements of the tree items, but the main element, which handles CLICK event seems like not having an ID, that's why Seelnium not "sees" this item and cannot catch a click on it.

Please, help.