Posts: 91
Threads: 19
Joined: May 2011
Reputation:
0
07-18-2013, 10:43 PM
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?
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
07-19-2013, 12:04 PM
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.
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.
Posts: 91
Threads: 19
Joined: May 2011
Reputation:
0
07-22-2013, 09:19 AM
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)
Posts: 257
Threads: 10
Joined: Oct 2011
Reputation:
2
07-22-2013, 09:41 AM
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.
Posts: 1,003
Threads: 1
Joined: Jul 2009
Reputation:
5
07-22-2013, 12:03 PM
From your OR pick the object which is failing, spy it and see what properties have changed? Have they changed?
Basanth
Give a fish to a man and you feed him for a day..Teach a man how to fish and you feed him for life.