Доступ к значению UIItem с помощью Teststack.White - PullRequest
0 голосов
/ 06 марта 2019

Я хочу получить доступ к значению ячейки в сетке данных.

Screenshot from Inspect

Но я не могу понять, как.Или нет способа получить к нему доступ с помощью Teststack.White?

        ListView listView = MainWin.Get<ListView>(SearchCriteria.ByAutomationId("dataGrid"));
        ListViewCell cell = listView.Rows[2].Cells[6];
        Assert.That(cell.Value == "2"); //But a value of the cell is not available
...