I’m very new to Selenium. I want to write Selenium test cases for GWT widget. I can wirte test case for HTML elements since they have id, but i’m not able to do the same in GWT. I want to test widgets such as textboxes, images, listbox etc.
Can anyone help me?
Thanks in advance,
Gnik
Now I set debugId for the GWT widgets. Using that Id I can access the elements and test.
For eg. In UiBinder set id as
<g:TextBox ui:field="textBox" debugId="userBox"In the java code,
textBox.ensureDebugId("userBox");I can access these widgets in Selenium as follows,