Esempio n. 1
0
 public void Sequence_DraggingResourceFromFolder_UITest()
 {
     Assert.IsTrue(ControlFlowToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext.WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter.Flowchart.Sequence.Exists, "Sequence on the design surface does not exist");
     ExplorerUIMap.Filter_Explorer(HelloWorld);
     ControlFlowToolsUIMap.Drag_Explorer_First_Item_Onto_Sequence();
     Assert.IsTrue(ControlFlowToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext.WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter.Flowchart.Sequence.SequenceSmallView.ElementTable.AssignObject.Exists, "Hello World Worflow does not exist.");
 }
Esempio n. 2
0
 public void DecisionTool_MatchType_Combobox_ListItems_UITest()
 {
     ControlFlowToolsUIMap.Click_Decision_Large_View_Match_Type_Combobox();
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsContains.Exists, "Contains match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsDoesntContain.Exists, "Doesnt Contains match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsDoesntEndWith.Exists, "Doesnt End With match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsDoesntStartWith.Exists, "Doesnt Start With match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsEndsWith.Exists, "EndsWith match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsEquals.Exists, "Equals match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsGreaterThan.Exists, "Greater Than match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsGreaterThanOrEqualTo.Exists, "Greater Than Or Equal To match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsAlphanumeric.Exists, "Alphanumeric match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsDoesntEndWith.Exists, "Doesnt End With match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsDoesntStartWith.Exists, "Doesnt Start With match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsBase64.Exists, "Is Base 64 match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsBetween.Exists, "Is Between match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsBinary.Exists, "Is Binary match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsDate.Exists, "Is Date match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsEmail.Exists, "Is Email match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsHex.Exists, "Is Hex match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsNULL.Exists, "Is NULL match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsNumeric.Exists, "Is Numeric match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsBase64.Exists, "Is Base64 match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsNotNULL.Exists, "Is Not NULL match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsText.Exists, "Is Text match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsRegex.Exists, "Is Regex match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsIsXML.Exists, "Is XML match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsNotEmail.Exists, "Not Email match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsNotAlphanumeric.Exists, "Not Alphanumeric match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsNotBase64.Exists, "Not Base64 match type combobox list item does not exist.");
     Assert.IsTrue(DialogsUIMap.DecisionOrSwitchDialog.ComboboxListItemAsNotBetween.Exists, "Not Between match type combobox list item does not exist.");
 }
Esempio n. 3
0
 public void Sequence_DraggingNonDecision_Allowed_LargeView_UITest()
 {
     Assert.IsTrue(ControlFlowToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext.WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter.Flowchart.Sequence.Exists, "Sequence on the design surface does not exist");
     ControlFlowToolsUIMap.SequenceTool_ChangeView_With_DoubleClick();
     Assert.IsTrue(ControlFlowToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext.WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter.Flowchart.Sequence.UIDoneButton.Exists);
     ControlFlowToolsUIMap.Drag_Toolbox_AssignObject_Onto_Sequence_LargeTool();
     Assert.IsTrue(ControlFlowToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext.WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter.Flowchart.Sequence.SequenceLargeView.AddModeNewActivity.MultiAssignObject.Exists, "Multi Assign Object Tool does not exist.");
 }
Esempio n. 4
0
 public void CopyDecisions_With_ContextMenu_And_Paste_UITest()
 {
     DialogsUIMap.Click_Decision_Dialog_Done_Button();
     Assert.IsTrue(ControlFlowToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext.WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter.Flowchart.Decision.Exists, "Decision on the design surface does not exist after dragging in from the toolbox and clicking done on the dialog.");
     Assert.IsTrue(WorkflowTabUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext.WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter.Flowchart.Connector1.Exists, "No connectors exist on design surface after dragging in from the toolbox and clicking done on the dialog.");
     ControlFlowToolsUIMap.CopyAndPaste_Decision_Tool_On_The_Designer();
     Assert.IsFalse(UIMap.ControlExistsNow(DialogsUIMap.DecisionOrSwitchDialog), "Decision large view dialog openned after copy and paste.");
 }
Esempio n. 5
0
 public void Sequence_DraggingDecision_NotAllowed_BothViews_UITest()
 {
     //Large View
     ControlFlowToolsUIMap.SequenceTool_ChangeView_With_DoubleClick();
     ControlFlowToolsUIMap.Drag_Toolbox_Decision_Onto_Sequence_LargeTool();
     Assert.IsTrue(DialogsUIMap.MessageBoxWindow.Exists, "Message box does not exist");
     DialogsUIMap.Click_DropNotAllowed_MessageBox_OK();
     //Small View
     ControlFlowToolsUIMap.SequenceTool_ChangeView_With_DoubleClick();
     ControlFlowToolsUIMap.Drag_Toolbox_Decision_Onto_Sequence_SmallTool();
     Assert.IsTrue(DialogsUIMap.MessageBoxWindow.Exists, "Message box does not exist");
     DialogsUIMap.Click_DropNotAllowed_MessageBox_OK();
 }
Esempio n. 6
0
 public void Sequence_DraggingNonDecision_Allowed_SmallView_UITest()
 {
     ControlFlowToolsUIMap.Drag_Toolbox_AssignObject_Onto_Sequence_SmallTool();
     Assert.IsTrue(ControlFlowToolsUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.WorkSurfaceContext.WorkflowDesignerView.DesignerView.ScrollViewerPane.ActivityTypeDesigner.WorkflowItemPresenter.Flowchart.Sequence.SequenceSmallView.ElementTable.AssignObject.Exists, "Assign Object Tool does not exist.");
 }