Dear All,
I am using white framework to access UI elements (with UI Spy).
In my testing script, I am trying to access datagridview to select a row and do some operation.
table = _newWindow.Get<TestStack.White.UIItems.TableItems.Table>
(SearchCriteria.ByAutomationId("dataGridView1"));But I always get below error, even though my automation id is correct.
"TestStack.White.AutomationException: Failed to get ControlType=table,AutomationId=dataGridView1"
Is this the correct way to search datagridview in a form using White framework?
Thanks!!