/// <summary> /// ExpandCollapseServer - Use 'ExpandCollapseServerParams' to pass parameters into this method. /// </summary> public void ExpandCollapseServer() { #region Variable Declarations WpfTreeItem uIItemTreeItem1 = this.UIMainWindowWindow.UIChannelsTree.UIItemTreeItem.UIItemTreeItem1; WpfTreeItem uIItemTreeItem11 = this.UIMainWindowWindow.UIChannelsTree.UIItemTreeItem.UIItemTreeItem11; WpfTreeItem uIItemTreeItem12 = this.UIMainWindowWindow.UIChannelsTree.UIItemTreeItem1; WpfTreeItem uIItemTreeItem = this.UIMainWindowWindow.UIChannelsTree.UIItemTreeItem; #endregion // Click -> tree item Mouse.Click(uIItemTreeItem1, new Point(41, 6)); // Click -> tree item Mouse.Click(uIItemTreeItem11, new Point(64, 12)); // Click tree item numbered 2 in 'Channels' tree item Mouse.Click(uIItemTreeItem12, new Point(60, 14)); // Move -> tree item to -> tree item uIItemTreeItem11.EnsureClickable(new Point(69, 22)); Mouse.StartDragging(uIItemTreeItem1, new Point(56, 7)); Mouse.StopDragging(uIItemTreeItem11, new Point(69, 22)); // Collapse tree item uIItemTreeItem.Expanded = this.ExpandCollapseServerParams.UIItemTreeItemExpanded; }
/// <summary> /// RecordedMethod1 /// </summary> public void RecordedMethod1() { #region Variable Declarations WpfTreeItem uIItemTreeItem1 = this.UIMainWindowWindow.UIChannelsTree.UIItemTreeItem.UIItemTreeItem1; WpfTreeItem uIItemTreeItem11 = this.UIMainWindowWindow.UIChannelsTree.UIItemTreeItem.UIItemTreeItem11; WpfTreeItem uIItemTreeItem12 = this.UIMainWindowWindow.UIChannelsTree.UIItemTreeItem1; WpfTreeItem uIItemTreeItem121 = this.UIMainWindowWindow.UIChannelsTree.UIItemTreeItem.UIItemTreeItem12; #endregion // Click -> tree item Mouse.Click(uIItemTreeItem1, new Point(41, 6)); // Click -> tree item Mouse.Click(uIItemTreeItem11, new Point(64, 12)); // Click tree item numbered 2 in 'Channels' tree item Mouse.Click(uIItemTreeItem12, new Point(60, 14)); // Move -> tree item to -> tree item uIItemTreeItem121.EnsureClickable(new Point(69, 22)); Mouse.StartDragging(uIItemTreeItem1, new Point(56, 7)); Mouse.StopDragging(uIItemTreeItem121, new Point(69, 22)); }