Hello Telerik Team,
I need to find an element by using the Find.ByType method. If the element is not found, I want my test to proceed without the Find method throwing an exception. Please see this code:
I want my test to proceed even if childgrid is null. However, the test is stopping because row.Find.ByType is throwing a timeout exception. Any suggestions?
Regards,
Kristine
I need to find an element by using the Find.ByType method. If the element is not found, I want my test to proceed without the Find method throwing an exception. Please see this code:
foreach(Telerik.WebAii.Controls.Xaml.GridViewRow row in Rows)
{
Telerik.WebAii.Controls.Xaml.RadGridView childgrid = row.Find.ByType<
Telerik.WebAii.Controls.Xaml.RadGridView
>();
}
I want my test to proceed even if childgrid is null. However, the test is stopping because row.Find.ByType is throwing a timeout exception. Any suggestions?
Regards,
Kristine