Find row in radgrid and click button

2 posts, 0 answers
  1. Mike Sorel
    Mike Sorel avatar
    7 posts
    Member since:
    Dec 2009

    Posted 27 Oct 2010 Link to this post

    Hi,

    I have a radgrid with data and a button on each row; the button opens a details page for the record of the button that is clicked.

    In Web UI Test Studio Developer Edition, I would like to find a row in the radgrid by searching for text in a column, then execute the button click for that row.

    I note on page 22 of the Quick Start Guide that there is a Find Expression Builder, I'm not sure whether this will do the job because I can't see how to open it.  On page 32 of the Quick Start Guide the description of the Elements Explorer states that there is a context menu to edit the Find Expression (presumably by opening the Find Expression Builder).  In the version that I have installed (2010.1) I can't find an Elements Explorer; I can find a Project Elements Selector which looks similar but does not have any context menus.

    Thanks in advance for your help.

    Mike
  2. Cody
    Admin
    Cody avatar
    3354 posts

    Posted 02 Nov 2010 Link to this post

    Hi Mike Sorel,

    To do this requires a custom coded step. I created a sample test that does something similar to what you want using our ASP.NET demo site. The code finds the row with the right text, then finds the checkbox on that row and checks it. You'll have to tweak the code to find your button and click it instead. I'd have to see the structure of your HTML before I can give you code that will actually work in your specific case.

    Also, Project Elements is the same thing as Elements Explorer.

    Sincerely yours,
    Cody
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top