Thanks for pointing me to that thread. It has helped out a little bit, but once I have clicked on the element in the table I did to drag it to the screen below. The screen is split in two views so I can take it from the top and drag it to the bottom. So far I have not used a right click or left click just an onMouseDown to get the element that I want to drag...Just having troubling trying to drag it into the second screen.....
Thanks for your help! On Jan 21, 2:11 pm, Alan Baird <[email protected]> wrote: > See this thread for some suggestions: > > http://groups.google.ca/group/watir-general/browse_thread/thread/d45e... > > > > -----Original Message----- > From: [email protected] [mailto:[email protected]] > On Behalf Of tester86 > Sent: Thursday, January 21, 2010 1:38 PM > To: Watir General > Subject: [wtr-general] RE: Drag and Drop using Watir > > Hi > > I have been doing some reserach on drag and drop using Watir. From > what I can understand it is not feasiable yet, but it can be down via > fire events. > > I have managed to select the div element that I want to drag to > another screen view but I cannot seem to drag it into that view. > > When I use $b.div(:id, "8987").dragto("splitview") > > I get an error message saying that drag to is not a function. I tried > using onmousemove but it returns 0 in irb. Then when I do onmouseup it > just "lets go" of the element. > > Does anyone have any ideas or any sites that they can direct me to? > > Thanks > > This email message and any attachments are for the sole use of the intended > recipients and may contain proprietary and/or confidential information which > may be privileged or otherwise protected from disclosure. Any unauthorized > review, use, disclosure or distribution is prohibited. If you are not an > intended recipient, please contact the sender by reply email and destroy the > original message and any copies of the message as well as any attachments to > the original message.- Hide quoted text - > > - Show quoted text -
-- You received this message because you are subscribed to the Google Groups "Watir General" group. To post to this group, send email to [email protected] Before posting, please read the following guidelines: http://wiki.openqa.org/display/WTR/Support To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/watir-general
