예제 #1
0
        public void VariableList_DeleteAColumnOffARecorset_DeleteAllButtonIsEnbaled_UITest()
        {
            Assert.IsFalse(WorkflowTabUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.ContentPane.ContentDockManager.SplitPaneRight.Variables.DatalistView.RemoveUnused.Enabled);
            WorkflowTabUIMap.Enter_Vaiablelist_Items();
            DataToolsUIMap.Click_Assign_tool_VariableTextbox();
            DataToolsUIMap.Click_Assign_tool_ValueTextbox();
            Assert.IsTrue(WorkflowTabUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.ContentPane.ContentDockManager.SplitPaneRight.Variables.DatalistView.RemoveUnused.Enabled);
            UIMap.Click_Remove_Unused_Variables();
            Point newPoint;

            Assert.IsFalse(WorkflowTabUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.ContentPane.ContentDockManager.SplitPaneRight.Variables.DatalistView.VariableTree.VariableTreeItem.TreeItem2.TryGetClickablePoint(out newPoint));
        }