Welcome to the Ranorex Support Portal

DragNDropLibrary

Moving UI elements with drag and drop during a test is not possible without coding. This collection contains the method that implements this functionality.

To use it, simply ⇢ add the method to the desired recording modules.

On this page

Arguments


The following arguments are available:

Adapter source

  • The repository item representing the UI element you want to move.

Adapter target

  • The repository item representing the UI element where the adapter source will be dropped.

Example


You have a text file called “text1.txt” that you want to move from a local folder to a cloud folder (e.g. Dropbox). You want to do so by drag and drop.

First, you need to have both the text file and the drop area in the cloud folder as repository items in your solution.

  1. Repository item for the text file you want to move

  2. Repository item for the drop area in the cloud folder

Result


The method drags the text file to the drop area and drops it, resulting in the file being uploaded to Dropbox.

USERS LOVE US

SUBSCRIBE TO OUR NEWSLETTER

Get the latest test automation information right in your mailbox.

FOLLOW US

© 2024 Ranorex GmbH. All Rights Reserved