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

            emailsSentPage.VerifyOptInValueRecorded(Constants.ProvisionGapOptInFalse);
        }
Пример #4
0
        public void ThenTheOpportunityRecordWillRecordOPTINHasBeenSelected()
        {
            EmailsSentPage emailsSentPage = new EmailsSentPage(webDriver);

            emailsSentPage.VerifyOptInValueRecorded("True");
        }