protected override void ExecuteTestRun(WindowsFramework framework) { SelectDataGridTab(); table = MainWindow.Get<Table>("DataGrid"); RunTest(GetRowTest); RunTest(GetMultipleRowsTest); }
protected override void ExecuteTestRun(WindowsFramework framework) { SelectDataGridTab(); table = MainWindow.Get<Table>("DataGrid"); rows = table.Rows; RunTest(RowData); RunTest(GetRowAfterSortingOnAColumn); RunTest(Select); }
protected override void ExecuteTestRun(WindowsFramework framework) { SelectDataGridTab(); table = MainWindow.Get<Table>("DataGrid"); RunTest(Find); RunTest(TableRows); RunTest(SelectRowNotVisibleInitially); RunTest(TableHasScrollBars); RunTest(Columns); RunTest(GetRow); RunTest(FindAllTest); RunTest(IsInTop); }
protected override void ExecuteTestRun(WindowsFramework framework) { SelectDataGridTab(); table = MainWindow.Get<Table>("DataGrid"); TableRows rows = table.Rows; row = rows[0]; RunTest(SetTextCellValue); RunTest(GetEmptyValue); RunTest(SetCheckBoxCellValue); RunTest(SetComboBoxCellValue); RunTest(TextOnButtonCell); RunTest(Click); }
protected override void ExecuteTestRun(WindowsFramework framework) { SelectDataGridTab(); if (framework == WindowsFramework.Wpf) { DataGridWpfUnderTest = MainWindow.Get<ListView>(SearchCriteria.ByAutomationId("DataGridControl")); RunTest(CanGetAllItemsWpf); RunTest(CanGetCellWpf); } else if (framework == WindowsFramework.WinForms) { DataGridWinFormsUnderTest = MainWindow.Get<Table>(SearchCriteria.ByAutomationId("DataGridControl")); RunTest(CanGetAllItemsWinforms); } }
void Find() { table = MainWindow.Get<Table>("DataGrid"); Assert.NotEqual(null, table); }