Exemplo n.º 1
0
 public void CreateTestFromDebugOutputDontSaveCreateAnotherTestFromDebugOutput()
 {
     UIMap.Click_NewWorkflow_RibbonButton();
     WorkflowTabUIMap.Drag_Toolbox_Random_Onto_DesignSurface();
     UtilityToolsUIMap.Enter_Dice_Roll_Values();
     UIMap.Save_With_Ribbon_Button_And_Dialog("RandomWFForSaveButtonState");
     UIMap.Press_F6();
     UIMap.Click_Create_Test_From_Debug();
     UIMap.Click_New_Workflow_Tab();
     UIMap.Click_Create_Test_From_Debug();
     DialogsUIMap.Click_MessageBox_OK();
     Assert.IsTrue(UIMap.MainStudioWindow.SideMenuBar.SaveButton.Enabled, "Save button is not enabled after creating two new unsaved tests.");
 }
Exemplo n.º 2
0
 public void CreateTestFromDebugOutputDontSaveCreateAnotherTestFromDebugOutput()
 {
     UIMap.Click_NewWorkflow_RibbonButton();
     WorkflowTabUIMap.Drag_Toolbox_Random_Onto_DesignSurface();
     UtilityToolsUIMap.Enter_Dice_Roll_Values();
     UIMap.Save_With_Ribbon_Button_And_Dialog("RandomWFForSaveButtonState");
     UIMap.Press_F6();
     UIMap.Click_Create_Test_From_Debug();
     UIMap.Click_New_Workflow_Tab();
     UIMap.Click_Create_Test_From_Debug();
     DialogsUIMap.Click_MessageBox_OK();
     UIMap.Save_Button_IsEnabled();
 }
Exemplo n.º 3
0
 public void CreateTestFromDebugOutputDeleteTestButDontCloseTestTabGoBackAndCreateTestAgain()
 {
     UIMap.Click_NewWorkflow_RibbonButton();
     WorkflowTabUIMap.Drag_Toolbox_Random_Onto_DesignSurface();
     UtilityToolsUIMap.Enter_Dice_Roll_Values();
     UIMap.Save_With_Ribbon_Button_And_Dialog(WorkflowServiceTestingTests.RandomNewWorkFlow);
     UIMap.Press_F6();
     UIMap.Click_Create_Test_From_Debug();
     Assert.IsTrue(WorkflowServiceTestingUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.TestsTab.Exists, "Test tab does not exist after clicking Create Test from debug button");
     WorkflowServiceTestingUIMap.Click_EnableDisable_This_Test_CheckBox(true);
     WorkflowServiceTestingUIMap.Click_Delete_Test_Button();
     DialogsUIMap.Click_MessageBox_Yes();
     UIMap.Click_New_Workflow_Tab();
     UIMap.Press_F6();
     UIMap.Click_Create_Test_From_Debug();
     Assert.IsTrue(WorkflowServiceTestingUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.TestsTab.Exists, "Test tab does not exist after clicking Create Test from debug button");
     Assert.IsTrue(WorkflowServiceTestingUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.TestsTab.WorkSurfaceContext.ServiceTestView.StepTestDataTreeTree.UIWarewolfStudioViewMoTreeItem.RandomTreeItem.Exists);
 }