Beispiel #1
0
        public void DropboxWorkFlowSelection_Validation_UITest()
        {
            ExplorerUIMap.Filter_Explorer(DropboxSelectionHighlightWf);
            ExplorerUIMap.Open_ExplorerFirstItem_From_ExplorerContextMenu();
            UIMap.Press_F6();
            ExplorerUIMap.Click_AssignStep_InDebugOutput();
            var assignFocus = DataToolsUIMap.MainStudioWindow.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext.WorkflowDesignerView.WorkflowDesigner_Custom.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter.Flowchart.MultiAssign.ItemStatus.Contains("IsPrimarySelection=True IsSelection=True");

            Assert.IsTrue(assignFocus);
            ExplorerUIMap.Click_DesicionStep_InDebugOutput();
            var assignHasNoFocus = DataToolsUIMap.MainStudioWindow.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext.WorkflowDesignerView.WorkflowDesigner_Custom.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter.Flowchart.MultiAssign.ItemStatus.Contains("IsPrimarySelection=False IsSelection=False");

            Assert.IsTrue(assignHasNoFocus);
        }