public void getGridData(Window win) { Thread.Sleep(1000); table = win.Get<Table>(SearchCriteria.ByAutomationId("grdDisplay")); TableRows rows = table.Rows; row = rows[0]; // below line fails even though it is identified in Spy TableCell cell = row.Cells[0]; String ab = cell.Value.ToString(); Console.WriteLine(ab + " Cell Data"); Console.ReadLine(); }
protected override void TestFixtureSetUp() { table = Window.Get<Table>("people"); }
protected override void TestFixtureSetUp() { table = window.Get<Table>("people"); rows = table.Rows; }