public void LockboxInvoiceSearchTest() { WindowsActions.KillEllisProcesses(); App = EllisHome.LaunchEllisAsARMUser(); //LandingPage.ClickOnCalendarButton(LandingPage.LandingPageControls.Advanced); //LandingPage.EnterDate(LandingPage.LandingPageControls.AdvancedFromDate, "11/16/2009"); //LandingPage.ClickDateTextbox(LandingPage.LandingPageControls.AdvancedToDate); //Playback.Wait(2000); LandingPage.SelectDateRange(); ARWindow.SelectFirstCustomerInvoiceFromTable(); ARWindow.SelectFirstRemittenceFromTable(); ARWindow.ClickOpeninNewWindowButton(); Factory.AssertIsTrue(ARWindow.VerifyPaymentInvoiceWindowDisplayed(), "Payment profile invoice window is not displayed when clicked on Open In New Window"); Factory.AssertIsTrue(ARWindow.VerifyRemainingAmountDisplayedOnWindow(), "Remaining Amount is not displayed on window"); ARWindow.ClosePaymentInvoiceWindow(); //TitlebarActions.ClickClose((WinWindow) ARWindow.GetPaymentLockboxWindowProperties()); //TitlebarActions.ClickClose((WinWindow) ARWindow.GetPaymentProfileWindowProperties()); Playback.Wait(1000); Actions.SendAltF4(); Playback.Wait(1000); Actions.SendAltF4(); Cleanup(); }
public void EllisClickOnFileExitTest() { WindowsActions.KillEllisProcesses(); App = EllisHome.LaunchEllisAsCSRUser(); //App = EllisHome.LaunchEllis(); EllisHome.ClickOnFileExit(); App.Close(); }
public void Initialize() { WindowsActions.KillEllisProcesses(); //App = EllisHome.LaunchEllisAsDiffUserFromDesktop(); App = EllisHome.LaunchEllisAsCSRUser(); Thread.Sleep(5000); //App.SetFocus(); }
public void ARApplyTransactionTest() { WindowsActions.KillEllisProcesses(); App = EllisHome.LaunchEllisAsARMUser(); LandingPage.SelectFromToolbar("AR"); Playback.Wait(2000); LandingPage.SelectCustomerInvoicesFromNavigationExplorer(); Factory.AssertIsTrue(ARWindow.VerifyCustomerInvGridDisplayed(), "Customer Invoice Grid is not displayed"); }
public void Initialize(int retries = 5) { WindowsActions.KillEllisProcesses(); App = EllisHome.LaunchEllisAsCSRUser(); if (!App.WaitForControlReady(6000) && retries >= 0) { Initialize(retries - 1); } }
public IEnumerable <DataRow> Initialize() { WindowsActions.KillEllisProcesses(); App = EllisHome.LaunchEllisAsCSRUser(); //App = EllisHome.LaunchEllisAsDiffUserFromDesktop(); CreateCustomerWindow.ClickOnCreateCustomer(); var datarows = ExcelReader.ImportSpreadsheet(ExcelFileNames.CreateCustomer); return(datarows); }
public IEnumerable <DataRow> Initialize(int retries = 5) { WindowsActions.KillEllisProcesses(); App = EllisHome.LaunchEllisAsCSRUser(); if (!App.WaitForControlReady(6000) && retries >= 0) { return(Initialize(retries - 1)); } return(ExcelReader.ImportSpreadsheet(ExcelFileNames.SimpleSearch)); }
public void ARDefaultToAllCorporateARMUserTest() { WindowsActions.KillEllisProcesses(); App = EllisHome.LaunchEllisAsARMUser(); LandingPage.SelectFromToolbar("AR"); SearchWindow.SelectSearchElements(null, "ITransactions", SearchWindow.SearchTypeConstants.Advanced); Factory.AssertIsTrue(ARAdvancedSearchWindow.VerifyDefaultDistrictSelected("All"), "Default district is not equal to All"); Cleanup(); }
public static IEnumerable <DataRow> Initialize(string excelName, int retry = 5) { WindowsActions.KillEllisProcesses(); App = LaunchEllisAsCSRUser(); var ready = App.WaitForControlExist(5000); if (!ready && retry >= 0) { return(Initialize(excelName, retry - 1)); } var datarows = ExcelReader.ImportSpreadsheet(excelName); return(datarows); }
public void CreateJobOrder() { WindowsActions.KillEllisProcesses(); App = EllisHome.LaunchEllisAsCSRUser(); var datarows = ExcelReader.ImportSpreadsheet(ExcelFileNames.JobOrder); foreach (var dataRow in datarows.Where(x => x.ItemArray[1].ToString().Equals("CreateJobOrder"))) { //Console.WriteLine(dataRow.ItemArray[1]); var jobOrderCreated = JobOrderWindow.CreateNewJobOrder(dataRow); Factory.AssertIsTrue(jobOrderCreated, "Job order not saved successfully"); JobOrderWindow.CloseJobOrderProfileWindow(); } }
public void NAAMCreateCustomerTest() { WindowsActions.KillEllisProcesses(); App = EllisHome.LaunchEllisAsNAAMUser(); CreateCustomerWindow.ClickOnCreateCustomer(); var datarows = ExcelReader.ImportSpreadsheet(ExcelFileNames.DiffCredsCreateCustomer); foreach (var datarow in datarows.Where(datarow => datarow.ItemArray[3].ToString().Contains("NAAM"))) { CreateCustomerWindow.EnterCustomerData(datarow, "Fed", null); CreateCustomerWindow.ClickSave(); CreateCustomerWindow.HandleExistingFEDCustomer(); Factory.AssertIsTrue(CustomerProfileWindow.VerifyCustomerProfileWindowDisplayed(), "NAPS Customer Profile not displayed for new customer with FED ID"); } Cleanup(); }
public void RaChangeWorkerStatus() { try { WindowsActions.KillEllisProcesses(); App = EllisHome.LaunchEllisAsRAUser(); var datarows = ExcelReader.ImportSpreadsheet(ExcelFileNames.WorkerAdvancedSearch); foreach (var datarow in datarows) { SearchWindow.SelectSearchElements(null, "Worker", SearchWindow.SearchTypeConstants.Advanced); WorkerAdvancedSearchWindow.EnterWorkerNameAsSearchData("TEST"); var worker = WorkerAdvancedSearchWindow.SelectWorkerfromSearchResults(datarow.ItemArray[36].ToString()); Factory.AssertIsTrue(worker, "Requested Worker not found"); if (!worker) { continue; } Playback.Wait(2000); WorkerAdvancedSearchWindow.SelectApplicationChkBox(datarow); WorkerSummaryWindow.SelectMainTab(WorkerSummaryWindow.WorkerProfileTabConstants.Survey); Playback.Wait(1000); Factory.AssertIsTrue(WorkerSurveyWindow.VerifyWorkerProfileWindowDisplayed(), "Workers Survey not Displayed"); WorkerSurveyWindow.EnterDatainSsn(datarow); WorkerSurveyWindow.EnterDataInSurveyGrid(); WorkerSurveyWindow.EnterNotes(datarow); Playback.Wait(1000); Factory.AssertIsTrue(WorkerSurveyWindow.VerifyWorkerProfileWindowDisplayed(), "Worker Profile Window Not Displayed"); } } finally { Cleanup(); } }
public void Initialize() { WindowsActions.KillEllisProcesses(); App = EllisHome.LaunchEllisAsCSRUser(); //App = EllisHome.LaunchEllisAsDiffUserFromDesktop(); }
public static void Initialize() { WindowsActions.KillEllisProcesses(); App = LaunchEllisAsCSRUser(); App.Process.WaitForInputIdle(6000); }
public void LaunchEllisTest() { WindowsActions.KillEllisProcesses(); App = EllisHome.LaunchEllisAsCSRUser(); Cleanup(); }
public void Initialize() { WindowsActions.KillEllisProcesses(); App = EllisHome.LaunchEllisAsCSRUser(); }
public void Initialize() { WindowsActions.KillEllisProcesses(); }