public void SelectNode()
        {
            TreeNode treeNode = tree.Node("Root", "Child");

            treeNode.Select();
            Assert.AreEqual("Child", tree.SelectedNode.Name);
        }
        public void ModalOnExpand()
        {
            TreeNode node = window.Get <Tree>("treeViewLaunchesModal").Node("Root");

            node.Select();
            node.Expand();
            CloseModal(window);
        }
        public void ScrollAndSelect()
        {
            var      tree     = window.Get <Tree>("treeView1");
            TreeNode treeNode = tree.Node("Root", "Child40");

            Assert.AreNotEqual(null, treeNode);
            treeNode.Select();
            Assert.AreEqual(treeNode, tree.SelectedNode);
        }