Question
1
Replies
144
Views
Posted: January 22, 2018
Last activity: February 2, 2018
Closed
After Pega 7.3 upgrade, data-test-id in outerhtml property of objects with a 23 digit number. Is this stable?
We just upgraded to Pega 7.3 and we now are seeing data-test-id in the outerhtml property of objects. The value is a 23 digit number. Does anyone know if this id is stable and usable for Object Recognition in automation (we are using UFT). Or does it change under some circumstance (compile time, upgrade, other change in the source, etc.)?
Thanks,
Ben
***Updated by moderator: Lochan to add branch reply and create new post***
Hi Ben,
The attribute data-test-id will contain the value present in the field properties Test ID value as shown in the attachment. This will be stable until you change its value using Generate ID button and you can use this attribute in your automation test cases to recognize the object.
Hope this answers your query.
Regards
Mahesh