4

Using taiko automation tool, we have completed a few level of automation testing for our application in browser.

To proceed further we need to achieve a drag and drop option, which is one of the necessary steps in our application.

Gone through taiko feature's and found option like hover, scroll up, scroll down, etc.

How to achieve drag and drop using taiko?

s p
  • 789
  • 1
  • 6
  • 23
  • Drag and drop was not supported in taiko, there is a feature request in Github. https://github.com/getgauge/taiko/issues/104 – s p Nov 09 '18 at 04:32
  • The feature is available from version 0.4.0 – par Jan 18 '19 at 06:27

2 Answers2

1

You can use the dragAndDrop api.

For e.g.

dragAndDrop($("work"),into($('work done')))
dragAndDrop($("work"),{up:10,down:10,left:10,right:10})

source https://taiko-preview.gauge.org/#draganddrop

Zabil
  • 81
  • 2
0

Drag and Drop is not supported in Taiko at the moment. The team has plans to pick this up - https://github.com/getgauge/taiko/issues/104

nyuday
  • 1