Forum Discussion
- Marsha_RModerator
What did you try and what happened then?
- naveens33_Contributor
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_Contributor
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
Recent Discussions
- 16 hours ago
- 16 hours ago
- 4 days ago