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

            // Click 'Home' tab
            Mouse.Click(uIHomeTabPage, new Point(27, 1));

            // Click 'Upload Accounts' button
            Mouse.Click(uIUploadAccountsButton, new Point(17, 49));

            //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.SelectGoogleAccountAndClickOKButton();
        }
Beispiel #2
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();
        }