Forum Discussion
17 Replies
- baxatobCommunity Hero
Hi,
Did you already read this topic: https://support.smartbear.com/testcomplete/docs/reference/test-objects/members/common-for-all/find-method.html ?
- shankar_rCommunity Hero
Hi,
It is pretty straight forward,
Lets say you have parent object as explorer and child item as Program Manager like below,
Here if you want to find a Program Manager object from explorer then you have to use any of it is property to get that object.
Here, we can use WndCaption as object property and Program Manager property value.
So, Sample code will be.
objExplorer.Find("WndCaption","Program Manager",1,true)
For more details you can refer the link provided by baxatob
- ManojrsrContributor
Hi Thanks for the clear information.can you please give example in web based objects. like finding Button in web page. i have attached screenshot for reference
- ManojrsrContributor
Yes. but i didnt understand the parameter of PropNames, PropValues i need detail on these two parameter where i can able to find those two paramete
- shankar_rCommunity Hero
PropName and PropValue are the property details of your object which trying to find from the parent.
First you need to understand the concept of what is Object and its properties