示例#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();
        }