There are many ways to do this depending on your exact scenario and most of all how theresults are displayed. In some cases it could be pretty simple to make this verification if the control provides such functionality. For example if you are using a "RadGrid" the number of the results can be displayed as shown in the attached screenshot.
In other cases we have to locate the parent element which contains the results in the DOM explorer and write a coded step. I am attaching a simple test project showing how to verify the number of results from a Google search. In "resultCount" I'm keeping the number of the child nodes from the search. And then I make a check if it is equal to "2".
resultCount = Pages.TelerikSilverlightRadgrid.RsoOrderedList.ChildNodes.Count;
See the attached sample and let me know if you have any further questions!
the Telerik team
for a live 'What's New in Test Studio R1 2011 SP2' event on Tuesday, July 19 at 2pm EST!
Have you looked at the new Online User Guide
for Telerik Test Studio?