05-19-2015, 12:30 AM
Hi,
Usually we find the unique value of the property ,which makes qtp to identify the object..
usually class, htmlid , height,x,y,micclass
class because most of the times ,when it is a non standard object - its class which is defined by the developer takes a uniqe name.
html id is itself unique in dom;
but when everything is same which happens sometimes,u create a common description and then u can play with the childobjects of that desc ,first count total objects that are of similar description and then u can get the index of that particular object by just some trials and then work with that object
Usually we find the unique value of the property ,which makes qtp to identify the object..
usually class, htmlid , height,x,y,micclass
class because most of the times ,when it is a non standard object - its class which is defined by the developer takes a uniqe name.
html id is itself unique in dom;
but when everything is same which happens sometimes,u create a common description and then u can play with the childobjects of that desc ,first count total objects that are of similar description and then u can get the index of that particular object by just some trials and then work with that object