Forum Discussion
Probably the best place to start is to look at how TestComplete works with developer express controls, specifically the tree list. Read up on it at https://support.smartbear.com/testcomplete/docs/reference/test-objects/controls/desktop/dev-express/winforms/xtra-tree-list/index.html
Beyond that, I'm not fully experience with using that set of controls so I don't know specifics. The best advice I can give you is to start exploring the objects, looking for native methods and properties that will get you the node name. I believe you're going to want to find the "Caption" property.
So.... the question is:
Are you looking to find the caption of a node for which you don't already know the name?
Or are you looking to find the node that matches the captionyou already know?
The latter is easier... you loop through all the nodes using a for or while loop until you find a matching caption. The former.... not so easy. ;)
Related Content
- 4 years ago
- 5 years ago
Recent Discussions
- 9 hours ago