RadGridView check for item

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

    Posted 27 Nov 2012 Link to this post


    Here's our test scenario:

    We're adding an "item" to the grid by completing the form.
    Next we want to click recently added item (to edit it) on the grid and here we have a problem:

    How to get this item when we have virtualized grid with many rows?

    We tried to filter on choosen column which we know the value will be unique for that item.
    PROBLEM: The textbox in RadGridView where we can enter text to filter on each time has other Name/AutomationId, so the engine cannot locate this element (screen1) (screen2). Tried other find logic without success.

    How to achieve this?

    I've searched other forum posts and I found this : grid verification where it is stated that translators can do something similar but's isn't true for virtualized grid. In the same topic I read: We plan to release non-coded data-driven find logic in our second 2012 release this fall. Is it released?

    Ok let's say it can't be done without coding. How to make coded steps for my testers where they can easily provide 2 inputs (lets say column name and search value), which can do the "click new added item" step for them?

    Any help appreciated =]

  2. Boyan Boev
    Boyan Boev avatar
    1072 posts

    Posted 28 Nov 2012 Link to this post

    Hi Michal,

    Thank for trying Test Studio.

    You can use data driven find expression or non-coded data driven find expression as you mentioned. With that find logic you can use data source to drive the input values of those steps and/or the values to expect when performing verification steps. Non-coded data driven find expression is already released in our latest internal build (2012.2.1022). Please download it by logging in to your Telerik.com account and go to the Latest Internal Builds section

    Let me know whether this helps.

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