Beispiel #1
0
        private static void SelectAnInvoiceNumberFromGrid(UITestControl prop)
        {
            var row = TableActions.SelectRowFromTable(prop, ARControls.UnpaidInvoiceGrid,
                                                      "CollectionInvoiceSummaryDomain row 1");
            var cell = row.Container.SearchFor <WinCell>(new { Value = "False" });

            Mouse.Click(cell);
        }
Beispiel #2
0
        public static bool VerifyOverDueDisplayed()
        {
            var row = TableActions.SelectRowFromTable(EllisWindow, ARControls.OverdueCustomers,
                                                      "OverdueCustomerSummaryDomain row 1");
            var cell = row.Container.SearchFor <WinCell>(new { Instance = "6" });

            return(cell.Enabled);
        }
        public static void SelectWorkerFromResultsWindow()
        {
            var window = GetSearchResultsWindowProperties();
            var row    = TableActions.SelectRowFromTable(window, SearchControls.SearchResultGrid,
                                                         "WorkerSearchResultDomain row 1");

            var cell = row.Container.SearchFor <WinCell>(new { Value = Globals.WorkerName });

            MouseActions.DoubleClick(cell);
        }
Beispiel #4
0
        public static void SelectWorkerFromGrid()
        {
            var existsWindow = GetWorkerAlreadyExistWindowProperties();

            if (existsWindow.Exists)
            {
                var row = TableActions.SelectRowFromTable(existsWindow, "grdWorkers", "WorkerInfoDomain row 1");
                Mouse.DoubleClick(row);
            }
        }