Forum Discussion
Use the Object Spy tool, to see what properties and methods are exposed on your UI object.
There might be methods you can invoke to select the item.
Hi rraghvani, yes i am able to find the required method which is ClickItem. But i am not sure how to use the ClickItem to select the child by the tree index .I am able to use the Clickitem to select the child by name but not sure how to reference that child as a tree index which is a feature available in Microsoft Power Automate
- rraghvani8 months agoChampion Level 3
UI objects written in different development tools produces different results, shown in Object Spy. If you don't provide a screenshot, then it's impossible to provide some sort of solution.
Visually, the control looks like a tree control, but under the hood, we don't know what technology it's using.
If using ClickItem method works, why do you need to select the item via its index value?
- vivekmit8 months agoOccasional Contributor
Hi rraghvani, thanks once again for your reply.
The main reason to click the item using the index value is because the name of the child members keeps changing dynamically based on users configuration for this application. If i am able to identify the child members by index value using TestComplete , i can proceed further and make the test flexible for various user configurations for this application.
- rraghvani8 months agoChampion Level 3
For example, here's a screenshot of Object Spy on the tree control. Which shows the properties and property values.
Related Content
- 3 years ago
- 5 years ago
- 10 months ago
- 10 years ago
Recent Discussions
- 9 minutes ago
- 6 days ago
- 10 days ago