示例#1
0
 public void Open_Deploy_Tab_And_Change_Source_Loads_Resources()
 {
     DeployUIMap.Select_RemoteConnectionIntegration_From_Deploy_Tab_Source_Server_Combobox();
     Assert.IsTrue(DeployUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.DeployTab.WorkSurfaceContext.DockManager.DeployView.SourceServerExplorer.ExplorerTree.RemoteServer.Exists);
     DeployUIMap.Click_Close_Deploy_Tab();
     UIMap.Click_Deploy_Ribbon_Button();
     DeployUIMap.Select_RemoteConnectionIntegration_From_Deploy_Tab_Source_Server_Combobox();
     Assert.IsTrue(DeployUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.DeployTab.WorkSurfaceContext.DockManager.DeployView.SourceServerExplorer.ExplorerTree.RemoteServer.Exists);
 }
        public void ChangeServerAuthenticationTypeToPublic()
        {
            ExplorerUIMap.Select_RemoteConnectionIntegration_From_Explorer();
            ExplorerUIMap.Click_EditServerButton_From_ExplorerConnectControl();
            var publicRadioButton = MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.ServerSourceTab.WorkSurfaceContext.PublicRadioButton;

            if (!publicRadioButton.Selected)
            {
                publicRadioButton.Selected = true;
                Click_Server_Source_Wizard_Test_Connection_Button();
                UIMap.Click_Save_Ribbon_Button_With_No_Save_Dialog();
                Click_Close_Server_Source_Wizard_Tab_Button();
                UIMap.Click_Deploy_Ribbon_Button();
                DeployUIMap.Select_RemoteConnectionIntegration_From_Deploy_Tab_Destination_Server_Combobox();
            }
            else
            {
                Click_Close_Server_Source_Wizard_Tab_Button();
                UIMap.Click_Deploy_Ribbon_Button();
                DeployUIMap.Select_ConnectedRemoteConnectionIntegration_From_Deploy_Tab_Destination_Server_Combobox();
            }
        }
        public void ChangeServerAuthenticationFromDeployAndValidateChangesFromExplorer()
        {
            var windowsRadioButton = MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.ServerSourceTab.WorkSurfaceContext.WindowsRadioButton;
            var publicRadioButton  = MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.ServerSourceTab.WorkSurfaceContext.PublicRadioButton;

            if (publicRadioButton.Selected)
            {
                windowsRadioButton.Selected = true;
                Click_Server_Source_Wizard_Test_Connection_Button();
                UIMap.Click_Save_Ribbon_Button_With_No_Save_Dialog();
                Playback.Wait(1000);
                Click_Close_Server_Source_Wizard_Tab_Button();
                DeployUIMap.Select_RemoteConnectionIntegration_From_Deploy_Tab_Source_Server_Combobox();
                Mouse.Click(DeployUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.DeployTab.WorkSurfaceContext.DockManager.DeployView.EditSourceButton);
                Playback.Wait(1000);
                Assert.IsTrue(MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.ServerSourceTab.WorkSurfaceContext.WindowsRadioButton.Selected, "Windows Radio Button not selected.");
                UIMap.Click_Deploy_Ribbon_Button();
                DeployUIMap.Select_ConnectedRemoteConnectionIntegration_From_Deploy_Tab_Source_Server_Combobox();
                DeployUIMap.Click_Deploy_Tab_Source_Server_Edit_Button();
                Assert.IsTrue(MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.ServerSourceTab.WorkSurfaceContext.WindowsRadioButton.Selected, "Windows Radio Button not selected.");
            }
            else
            {
                publicRadioButton.Selected = true;
                Click_Server_Source_Wizard_Test_Connection_Button();
                UIMap.Click_Save_Ribbon_Button_With_No_Save_Dialog();
                Playback.Wait(1000);
                Click_Close_Server_Source_Wizard_Tab_Button();
                DeployUIMap.Select_RemoteConnectionIntegration_From_Deploy_Tab_Source_Server_Combobox();
                Mouse.Click(DeployUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.DeployTab.WorkSurfaceContext.DockManager.DeployView.EditSourceButton);
                Playback.Wait(1000);
                Assert.IsTrue(MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.ServerSourceTab.WorkSurfaceContext.PublicRadioButton.Selected, "Public Radio Button not selected.");
                UIMap.Click_Deploy_Ribbon_Button();
                DeployUIMap.Select_ConnectedRemoteConnectionIntegration_From_Deploy_Tab_Source_Server_Combobox();
                DeployUIMap.Click_Deploy_Tab_Source_Server_Edit_Button();
                Assert.IsTrue(MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.ServerSourceTab.WorkSurfaceContext.PublicRadioButton.Selected, "Public Radio Button not selected.");
            }
        }
示例#4
0
 public void UnpinDeployWizardTab()
 {
     UIMap.Click_Deploy_Ribbon_Button();
     UIMap.Unpin_Tab_With_Drag(DeployUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.DeployTab);
 }
示例#5
0
 public void MyTestInitialize()
 {
     UIMap.SetPlaybackSettings();
     UIMap.AssertStudioIsRunning();
     UIMap.Click_Deploy_Ribbon_Button();
 }