I have to verify a series of values retreived by search results, any suggestions to acheive this. my scenario goes like this: I have search filter screen, where EmpID, Emp LastName and Emp FirstName are present. The Emp Id in the report generated when I searched for Emp ID '999' [only partial value of EmpID is entered while searching], should start with '999', like '99911', '9992', etc. How could I verify only the records related to EmpId '999...' are dispalyed.Since the data in our data base is changing periodically, the # of rows retreived will not be same every time.
Another alternative if the results are not in a table, assuming we are discussing a web app, is to view source on the html and see if the individual results are indexed, e.g. Employee1, Employee2...if so, then you can write an unbounded loop that starts at 1, uses the .Exist method to see if Employee&Loop is there, and if he is validate him.