Solved
Forum Discussion
3 Replies
Sort By
- Marsha_RChampion Level 3
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 agoSuperTester
- 7 months agomengbinhao
- 2 years agorkadali