I have some test scenarios that have recorded some elements for the first time, and assigned a name to them based on their HTML attributes (in this case, the CSS selector ID).
When I rename the element, then go back to the test scenario which is using it within a step, I noticed that the element’s new name is not reflected within the test.
In this example, the step to record the username and password fields, recorded the elements as “username” and “password” (based on their CSS IDs).
I went to the ‘Elements’ section, chose the appropriate application, and renamed the elements to “‘Username’ input field” and “‘Password’ input field”. (see screenshot 1)
But when I returned to the test scenario, the element name has not changed. This may cause potential issues later, as that element name no longer has meaning within the ‘Elements’ section. In screenshot 2, you can see, I am having to manually edit these myself.