Forum Discussion
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_
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
- 11 months ago
- 3 years ago