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

Grid Verification

1 Answer 55 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Hendrik
Top achievements
Rank 1
Hendrik asked on 23 Aug 2012, 09:52 AM
Good morning,

at the moment I am evaluating Telerik test Studio for use in our company.
Now I came to a problem that is very essential for us:
    I want to create a data driven test case that validates the contents of a datagrid
    For Example:
        In the UI of the to be tested program there is a data grid with the following columns: Name, Surname, Login
        Now I want to verify that a certain set of expected values is present in this grid

So far I have found no way to check the entire grid. I only can verify a single cell. But it would be very inpractical to create a verification step for every single cell of the grid!
Now my question is:
    Is there a way to target cells in a data grid in a generic way, via a variable for example?

best regards

Hendrik

1 Answer, 1 is accepted

Sort by
0
Ivaylo
Telerik team
answered on 28 Aug 2012, 11:35 AM
Hello Hendrik Stehr,

I can see that you have asked this question in ticket ID 583214 under another account you have on the name of CONET Solutions GmbH. I can see that also this has been answered last week by my coworker Byron. I am providing you with his answer below just for your reference:

Regarding grid controls, it may be possible to perform this type of verification without coded steps. If you target a Telerik RadControl, you have access in TestStudio to translators that provide access to internal variables such as the RadGrid cell's grid location. When targeting third party controls, you will likely not have access to this information, which means that you will need a data-driven find location to identify large numbers of elements. We plan to release non-coded data-driven find logic in our second 2012 release this fall. Until then, such a solution would require a coded data-driven find expression.

Could you please try to post any issues that you might have in only one ticket/forum thread. This will help us easily keep track of the issues that you might have and will help avoiding double work.

Thank you for your understanding in advance.

Greetings,
Ivaylo
the Telerik team
Quickly become an expert in Test Studio, check out our new training sessions!
Test Studio Trainings
Tags
General Discussions
Asked by
Hendrik
Top achievements
Rank 1
Answers by
Ivaylo
Telerik team
Share this question
or