Nexial Automation

Test Automation Platform for everyone!

X

web » dragAndDrop(fromLocator,toLocator)

Description

This command supports the drag-and-drop automation from one element to another on the same page. Only works for web element that supports drag-and-drop interaction.

Note: during drag-and-drop automation, it is advised not to enable web element highlighting (via nexial.highlight) as it might lead to inconsistent behavior.

Parameters

  • fromLocator - this parameter is the locator of the element
  • toLocator - this parameter is the locator of the element

Example

See Also