Forum Discussion
Marsha_R
Moderator
What did you try and what happened then?
naveens33_
3 years agoContributor
I am looking for any optimized way or build-in methods of TC to find element through its sibling.
Currently I did a workaround like this,
Aliases.TactService.HwndSource_MainWindow.CommonWindow.ItemsControl1.ListBox.TextblockFirstName.Parent.FindChild('Name','WPFObject("TextBox","",1)')
- naveens33_3 years agoContributor
Currently I did a workaround for this
find_following_sibling_element = lambda child1,element_name,depth=0 : child1.Parent.FindChild('Name',element_name,depth)
Related Content
- 5 years ago
- 12 months ago
- 3 years ago
Recent Discussions
- 3 hours ago
- 5 hours ago