- Code: Select all
ui.click(1, new TreeItemLocator(WT.CHECK, "any item"));
should check a tree item and it does. But it seems that it doesn't if the tree item is existing and is not visible in the current excerpt the tree widget is showing (i.e. when scrolling down, the item would appear). Moreover, no exception is thrown although the tree item was not checked. For instance, this issue occurs when I want to checkmark multiple tree items of the same parent item, which has a number of items and therefore not all items are visible in the widget. Is there some code on scrolling in tree to the item to check?