public void WpfDemoExtractGridWithHeadersTest() { Assert.IsTrue(_fixture.SelectItem("Caption:Data Grid"), "Select data grid tab"); Assert.AreEqual(3, _fixture.PropertyOfControl("Column Count", "id:DataGrid1"), "Column count is 3"); Assert.AreEqual(5, _fixture.PropertyOfControl("Row Count", "id:DataGrid1"), "Row count is 4"); TestTable("id:DataGrid1", new[] { "Id", "Status", "Title" }, DataGridValues); }