This question is locked. New answers and comments are not allowed.
Hi,
I got one issue on using WebAii 2.0 for testing Silverlight.
Test case do:
* Lauch browser
* Find the silverlight in page and the stackpanel
So I do this :
C #
//Locate the stack panel : ok |
StackPanel stack = app.FindName<StackPanel>("MyStackPanel"); |
//simulate a Right click on the stackPanel : ok (the RadContextMenu appears) |
stack.User.Click(MouseClickType.RightClick); |
RadContextMenu menu = app.Find.ByType<RadContextMenu>(); |
// And I caught an TimeOut Exception |
xaml :
<telerik:RadContextMenu.ContextMenu> |
<telerik:RadContextMenu name="" > |
... |
</telerik:RadContextMenu> |
</telerik:RadContextMenu.ContextMenu> |
When I remove the line : <telerik:RadContextMenu.ContextMenu>, I didn't catch the timeout exception but I want to use that line...
So Why this doesn't work ? I tried to give a name to the Radcontextmenu (and use app.Find.ByName<RadContextMenu>("menu") instead of app.Find.ByType<RadContextMenu>()), to refresh the visual tree too, but I have the same problem..
Regards,
Thanks