I want to find is there cell with searched content. From silverlight application I select table and put it to Element Explorer with name GrdRadgridview.
Then I try to find cell with
<CodedStep("Find In DataGrid", RequiresSilverlight:=True)> _
Public Sub FindInRow()
Dim app As SilverlightApp = ActiveBrowser.SilverlightApps()(0)
app.VisualTree.Refresh()
Dim FindCell As DataGridCell = Pages.UIManagerCMXaml.SilverlightApp.GrdRadgridview.Find.ByExpression(New XamlFindExpression("TextContent=TEST")).[As](Of DataGridCell)()
End Sub
but got message
The control type 'ArtOfTest.WebAii.Silverlight.UI.DataGridCell' does not match the xaml tag 'textblock'
even if there is cell with searched value.
Ivan
Then I try to find cell with
<CodedStep("Find In DataGrid", RequiresSilverlight:=True)> _
Public Sub FindInRow()
Dim app As SilverlightApp = ActiveBrowser.SilverlightApps()(0)
app.VisualTree.Refresh()
Dim FindCell As DataGridCell = Pages.UIManagerCMXaml.SilverlightApp.GrdRadgridview.Find.ByExpression(New XamlFindExpression("TextContent=TEST")).[As](Of DataGridCell)()
End Sub
but got message
The control type 'ArtOfTest.WebAii.Silverlight.UI.DataGridCell' does not match the xaml tag 'textblock'
even if there is cell with searched value.
Ivan