Posted: 22 Jan 2018 9:20 EST Last activity: 2 Feb 2018 13:29 EST
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.)?
***Updated by moderator: Lochan to add branch reply and create new post***
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.