Пример #1
0
        protected override void ExecuteTestRun(WindowsFramework framework)
        {
            SelectDataGridTab();
            table = MainWindow.Get<Table>("DataGrid");

            RunTest(GetRowTest);
            RunTest(GetMultipleRowsTest);
        }
Пример #2
0
        protected override void ExecuteTestRun(WindowsFramework framework)
        {
            SelectDataGridTab();
            table = MainWindow.Get<Table>("DataGrid");
            rows = table.Rows;

            RunTest(RowData);
            RunTest(GetRowAfterSortingOnAColumn);
            RunTest(Select);
        }
Пример #3
0
        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);
        }
Пример #4
0
        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);
        }
Пример #5
0
 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);
     }
 }
Пример #6
0
 void Find()
 {
     table = MainWindow.Get<Table>("DataGrid");
     Assert.NotEqual(null, table);
 }