Exemple #1
0
 public void Edit_Server_Removes_Server_From_Explorer()
 {
     ExplorerUIMap.Click_Explorer_Remote_Server_Dropdown_List();
     Assert.IsTrue(UIMap.MainStudioWindow.ComboboxListItemAsRemoteConnectionIntegration.Exists);
     ExplorerUIMap.Select_Explorer_Remote_Server_Dropdown_List();
     Assert.IsTrue(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerTree.FirstRemoteServer.Exists, "Remote server is not loaded in the Explorer after selecting it from the connect control dropdown list.");
     ExplorerUIMap.Click_EditServerButton_From_ExplorerConnectControl();
     SettingsUIMap.ChangeServerAuthenticationType();
     Assert.IsFalse(UIMap.ControlExistsNow(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerTree.FirstRemoteServer), "Remote server is still loaded in the Explorer after clicking edit in the connect control.");
 }
 public void Edit_Server_Removes_Server_From_Explorer()
 {
     _containerOps = TestLauncher.StartLocalCIRemoteContainer(System.IO.Path.Combine(System.IO.Path.GetDirectoryName(Assembly.GetExecutingAssembly().Location), "TestResults"));
     ExplorerUIMap.Click_Explorer_Remote_Server_Dropdown_List();
     Assert.IsTrue(UIMap.MainStudioWindow.ComboboxListItemAsRemoteConnectionIntegration.Exists);
     ExplorerUIMap.Select_Explorer_Remote_Server_Dropdown_List();
     Assert.IsTrue(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerTree.FirstRemoteServer.Exists, "Remote server is not loaded in the Explorer after selecting it from the connect control dropdown list.");
     ExplorerUIMap.Click_EditServerButton_From_ExplorerConnectControl();
     SettingsUIMap.ChangeServerAuthenticationType();
     Assert.IsFalse(UIMap.ControlExistsNow(ExplorerUIMap.MainStudioWindow.DockManager.SplitPaneLeft.Explorer.ExplorerTree.FirstRemoteServer), "Remote server is still loaded in the Explorer after clicking edit in the connect control.");
 }
        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();
            }
        }