Hello.
We have a desktop application that is currently using Actipro WPF Studio controls. But I have several issues with objects recognition inside ToolWindowContainer (using VS 2010 Ultimate RC).
For example I can record and execute Coded UI Test when ToolWindow is docked as "nested" (using the central "docking" control). ToolWindows are managed by "bookmarks" at the bottom of container in this case. I can recognize all objects (buttons, textfields, etc.) inside the ToolWindowContainer and execute recorded tests without any fails. SpyUI also works perfect in that case.
But when I use tabbed ToolWindows (using left, right, up or down "docking" control) - I can't access any objects inside the ToolWindowContainer, which contains only the one ToolWindow. Recorded tests are not working and SpyUI also see the only ToolWindowContainer class, not the objects inside.
Is there a way to solve this issue? Not sure that it's bug...
XAML:[Modified at 04/07/2010 01:17 PM]
[Modified at 04/07/2010 01:20 PM]
We have a desktop application that is currently using Actipro WPF Studio controls. But I have several issues with objects recognition inside ToolWindowContainer (using VS 2010 Ultimate RC).
For example I can record and execute Coded UI Test when ToolWindow is docked as "nested" (using the central "docking" control). ToolWindows are managed by "bookmarks" at the bottom of container in this case. I can recognize all objects (buttons, textfields, etc.) inside the ToolWindowContainer and execute recorded tests without any fails. SpyUI also works perfect in that case.
But when I use tabbed ToolWindows (using left, right, up or down "docking" control) - I can't access any objects inside the ToolWindowContainer, which contains only the one ToolWindow. Recorded tests are not working and SpyUI also see the only ToolWindowContainer class, not the objects inside.
Is there a way to solve this issue? Not sure that it's bug...
XAML:
<docking:ToolWindowContainer
Name ="shellToolWindowContainer"
IsTabStop="True" IsSynchronizedWithCurrentItem="True" >
<docking:ToolWindow
Name="shellToolWindowMessages"
Title="{Binding Path=[shellToolWindowMessages_Title], Source={x:Static ex:SR.Instance}}"
>
<UIEvents:UIEventListControl x:Name="uiEventListControl">
</UIEvents:UIEventListControl>
</docking:ToolWindow>
<docking:ToolWindow Name="ShellNotifHistoryWindowMessages"
Title="{Binding Path=[shellNotifHistoryWindowMessages_Title], Source={x:Static ex:SR.Instance}}">
<Notifications:NotificationHistoryDialog x:Name="notificationHistoryWindow"/>
</docking:ToolWindow>
<docking:ToolWindow
Name="toolWindowEventHistory"
Title="{Binding Path=[toolWindowEventHistory_Title], Source={x:Static ex:SR.Instance}}"
>
<Explorer:EventHistory x:Name="eventHistory" />
</docking:ToolWindow>
</docking:ToolWindowContainer>
[Modified at 04/07/2010 01:20 PM]