Grid Verification

2 posts, 0 answers
  1. Hendrik
    Hendrik avatar
    1 posts
    Member since:
    Aug 2012

    Posted 23 Aug 2012 Link to this post

    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

  2. Ivaylo
    Ivaylo avatar
    782 posts

    Posted 28 Aug 2012 Link to this post

    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.

    the Telerik team
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
Back to Top