示例#1
0
        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);
        }
示例#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);
 }