| || |
Not able to get child objects of the panel
I have many sub panels on the main panels. I have developed a framework which needs object names and some properties for UI validation.
For this I have a created a script which reads all the objects on a particular format and outputs the data table to external excel sheet.
I have used childobject property to get the object in a panel.
Problem: I have 2 panels with exactly same name and same path.
One panel object I can get the child objects but for the scond panel it does not recognize the panel. I mimize the first panel before trying for the second panel. Still it does not recognize.
While recording two check boxes on the two panels it gave same mandatory properties in the OR. On playing it played successfully. I am trying on which property QTP is distinguising the two panels.
Thanks in advance.... [img]/images/graemlins/cool.gif[/img]
Re: Not able to get child objects of the panel
I don't know your application obviously, but for something like this I might approach my developers and ask that they change this so it is not identical. If this is a case where the user will be just as confused as my automation, then they should change it.