Hello,
We have a WPF PRISM-based application and used ExtensionSite mechanism, as explained here to add buttons in XamRibbon. The buttons and tabs are added in XamRibbon by each plug-in itself when dynamically loaded. The XamRibbon is exposed as UIExtensionSite as explained in the article. All ribbon controls are accessible while recording the CodedUI test. Once recording is complete, the buttons and Ribbon groups can't be accessible, even in UIMap but XamRibbon and Tabs do. The recorded CodedUI project is attached herewith.
Although, we have created a sample application without using PRISM and other stuff, things work perfectly. On the side note, we tried to change the MaxLevelsForItemContainer value to 10 in CodedUI.config file but no success.
Can you please help us in this regard?
Best,
Allana
Hello Allana,
Just checking in, did you have any other questions or concerns on this matter?
Sincerely,AndrewDeveloper Support Engineer IInfragistics
Thank you for your post!
Personally, I am not very familiar with the ExtensionSite mechanisms in PRISM. Would it be possible for you to send me the project you are using, or a small isolated one that demonstrates what you are doing in your project? The .zip file you have attached contains the UI Tests, but for me to test this properly, I may need to know exactly how you are using the XamRibbon with this ExtensionSite mechanism.
Sincerely,AndrewDeveloper Support Engineer IInfragistics Inc.www.infragistics.com/support