Unable to capture the contents of an entire table

4 posts, 0 answers
  1. Sanjana
    Sanjana avatar
    3 posts
    Member since:
    Jan 2011

    Posted 24 Mar 2011 Link to this post

    Using the demo version for evaluation this week.

    One of the key things we need to test is to verify the data in a certain grid has not changed or rather capture the all the data in a grid and then using it as a baseline we need to create other tests to verify the data against some selections that the user is allowed to make.

    So first thing:
    1. I can capture a row itself and validate data in that row.
    2. Can I capture an entire table in a grid?
    3. That becomes by test data for a few tests......is this possible?

    Sanjana.
  2. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 24 Mar 2011 Link to this post

    Hi Sanjana,
        you can perform a variety of Verifications on your Grid with the highlighting tool without writing any code. Check out some of the video tutorials on Telerik TV if you're not familiar with it.

    You didn't specify what kind of Grid it is. Here a coded solution which you might find useful if you Grid is the right type of Grid. 
    http://www.telerik.com/automated-testing-tools/support/kb/code/going-through-each-cell-in-dynamically-generated-grid.aspx

    Hope to hear from you soon!

    Greetings,
    Stoich
    the Telerik team
  3. Sanjana
    Sanjana avatar
    3 posts
    Member since:
    Jan 2011

    Posted 24 Mar 2011 Link to this post

    Hi Stoich, Apppreciate your prompt reply.

    I should have given more info earlier. We are looking at a In-Browser Silverlight with a simple data grid from the silverlight tool kit.

    When I hover on the Table, I only get this option of DataGrid. I don not see DataGrid Table View. Is it due tot he TYPE of grid?

    Thanks
  4. Stoich
    Admin
    Stoich avatar
    1 posts

    Posted 28 Mar 2011 Link to this post

    Hi Sanjana,
           could you get me a screenshot of the orbs (i.e. the options) that come up when you highlight your DataGrid. As a reference point checkout this DataGrid:
    http://www.silverlightshow.net/items/Introduction-to-the-DataGrid-control-in-Silverlight-2.aspx
    and the orbs that come up for it (screenshot 1).

    Also, please note that GridView and DataGrid are different controls as seen here:
    http://msdn.microsoft.com/en-us/library/05yye6k9.aspx

    Hope to hear from you soon!

    Kind regards,
    Stoich
    the Telerik team
Back to Top
  Cast Your Vote at DevPro Connections! Cast Your Vote at  Win IT Pro Connections!