コード例 #1
0
        public void RemoteServerUITests_DragAndDropWorkflowFromRemoteServerOnALocalHostCreatedWorkflow_WorkFlowIsDroppedAndCanExecute()
        {
            const string remoteWorkflowName = "MyLocalWF";

            //Ensure that we're in localhost
            ExplorerUIMap.ClickServerInServerDDL(LocalHostServerName);

            //Create new workflow and drag a remote workflow onto it
            using (DsfActivityUiMap activityUiMap = new DsfActivityUiMap())
            {
                activityUiMap.DragWorkflowOntoDesigner(remoteWorkflowName, "TestCategory", RemoteServerName);

                //Should be able to get clean debug output
                RibbonUIMap.DebugShortcutKeyPress();
                OutputUIMap.WaitForExecution();

                //Assert that the workflow really is on the design surface and debug output is clean
                Assert.IsFalse(OutputUIMap.IsAnyStepsInError(), "The remote workflow threw errors when executed locally");
                Assert.IsNotNull(activityUiMap.Activity);
            }
        }
コード例 #2
0
 public void TestInit()
 {
     Init();
     ExplorerUIMap.ClickServerInServerDDL(RemoteServerName);
     ExplorerUIMap.Server_Click_WarewolfIcon(RemoteServerName);
 }
コード例 #3
0
ファイル: DeployUITests.cs プロジェクト: won21kr/Warewolf
 public void MyTestCleanup()
 {
     RestartStudioOnFailure();
     TabManagerUIMap.CloseAllTabs();
     ExplorerUIMap.ClickServerInServerDDL(LocalServerName);
 }
コード例 #4
0
ファイル: DeployUITests.cs プロジェクト: Spharah/Warewolf-ESB
 public void MyTestCleanup()
 {
     ExplorerUIMap.ClickServerInServerDDL(LocalServerName);
     TabManagerUIMap.CloseAllTabs();
     Halt();
 }