This is a migrated thread and some comments may be shown as answers.

Unable to capture the contents of an entire table

3 Answers 59 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Sanjana
Top achievements
Rank 1
Sanjana asked on 24 Mar 2011, 03:10 PM
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.

3 Answers, 1 is accepted

Sort by
0
Stoich
Telerik team
answered on 24 Mar 2011, 04:07 PM
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
0
Sanjana
Top achievements
Rank 1
answered on 24 Mar 2011, 04:48 PM
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
0
Stoich
Telerik team
answered on 28 Mar 2011, 01:17 PM
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
Tags
General Discussions
Asked by
Sanjana
Top achievements
Rank 1
Answers by
Stoich
Telerik team
Sanjana
Top achievements
Rank 1
Share this question
or