I've been trying to drag a TreeItem from a View into an Editor but it does not work. Here's what I do,
- Code: Select all
// Click on the destination inside an Editor.
// Click on the target. This is inside a View.
ui.click(new TreeItemLocator("Project_1/POU_1", new ViewLocator("platform.cnf.view")));
// Drag to the destination point in the Editor.
But what I see is a click on the block where I want TreeItem to be dropped, then click on the TreeItem I want to drag and then a mouse move to a location where I want TreeItem to be dropped i.e. where the first click occured.
Drag and dropping within the same View works well but when drag and dropping between Views I doesn't seem to work. Is this feature supported?