Completed
Last Updated: 19 Dec 2013 16:22 by Lyudmil
ADMIN
Plamen
Created on: 13 Feb 2013 15:12
Type: Bug Report
0
The Get method checks the visibility of the FrameworkElement and throws TimeoutException exception if the Visibility is Collapsed.
The Get method(ArtOfTest.WebAii.TestTemplates.XamlElementContainer class) checks the visibility of the FrameworkElement and throws TimeoutException exception if the Visibility is Collapsed, while the find methods from ArtOfTest.WebAii.Silverlight.VisualFind are able to locate the element.

To reproduce:
Sample WPF test and sample WPF project are attached to the internal description. 
2 comments
Lyudmil
Posted on: 11 Jul 2013 14:28
Works like a charm. Thanks!
ADMIN
Pavel
Posted on: 04 Mar 2013 15:00
In this case the element is not visible and a different overload should be used (which skips the visibility check) that has the following signature:
Get(XamlFindExpression expr, bool waitOnElement, int timeout);