Solved
Forum Discussion
Marsha_R
Champion Level 3
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 agoSuperTester
- 7 months agomengbinhao
- 2 years agorkadali
Recent Discussions
- 23 hours agoMW_Didata