Re: Autogenerate IDs for eatch widget

2024-02-06 Thread Leon Pennings
There are ways to get id attributes on elements working even just for test, but that will not work efficiently for testing purposes. As id's need to be unique within the html, you have manage this for instance with a counter. If you do not keep them unique you'll be in a world of html behavior

Re: Autogenerate IDs for eatch widget

2024-02-06 Thread Sebastian Bota
Thank you very much for your response On Tuesday 6 February 2024 at 12:03:38 UTC+2 Jens wrote: > Nothing that I am aware of. Also I think you need some naming conventions > for your debug ids anyways which makes automatic generation difficult. > Otherwise it will be difficult to write and

Re: Autogenerate IDs for eatch widget

2024-02-06 Thread Jens
Nothing that I am aware of. Also I think you need some naming conventions for your debug ids anyways which makes automatic generation difficult. Otherwise it will be difficult to write and later understand the UI test if debug ids are generic like input-0, input-1, input-2. You also need to

Autogenerate IDs for eatch widget

2024-02-06 Thread Sebastian Bota
Hello everyone. I have a GWT application and for testing purposes ( using external UI testing tools ) i need that each widget to have an ID set. i know it is possible by using ensureDebugID(), but this approach will take forever to change in my project and is very error prone. So my question,