Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > General Discussions > CodedUI and RadGridView can't read row text

Not answered CodedUI and RadGridView can't read row text

Feed from this thread
  • Peter avatar

    Posted on Jan 5, 2012 (permalink)

    Hey all, forgive me if this in the wrong forum (and please move this thread into the right forum if it is).  I have a question in regards to using CodedUI with RadControls.  In our application we are using RadGridViews all over the place, and I want to drive my CodedUI tests by the data in those rows (example, click on the row that has the text "xxxxxx").  

    What the recorded test is doing now, is finding the RadGridView and then clicking on specific points associate with the RadGridView which represent the row that wants to be clicked.  The way I want to structure my tests (since these rows can change with new builds) is to assign the RadGridView to a WinTable, then by looping through the rows in that WinTable, click on the one that has the text I want to click.  As I said, the WinTable doesn't have the text of the row in it.  It just has the name of the row ("This is a row with Index x"), which is of no use to me, because the index of the row might change as stated above.

    I've attached a screen shot of what my CodedUI Inspector looks like, so you can see all of the property values.  In that screen shot, I would've expect "Value" under "Control Specific" to be the combined strings of the cells in the row.

    Are there any works around this?  Or is there some other function I should be using to view the text inside of the row?
    Attached files

    Reply

  • Peter Peter admin's avatar

    Posted on Jan 10, 2012 (permalink)

    Hello Peter,

    Please find the answer to your question in the support ticket that you have opened about the same topic.

    Greetings,
    Peter
    the Telerik team

    SP1
    of Q3’11 of RadControls for WinForms is available for download (see what's new).

    Reply

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / WinForms > General Discussions > CodedUI and RadGridView can't read row text
Related resources for "CodedUI and RadGridView can't read row text"

Features  |  Demos  |  Documentation  |  Telerik TV  |  Knowledge Base  |  Code Library  |  Step-by-step Tutorial  |  Blogs   |  Self-Paced Trainer  ]