Esempio n. 1
0
 public void Save_DebugInputs_AfterCancel_UITest()
 {
     ExplorerUIMap.Filter_Explorer(HelloWorld);
     ExplorerUIMap.Open_ExplorerFirstItem_From_ExplorerContextMenu();
     Assert.IsTrue(WorkflowTabUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.Exists, "Hello World workflow does not exist");
     UIMap.Click_Debug_RibbonButton();
     UIMap.Check_Debug_Input_Dialog_Remember_Inputs_Checkbox();
     Assert.IsTrue(UIMap.MainStudioWindow.DebugInputDialog.RememberDebugInputCheckBox.Checked);
     UIMap.Enter_Text_Into_Debug_Input_Row1_Value_Textbox(InputDataText);
     UIMap.Click_DebugInput_Cancel_Button();
     UIMap.Click_Debug_RibbonButton();
     Assert.AreEqual(InputDataText, UIMap.MainStudioWindow.DebugInputDialog.TabItemsTabList.InputDataTab.InputsTable.Row1.InputValueCell.InputValueComboboxl.InputValueText.Text, "Cancelling and re-openning the debug input dialog loses input values.");
 }