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