public void Recordsets_Usage_in_Debug_Input() { DataToolsUIMap.Open_AssignTool_LargeView(); DataToolsUIMap.Enter_Recordset_values(); Mouse.Move(WorkflowTabUIMap.MainStudioWindow.DockManager.SplitPaneMiddle.TabManSplitPane.TabMan.WorkflowTab.ContentPane.ContentDockManager.SplitPaneRight.Variables.DatalistView.VariableTree.RecordsetTreeItem.TreeItem1.InputCheckbox, new Point(10, 10)); Mouse.Click(); UIMap.Press_F5_To_Debug(); UIMap.Enter_Text_Into_Debug_Input_Row1_Value_Textbox("Bob"); UIMap.Click_Cancel_DebugInput_Window(); }
public void DebugInputWindow_Validation_UITest() { UIMap.Click_Debug_RibbonButton(); Assert.IsTrue(UIMap.MainStudioWindow.DebugInputDialog.Exists, "Debug Input window does not exist after clicking debug ribbon button."); Assert.IsTrue(UIMap.MainStudioWindow.DebugInputDialog.DebugF6Button.Exists, "Debug button in Debug Input window does not exist."); Assert.IsTrue(UIMap.MainStudioWindow.DebugInputDialog.CancelButton.Exists, "Cancel Debug Input Window button does not exist."); Assert.IsTrue(UIMap.MainStudioWindow.DebugInputDialog.RememberDebugInputCheckBox.Exists, "Remember Checkbox does not exist in the Debug Input window."); Assert.IsTrue(UIMap.MainStudioWindow.DebugInputDialog.ViewInBrowserF7Button.Enabled, "View in Browser button does not exist in Debug Input window."); Assert.IsTrue(UIMap.MainStudioWindow.DebugInputDialog.TabItemsTabList.InputDataTab.InputsTable.Exists, "Input Data Window does not exist in Debug Input window."); Assert.IsTrue(UIMap.MainStudioWindow.DebugInputDialog.TabItemsTabList.XMLTab.Exists, "Xml tab does not Exist in the Debug Input window."); Assert.IsTrue(UIMap.MainStudioWindow.DebugInputDialog.TabItemsTabList.JSONTab.Exists, "Assert Json tab does not exist in the debug input window."); UIMap.Click_Cancel_DebugInput_Window(); UIMap.Click_Close_Workflow_Tab_Button(); }
public void DebugInputWindow_TextboxHeightChanges_UITest() { ExplorerUIMap.Filter_Explorer("Hello World"); ExplorerUIMap.Open_ExplorerFirstItem_From_ExplorerContextMenu(); UIMap.Press_F5_To_Debug(); var varValue = UIMap.MainStudioWindow.DebugInputDialog.TabItemsTabList.InputDataTab.InputsTable.Row1.InputValueCell.InputValueComboboxl.InputValueText; var heightBeforeEnterClick = varValue.Height; varValue.Text = "Bob"; Keyboard.SendKeys(varValue, "{Enter}", ModifierKeys.None); Assert.IsTrue(varValue.Height > heightBeforeEnterClick, "Debug input dialog does not resize after adding second line."); Keyboard.SendKeys(varValue, "{Back}", ModifierKeys.None); Assert.AreEqual(heightBeforeEnterClick, varValue.Height, "Debug input dialog value textbox does not resize after deleting second line."); UIMap.Click_Cancel_DebugInput_Window(); }