Hi,
We are using XamRibbon 15.1 in my application. Out test team uses Visual Studio Inspect tool to select any ui element and view it's data, for UI automation test purpose.
Now we have a problem, when we select a ribbon tab, we couldn't find any information about the selected tab inside Inspect tool. However if we move the mouse over to the FILE (Application Menu - Mouse Over) menu, then we could see all the tabs getting displayed inside Inspect tool.
Please help.
Sample Xaml Code:
<XamRibbonWindow>
<DocumentContentHost>
<DocumentContentHost.Ribbon>
<XamRibbon />
</DocumentContentHost.Ribbon>
<DocumentContentHost.Content>
<ContentControl />
</DocumentContentHost.Content>
<DocumentContentHost.StatusBar>
<StatusBar />
</DocumentContentHost.StatusBar>
</DocumentContentHost>
</XamRibbonWindow>
Hi Andrew,
It doesn't work for us. I have attached a sample application. You can reproduce the issue, that we're facing.
When we run this application, we cannot see any of the ribbon elements. we could see only titlebar elements.
Steps to reproduce:
1. Run the application.
2. Run the Inspect tool.
3. Select 'Show Highlight Rectangle' button in Inspect toolbar.
4. Now, Select a ribbontab/mouse hover app menu/ribbontab - nothing is seen inside Inspect tool.
Thanks,
Sreeni
Hello Sreek,
I have been investigating into this issue with the Inspect tool. After hovering and selecting the tabs and the application menu, it appears that I am able to see them. I have attached a screenshot to show what I am seeing after selecting the tabs and expanding the visual tree of each of them in the Inspect tool. I am curious, what information regarding these tabs are you looking to see?
Also, you said you were using this Inspect tool for UI Automation test purposes. Out of curiosity, have you considered using TestAdvantage or CodedUI for UI Automation purposes, instead of the Inspect tool?
Please let me know if you have any other questions or concerns on this matter.
Sincerely,AndrewAssociate DeveloperInfragistics Inc.www.Infragistics.com/support
YES Andrew, that's what I'm referring.
Thank you for your post!
I am not entirely sure of the tool that you are referring to by the Visual Studio Inspect tool. I am under the impression that you are referring to the tool commonly found at this directory: C:\Program Files (x86)\Windows Kits\8.1\bin\x64\Inspect.exe. Please let me know, is this the tool you are referring to, or are you referring to something else?
Sincerely,AndrewAssociate DeveloperInfragistics Inc.www.infragistics.com/support