Example #1
0
        public void VerifyARCustomerProfileDefaultsTest()
        {
            Initialize();
            LandingPage.SelectFromToolbar("AR");

            ARWindow.SelectCustomerCollectionFromLandingPage();
            CustomerProfileWindow.SelectTab(CCTabConstants.Invoices);
            Factory.AssertIsTrue(CustomerProfileWindow.VerifyNoteTypeOptionsDisplayed(), "Note type options are not displayed.");

            CustomerProfileWindow.SelectTab(CCTabConstants.Notes);
            ARWindow.ClickAddNoteButton();

            Factory.AssertIsTrue(ARWindow.VerifyBalanceDueAmountDisplayed(), "Balance amount is not displayed");
            Factory.AssertIsTrue(ARWindow.VerifyProfileWindowDisplayedWhenCusNameLinkClicked(),
                                 "Customer profile window is not displayed when customer name link is clicked");
            CustomerProfileWindow.CloseCustomerProfileWindow();

            //Factory.AssertIsTrue(ARWindow.VerifyProfileWindowDisplayedWhenCusNumberLinkClicked(),
            //    "Customer profile window is not displayed when customer number link is clicked");
            //CustomerProfileWindow.CloseCustomerProfileWindow();
            TitlebarActions.ClickClose((WinWindow)ARWindow.GetCustomerCollectionsWindowProperties());

            LandingPage.SelectEODReviewFromNavigationExplorer();
            ARWindow.SearchForAllEODReviews();

            Cleanup();
        }
Example #2
0
        public void VerifyARCancelCallbackNewNoteTest()
        {
            Initialize();
            LandingPage.SelectFromToolbar("AR");

            if (RightClick.CallBack())
            {
                Factory.AssertIsTrue(ARWindow.AddNoteWindowDisplayed(), "Add Note window is not displayed");

                ARWindow.AddNewNoteToCancelCallback();
                Factory.AssertIsTrue(ARWindow.VerifyNewNoteAdded(), "New note is not added to the cancel callback");
                CustomerProfileWindow.CloseCustomerProfileWindow();
            }
            Cleanup();
        }
        public void LockoutNotificationTest()
        {
            Initialize();
            SearchWindow.SelectSearchElements("Test", "Customer", SearchWindow.SearchTypeConstants.Simple);
            if (CustomerProfileWindow.SelectFirstCustomerFromTable())
            {
                CustomerProfileWindow.ClickCreateNewQuoteButton();
                CustomerProfileWindow.CloseWarningWindow();
                CustomerProfileWindow.CreateNewQuoteWithDefaultData();

                Factory.AssertIsTrue(CustomerProfileWindow.VerifyCustomerProfileWindowDisplayed(),
                                     "Customer profile window is not displayed");
                CustomerProfileWindow.CloseCustomerProfileWindow();
            }
        }
Example #4
0
        public void VerifyARRescheduleNewNoteTest()
        {
            Initialize();
            LandingPage.SelectFromToolbar("AR");

            if (RightClick.Reschedule())
            {
                Factory.AssertIsTrue(ARWindow.VerifyCustomerCollectionsWindowDisplayed(),
                                     "Customer collections window is not displayed");

                ARWindow.AddNewNoteToUnpaidInvoice();
                Factory.AssertIsTrue(ARWindow.VerifyNewNoteAdded(), "New note is not added to the unpaid invoice");
                CustomerProfileWindow.CloseCustomerProfileWindow();
            }
            Cleanup();
        }