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); }
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); }
public static void SelectWorkerFromGrid() { var existsWindow = GetWorkerAlreadyExistWindowProperties(); if (existsWindow.Exists) { var row = TableActions.SelectRowFromTable(existsWindow, "grdWorkers", "WorkerInfoDomain row 1"); Mouse.DoubleClick(row); } }