[Wtr-development] drag and drop

Michael Hwee michael_hwee at yahoo.com
Tue Dec 2 19:36:02 EST 2008


In Selenium,
here are some functions provided:
getCursorPosition()
getElementHeight()
getElementIndex()
getElementPositionLeft()
getElementPositionTop()
getElementWidth()

Michael



----- Original Message ----
From: Paul Rogers <paul.rogers at shaw.ca>
To: Watir development <wtr-development at rubyforge.org>
Sent: Tuesday, December 2, 2008 10:33:25 AM
Subject: Re: [Wtr-development] drag and drop

'..provide element coordination functions..' - what does this mean?

On Tue, Dec 2, 2008 at 9:50 AM, Michael Hwee <michael_hwee at yahoo.com> wrote:
>
> I love to have this.
> And, if you are up to it, can you also provide element coordination functions as well.
>
> Thanks.
> Michael
>
>
>
> ----- Original Message ----
> From: Paul Rogers <paul.rogers at shaw.ca>
> To: Watir development <wtr-development at rubyforge.org>
> Sent: Monday, December 1, 2008 12:25:35 PM
> Subject: [Wtr-development] drag and drop
>
> I have some code that does cross browser drag and drop.
>
> Is there any interest in adding this to the main watir code base,
> either as a full feature or via the contrib mechanism?
>
> Ive just tried it out on prototype and scriptaculous and seems to work
> ok, but it will be quite a bit of work for me to make unit tests etc,
> but Im willing to do it.
>
> Selenium already supports this with these methods -
> http://release.seleniumhq.org/selenium-remote-control/0.9.0/doc/java/com/thoughtworks/selenium/DefaultSelenium.html#dragAndDrop(java.lang.String,
> java.lang.String)
>
> Paul
> _______________________________________________
> Wtr-development mailing list
> Wtr-development at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-development
>
> _______________________________________________
> Wtr-development mailing list
> Wtr-development at rubyforge.org
> http://rubyforge.org/mailman/listinfo/wtr-development
>
_______________________________________________
Wtr-development mailing list
Wtr-development at rubyforge.org
http://rubyforge.org/mailman/listinfo/wtr-development




More information about the Wtr-development mailing list