Hi,
I'm currently doing it this way:
KendoTreeView treeView = myManager.ActiveBrowser.Find.ByXPath<KendoTreeView>("//div[@data-role='treeview']");
IList<KendoTreeNode> listNodes = treeView.AllNodes;
int elem = 1;
//System.Diagnostics.Debug.Print(listNodes.ElementAt(elem).ChildNodesCount.ToString());
listNodes.ElementAt(elem).
listNodes.ElementAt(elem).ScrollToVisible();
listNodes.ElementAt(elem).DragTo(new Point(500, 720));
But it's not working correctly. The mouse starts from the center of the treeview, and all elements whose text does not have the length of at least half the horizontal size of the treeview, are not being selected. Is there a better way to do it?
I'm currently doing it this way:
KendoTreeView treeView = myManager.ActiveBrowser.Find.ByXPath<KendoTreeView>("//div[@data-role='treeview']");
IList<KendoTreeNode> listNodes = treeView.AllNodes;
int elem = 1;
//System.Diagnostics.Debug.Print(listNodes.ElementAt(elem).ChildNodesCount.ToString());
listNodes.ElementAt(elem).
listNodes.ElementAt(elem).ScrollToVisible();
listNodes.ElementAt(elem).DragTo(new Point(500, 720));
But it's not working correctly. The mouse starts from the center of the treeview, and all elements whose text does not have the length of at least half the horizontal size of the treeview, are not being selected. Is there a better way to do it?