Beispiel #1
0
 public void Drag_Decision_And_SwitchTools_Into_ForEachActivityDrop_ExpectError_UITest()
 {
     LoopConstructToolsUIMap.Drag_Toolbox_Decision_Onto_Foreach();
     Assert.IsTrue(DialogsUIMap.MessageBoxWindow.Exists);
     DialogsUIMap.Click_DropNotAllowed_MessageBox_OK();
     LoopConstructToolsUIMap.Drag_Toolbox_Switch_Onto_Foreach();
     Assert.IsTrue(DialogsUIMap.MessageBoxWindow.Exists);
     DialogsUIMap.Click_DropNotAllowed_MessageBox_OK();
 }
Beispiel #2
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();
 }