public void ThenICheckThatTheEmailsAreSentSuccessfully() { String query = ("Select * from opportunityitem"); EmailsSentPage EmailsSentPage = new EmailsSentPage(webDriver); int IsCompleted = EmailsSentPage.GetIsCompleted(query); EmailsSentPage.VerifyIsCompletedIsTrue(IsCompleted); }
public void ThenTheEmailsSentPageIsDisplayedWithTheCorrectText() { EmailsSentPage emailsSentPage = new EmailsSentPage(webDriver); emailsSentPage.VerifyWhatHappensNextText(); }
public void ThenTheOpportunityRecordWillRecordOPTINHasNotBeenSelected() { EmailsSentPage emailsSentPage = new EmailsSentPage(webDriver); emailsSentPage.VerifyOptInValueRecorded(Constants.ProvisionGapOptInFalse); }
public void ThenTheOpportunityRecordWillRecordOPTINHasBeenSelected() { EmailsSentPage emailsSentPage = new EmailsSentPage(webDriver); emailsSentPage.VerifyOptInValueRecorded("True"); }