示例#1
0
        public void VerifySearchPayments()
        {
            EllisHome.LaunchEllisAsPRMUser();
            var datarows = ExcelReader.ImportSpreadsheet(ExcelFileNames.PaymentSearch);

            foreach (var datarow in datarows)
            {
                EllisHome.ClickOnSearchPayments();
                Playback.Wait(3000);
                Factory.AssertIsTrue(CreateNewOrderWindow.VerifySearchPaymentsWindowDisplayed(), "Search Payment Window Not Displayed");
                CreateNewOrderWindow.EnterDataInSearchPayment(datarow);
                CreateNewOrderWindow.ClickOnSearchBtnPaymentSearch();
                Playback.Wait(5000);
                CreateNewOrderWindow.CloseSearchPaymentsWindow();
            }
        }