public void WorkflowWithObjectoutPutTests() { ExplorerUIMap.Filter_Explorer(WorkflowServiceTestingTests.DotnetWfWithObjOutput); ExplorerUIMap.DoubleClick_Explorer_Localhost_First_Item(); UIMap.Click_Save_Ribbon_Button_With_No_Save_Dialog(); UIMap.Press_F6(); UIMap.Click_Create_Test_From_Debug(); WorkflowServiceTestingUIMap.Click_Run_Test_Button(TestResultEnum.Pass); WorkflowServiceTestingUIMap.Click_EnableDisable_This_Test_CheckBox(true); WorkflowServiceTestingUIMap.Click_Delete_Test_Button(); DialogsUIMap.Click_MessageBox_Yes(); }
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); }