Posted: 18 Jul 2016 17:03 EDT Last activity: 5 Dec 2016 4:24 EST
Unique ID for DIV elements
We have noticed that Pega does nto generate a unique ID for each DIV elements for repeating grids and some other layouts. This has become a blocked for automation testing using cucumber/ruby. Is there a way to get a unique ID generated for all the UI elements.
I have seen an option to generate ID for some of the control like label, text box etc... is there a way we can generate unique ID for all other UI elements like grid etc
From Pega 7.1.8, I see that generateID is available on UI control elements like text, label, button, etc.. However, this is currently not available for layouts. May I know the product version used at your end?
For grids, We will be having id at the div tag level. The id of the gird will be in the following format
Lets say for First grid in the current html page it wil be id="PEGA_GRID0. For second grid in the same html page the id will be id="PEGA_GRID1". If you check the html mark up of the grid in developer tools you will find it. Attached is the screen print for reference.
I have started working on PEGA automation and want to know if there is any possibility that different elements will have same element id, as we have multiple developers on the same project. Also if the unique id will change dynamically everytime time we open the application.
This comment has been branched out as a new node and the new thread can be followed here