Forum Discussion

asafa's avatar
asafa
New Contributor
14 years ago

Method to find an object of specific item

Hi,



is there any method in testComplete that can be used to find an object of a specific item value  (not property)?



thanks

1 Reply


  • Hello Abdulfattah,





    As far as I understand, you need to find a UI control by its text. If it is what you need, you can use the FindChild method for this. Locate the object in the Object Browser and find the property that contains the object's text. To find the object from script, pass the property name and the property value to the FindChild method.





    If it is not what you need, please specify what exact control you want to find and by what criteria. Also, select the control in the Object Browser so its properties are visible, make a screenshot and attach it to your reply.