예제 #1
0
 public void SubmitOnlineDeposit()
 {
     _driver.ScrollToElement(DepositButton);
     _driver.WaitForElementClickable(DepositButton);
     DepositButton.Click();
     _driver.WaitForJavaScript();
 }
        void ReleaseDesignerOutlets()
        {
            if (AccountNameLabel != null)
            {
                AccountNameLabel.Dispose();
                AccountNameLabel = null;
            }

            if (BackButton != null)
            {
                BackButton.Dispose();
                BackButton = null;
            }

            if (BalanceLabel != null)
            {
                BalanceLabel.Dispose();
                BalanceLabel = null;
            }

            if (DepositButton != null)
            {
                DepositButton.Dispose();
                DepositButton = null;
            }

            if (QuickDepositButton != null)
            {
                QuickDepositButton.Dispose();
                QuickDepositButton = null;
            }

            if (TransactionTableView != null)
            {
                TransactionTableView.Dispose();
                TransactionTableView = null;
            }

            if (WithdrawlButton != null)
            {
                WithdrawlButton.Dispose();
                WithdrawlButton = null;
            }
        }
        void ReleaseDesignerOutlets()
        {
            if (AccountNameLabel != null)
            {
                AccountNameLabel.Dispose();
                AccountNameLabel = null;
            }

            if (DepositButton != null)
            {
                DepositButton.Dispose();
                DepositButton = null;
            }

            if (WithdrawlButton != null)
            {
                WithdrawlButton.Dispose();
                WithdrawlButton = null;
            }
        }