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?