Example #1
0
 public void MyTestInitialize()
 {
     UIMap.SetPlaybackSettings();
     UIMap.AssertStudioIsRunning();
     UIMap.Click_NewWorkflow_RibbonButton();
     WorkflowTabUIMap.Drag_Toolbox_Dropbox_Download_Onto_DesignSurface();
 }
        public void DropboxDownloadWorkFlowSelection_Validation_UITest()
        {
            UIMap.InitializeABlankWorkflow();
            WorkflowTabUIMap.Drag_Toolbox_Dropbox_Download_Onto_DesignSurface();
            UIMap.Press_F6();
            var dropboxDownloadHasFocus = DropboxToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext.WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter.Flowchart.DropboxDownload.ItemStatus.Contains("IsPrimarySelection=True IsSelection=True");

            Assert.IsTrue(dropboxDownloadHasFocus, "Dropbox download tool is not selected on the design surface after it was executed with the F6 keyboard shortcut.");
        }