Micro Focus QTP (UFT) Forums
Reason for change in object properties - Printable Version

+- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums)
+-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP)
+--- Forum: UFT / QTP Others (https://www.learnqtp.com/forums/Forum-UFT-QTP-Others)
+--- Thread: Reason for change in object properties (/Thread-Reason-for-change-in-object-properties)



Reason for change in object properties - Sathiya - 07-18-2013

Hi,

i just want to know the reason for change in the object properties. today i have created some code in qtp and it is working fine... but after any deployment if run the scripts it gets failed.... due to change in objects properties.... even though the developers didnt touch the properties of the objects in the application.any idea?


RE: Reason for change in object properties - Sathiya - 07-19-2013

any update?

please


RE: Reason for change in object properties - basanth27 - 07-19-2013

How did you prove that the object properties have changed? Failure is allright, but when you spy'd have the object description changed? If yes, apart from the dev team there aint gonna be anyone else who would be able to make the changes.

Also, when you spy and if the description have changed then you can highlight the same changes to the dev team. The object descriptions are technical enough for them to understand.


RE: Reason for change in object properties - Sathiya - 07-22-2013

Hi basanth,

Thanks for your reply.... i need the answer from dev point of you. we need to prove the development team that due to the the deployment the objects propeties like html id, id, etc changed.... and issue not from testing side... (we are using OR which is mandatory in our project)


RE: Reason for change in object properties - ravi.gajul - 07-22-2013

Either the developers change the properties or the properties are dynamically rendered by the framework they use. This is one of the challenges,we automation testers face. I would suggest you to go for properties like xpath for such objects. However this is applicable only if you are using qtp 11.0 and above.


RE: Reason for change in object properties - basanth27 - 07-22-2013

From your OR pick the object which is failing, spy it and see what properties have changed? Have they changed?