While recording the script the recorder is identifying the object by the text displayed in the object (like values in the dropdown).
There is a method “selectOptionByValue”. If there is something to choose by ID then it will be helpful.
Please find the Recorded Script -highlighted object identification Name
In my application, I will be loading dropdowns based on values from database and not all the time the same text will appear.
So please let me know if I can make the recorder to take only ID and NAME attributes of the HTML elements and not text value inside the elements.