Note: First try with some Test Object properties and hope it will identify the object with these properties, but if there is any problem in identifying the object then go and add some Runtime properties (you must look for an unique property here).
hey thanks it worked
But one question came into my mind
i had taken Test obj properties & not Run-time obj properties.
the properties which i had selected from test obj were not there in run-time obj then also it ran successfully .
then my ques is why is it accepting though it is not there in run time as run time objects are more imp.
also explaing difference between these 2 properties
It is not required to have similar properties in both TO & RO properties, TO properties are standalone qtp built properties whereas RO properties are created by the web dynamically mostly for the dynamic objects and not for the stable objects.
Most of the time, in web applications also all the objects are stable except in some special cases and there we have to use RO properties (where the property values will change dynamically)
Your Test Object properties are used by QTP to identify the objects in AUT. So when u spy over the Object, u can find the properties that QTP can use to uniquely identify the object.
There would be a correlation between both Test Object and Run Time Object properties, just navigate and check. The names though might not be same for example html id in Test Object property would be id in runtime property.