Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

This keyword helps to drag and drop an element.

Suppose we wish to move an object from source location to the destination location.

We store the element (source location) in a variable using keyword findAndStoreElement & then use dragAndDrop keyword to drag and drop the element from source location to the destination location.

Structure :

findAndStoreElement <parameter>

dragAndDrop <parameter>

Action

Parameters

Example Usage

dragAndDrop

Web, Mobile


To drag the element (mentioned in Object Name) to location (mentioned in Parameter 1).

Please use keyword 'findAndStoreElement' before using the keyword dragAndDrop.

Param 1 : Name of the drop object

Example :

Suppose a webpage has two elements :

Element 1 : bqObject (element to drag and drop)
Element 2 : dropZone (element where the item needs to be dropped)

dragAndDrop : <Object : bqObject> <Object Name to Drop : dropZone>

Drags the element bqObject to dropZone

  • No labels