I would like to test Selenium Drag-and-Drop a column in a grid.
I use the method dragAndDrop(String locator, String movementsString) but nothing happens when I run the test with JUnit.
Below is the code:
browser.dragAndDrop ("//col[@id='" + TreeGridHelper.getTreeGridTagId() +
"_head_before_"+ numCol + "']", "850,0");
The best would be to switch to WebDriver to get better support and an improving framework..
To drag and drop WebElements with WebDriver you can use this Tutorial which isn’t perfect but quite useful