Forum Discussion
Abramova
13 years agoStaff
Hi Ofer,
If the tab caption changes from one application run to another, you can use the asterisk (*) wildcard in place of the caption. For example:
if(Aliases["FusionDesktop"]["HwndSource_MainWindow"]["MainWindow"]["Grid"]["TabControl"]["Grid"]["WPFObject"]("ContentPanel")["WPFObject"]("PART_SelectedContentHost")["WPFObject"]("AssemblyViewTabControl")["WPFObject"]("Grid", "", 1)["WPFObject"]("Grid", "", 1)["WPFObject"]("UserControl")["WPFObject"]("UserControl")["WPFObject"]("TabItem", "", NumberOfTabs)["WPFObject"]("UserControl")["WPFObject"]("StackPanel", "", 1)["WaitWPFObject"]("TextBlock", "*", 10000)["Exists"])
For more information on using wildcards, please refer to http://smartbear.com/support/viewarticle/18943/.
Related Content
- 3 years agovaishalisaid
Recent Discussions
- 15 hours agoAivanitskiy
- 19 hours agonastester