Oferv
14 years agoSuper Contributor
Only first tab is clickable
Hi,
when trying to right click on a tab i can see that only the first tab is click able.the line i use to click a tab is:
Aliases["Desktop"]["HwndSource_MainWindow"]["MainWindow"]["Grid"]["TabControl"]["Grid"]["ContentPanel"]["PART_SelectedContentHost"]["AssemblyViewTabControl"]["Grid"]["Grid1"]["UserControl"]["UserControl"]["TabItem"]["UserControl"]["WPFObject"]("StackPanel", "", 1)["WPFObject"]("TextBlock", "TabName", 1)["ClickR"]()
If the tab name is the first tab's name the right click perform without any problem but, if i cahnge the tab name to the second,third...... the right click doesn't perform and i'm getting this error message in the results file:
Type Message Time Priority Has Picture Link
Unable to find the object WPFObject("TextBlock", "TabNamel", 1). See Additional Information for details. 13:03:46 Normal
Why is that?What TC is using in order to identify where to right click(of course i rather using the tab name and not coordinates).
thanks
when trying to right click on a tab i can see that only the first tab is click able.the line i use to click a tab is:
Aliases["Desktop"]["HwndSource_MainWindow"]["MainWindow"]["Grid"]["TabControl"]["Grid"]["ContentPanel"]["PART_SelectedContentHost"]["AssemblyViewTabControl"]["Grid"]["Grid1"]["UserControl"]["UserControl"]["TabItem"]["UserControl"]["WPFObject"]("StackPanel", "", 1)["WPFObject"]("TextBlock", "TabName", 1)["ClickR"]()
If the tab name is the first tab's name the right click perform without any problem but, if i cahnge the tab name to the second,third...... the right click doesn't perform and i'm getting this error message in the results file:
Type Message Time Priority Has Picture Link
Unable to find the object WPFObject("TextBlock", "TabNamel", 1). See Additional Information for details. 13:03:46 Normal
Why is that?What TC is using in order to identify where to right click(of course i rather using the tab name and not coordinates).
thanks