How to drag and drop to a hidden target using selenium
Wednesday, March 24th, 2010See the update at the bottom on this post. Inspired by this posting by Pat Nakajima to execute the javascript to show an element before doing drag and drop.
See the update at the bottom on this post. Inspired by this posting by Pat Nakajima to execute the javascript to show an element before doing drag and drop.
Using cucumber with webrat is not the same as using them with selenium. I found this out the hard way. In tracks, you have the ‘badge’ in the top-left corner which shows the number of items on the page. To check the number increases or decreases you want to retrieve the value of the badge. [...]
I needed to show a bug using a cucumber script which includes drag and drop. Turned out to be difficult for several reasons drag and drop is not supported by webrat for selenium ‘within’ for scoping is not supported by webrat for selenium this made the feature difficult to quickly specifiy. The feature contains: [...] [...]