public void ComDLLTool_Small_And_LargeView_Then_NewSource_UITest() { //Large View Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.Exists, "Com DLL tool does not exist on the design surface after dragging in from the toolbox."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.LargeView.SourcesCombobox.Exists, "Sources Combobox does not exist on Com DLL tool large view after openning it by double clicking the small view."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.LargeView.EditSourceButton.Exists, "EditSources Button does not exist on Com DLL tool large view after openning it by double clicking the small view."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.LargeView.NewSourceButton.Exists, "NewSource Button does not exist on Com DLL tool large view after openning it by double clicking the small view."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.LargeView.NamespaceCombobox.Exists, "Namespace Combobox does not exist on Com DLL tool large view after openning it by double clicking the small view."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.LargeView.RefreshNamespaceButton.Exists, "RefeshNamespace Button does not exist on Com DLL tool large view after openning it by double clicking the small view."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.LargeView.ActionsCombobox.Exists, "Actions Combobox does not exist on Com DLL tool large view after openning it by double clicking the small view."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.LargeView.ActionRefreshButton.Exists, "ActionRefresh Button does not exist on Com DLL tool large view after openning it by double clicking the small view."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.LargeView.InputsTable.Exists, "Inputs Table does not exist on Com DLL tool large view after openning it by double clicking the small view."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.LargeView.GenerateOutputsButton.Exists, "Generate Outputs Button does not exist on Com DLL tool large view after openning it by double clicking the small view."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.LargeView.OutputToObjectCheckbox.Exists, "OutputToObjective Checkbox does not exist on Com DLL tool large view after openning it by double clicking the small view."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.LargeView.OutputsTable.Exists, "Outputs Table does not exist on Com DLL tool large view after openning it by double clicking the small view."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.LargeView.RecordsetNameTextbox.Exists, "RecrodsetName Textbox does not exist on Com DLL tool large view after openning it by double clicking the small view."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.LargeView.OnErrorPanel.Exists, "OnError Pane does not exist on Com DLL tool large view after openning it by double clicking the small view."); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.DoneButton.Exists, "Done button does not exist on Com DLL tool large view after openning it by double clicking the small view."); //Small View ResourcesToolsUIMap.ComDLLTool_Collapse_Large_View_To_Small_View_With_DoubleClick(); Assert.IsTrue( ResourcesToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext .WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter .Flowchart.ComDll.SmallView.Exists, "Com DLL tool small view does not exist after double clicking tool large view."); }