I'm trying to automate a click on a RadGridView row to get it to enter edit mode. My UI is brain-dead simple, as I'm just evaluating the test Framework for use in our real application. It's just a RadViewGrid in a Window. I'm using MS Test to run the UI tests. I'm just binding the RadGridView to a collection of dummy objects. The test looks like this:
var grid = wpfApp.MainWindow.Find.ByName<RadGridView>(
//other steps and assertions
The second line simulating the click throws the exception. But if I change the second line to this and comment out the rest of the test:
the test passes. What is it about clicking automation that makes it unable to find the row?