Hi, I have notice different behavior in the drag n drop method depending on the os and browsers used. I originally developed the drag_n_drop step on a Mac/Firefox combo and will see the object being moved. Though when I run the same script on a WIN7 IE8 VM the visible object doesn't move but the steps following that complete with success.
Joe On Wed, Jul 3, 2013 at 9:53 AM, watir webdriver <[email protected] > wrote: > Hi there, > > I'm trying to drag and drop an element in webpage through the below code: > > Step def: > When(/^I drag and drop Basket rule to the position slot$/) do > @browser.span(:class => "draggable > ui-draggable").drag_and_drop_on(@browser.div(:class => "droparea > ui-droppable ui-sortable")) > end > > *The scenario is passing but on the webpage its just high lighting the > draggable element.*(drop is not working) > > *HTML code for draggable code*: > <tr> > <td> > <span class="draggable ui-draggable" full="Basket" aid="BASKET"> Basket</ > span> > </td> > <tr> > > > *HTML code for droppable code:* > <div id="0" class="droparea ui-droppable ui-sortable"> > > Anyone can help me with this issue ? > > Thanks in-advance. > > > -- > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > [email protected] > http://groups.google.com/group/watir-general > [email protected] > > --- > You received this message because you are subscribed to the Google Groups > "Watir General" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected] --- You received this message because you are subscribed to the Google Groups "Watir General" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
