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();
        }
Exemple #3
0
        public void ThenTheOpportunityRecordWillRecordOPTINHasNotBeenSelected()
        {
            EmailsSentPage emailsSentPage = new EmailsSentPage(webDriver);

            emailsSentPage.VerifyOptInValueRecorded(Constants.ProvisionGapOptInFalse);
        }
Exemple #4
0
        public void ThenTheOpportunityRecordWillRecordOPTINHasBeenSelected()
        {
            EmailsSentPage emailsSentPage = new EmailsSentPage(webDriver);

            emailsSentPage.VerifyOptInValueRecorded("True");
        }