public void ChangeVariableOnTheStepoutPutSetsTheDisplayNameWithAStar() { WorkflowServiceTestingUIMap.Expand_DotnetDll_ByClickingCheckbox(); WorkflowServiceTestingUIMap.Save_Tets_With_Shortcut(); WorkflowServiceTestingUIMap.SetConstructorVariable("[[@newVar]]"); WorkflowServiceTestingUIMap.Assert_Display_Text_ContainStar("Tab", true); WorkflowServiceTestingUIMap.Assert_Display_Text_ContainStar("Test", true, 1); }
public void Show_Duplicate_Test_Dialog() { UIMap.Click_View_Tests_In_Explorer_Context_Menu(HelloWorld); Assert.IsTrue(WorkflowServiceTestingUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.TestsTab.WorkSurfaceContext.ServiceTestView.TestsListboxList.Test1.Exists, "First 'Hello World' test does not exist as expected."); WorkflowServiceTestingUIMap.Click_Workflow_Testing_Tab_Create_New_Test_Button(); WorkflowServiceTestingUIMap.Update_Test_Name("Blank Input"); WorkflowServiceTestingUIMap.Save_Tets_With_Shortcut(); Assert.IsTrue(DialogsUIMap.MessageBoxWindow.Exists, "No duplicate test error dialog when saving a test with the name of an existing test."); DialogsUIMap.Duplicate_Test_Name_MessageBox_Ok(); }