Setting "ID" for TableItem [message #814804] |
Tue, 06 March 2012 17:48  |
Eclipse User |
|
|
|
Hello,
We have a need to attach an unique ID for UI components to allow our Selenium automation tests to detect the UI components and run test. We have no problem setting IDs for most components, such as Button, Composite, even Table. Now, we want to set an ID for a table ROW. The closest Java class for a row is TableItem. When I try to set WidgetUtil.CUSTOM_WIDGET_ID in TableItem.setData(), the ID never shows up in the corresponding HTML code. Does anyone have an idea why it does not work?
Thank you,
Ronald
|
|
|
|
Re: Setting "ID" for TableItem [message #816219 is a reply to message #816100] |
Thu, 08 March 2012 10:06  |
Eclipse User |
|
|
|
Hi Nick,
I am Ronald's colleague. We would like each row in a table to have a unique id. The ID could be of the form "row_1", "row_2", etc ... That would suit our needs. We can then write our automation tests written in selenium to find our table, then find each child row, and perform actions against columns in the desired row.
Regards,
George
|
|
|
Powered by
FUDForum. Page generated in 0.10471 seconds