• HOME
  • View source and checking the drag and drop action
Created time: 2014-02-25 Last updated time:

View source and checking the drag and drop action

Last time, I wrote in "Making test automation program for jQuery Rich UI with selenium",

In order to take the screen shot, we have to combine the clickAndHold(), "moveToElement(toElement, xOffset, yOffset)", and release(). Then take the screen shot before executing the release().

I'm checking it is ok or not.

By reading source code of "org.openqa.selenium.interactions.Actions", dragAndDropBy is written like below.

This means the drag and drop is made from ClickAndHoldAction, MoveToOffsetAction and ButtonReleaseAction.

By knowing this, I'm sure I can use selenium for testing Rich UI Application using jQuery.


Go to Top