Пример #1
0
        /// <summary>
        /// Press subscribe button not styled page
        /// </summary>
        public void ClickSubscribeButtonNotStyledPage()
        {
            HtmlInputSubmit subscribeButton = EM.EmailCampaigns.SubscribeFormFrontend.SubscribeInputButton
                                              .AssertIsPresent("Subscribe button");

            subscribeButton.MouseClick();
            ActiveBrowser.WaitUntilReady();
            ActiveBrowser.WaitForAsyncJQueryRequests();
        }
        /// <summary>
        /// Press unsubscribe button not styled
        /// </summary>
        public void ClickUnsubscribeButtonNotStyled()
        {
            HtmlInputSubmit unsubscribeButton = EM.EmailCampaigns.UnsubscribeFrontend.UnsubscribeButtonHybridPage
                                                .AssertIsPresent("Unsubscribe button");

            unsubscribeButton.MouseClick();
            ActiveBrowser.WaitUntilReady();
            ActiveBrowser.WaitForAsyncJQueryRequests();
        }