Esempio n. 1
0
        /// <summary>
        /// UploadAccounts
        /// </summary>
        public void UploadAccounts()
        {
            #region Variable Declarations
            WinTabPage uIHomeTabPage = this.UIMicrosoftadlabsUSDadWindow.UIRibbonTabsTabList.UIHomeTabPage;
            WinButton uIUploadAccountsButton = this.UIMicrosoftadlabsUSDadWindow.UIRibbonToolBar1.UIUploadAccountsButton;
            #endregion

            // Click 'Home' tab
            Mouse.Click(uIHomeTabPage, new Point(15, 8));

            // Click 'Upload Accounts' button
            Mouse.Click(uIUploadAccountsButton, new Point(21, 24));

            //Wait Upload change windows exist
            Common.UITestFramework.UIMaps.UploadChangesClasses.UploadChanges uploadChangeWindow = new Common.UITestFramework.UIMaps.UploadChangesClasses.UploadChanges();
            uploadChangeWindow.UIUploadchangesWindow.WaitForControlExist();

            //Check first row and click OK button
            uploadChangeWindow.SelectAdCenterAccountAndClickOKButton();
        }