On Wednesday, February 27, 2013 2:16:46 PM UTC-8, Alex Shtayer wrote:

> Nope
>
> I can see how necessary controls (what should be dragged and that where it 
> should be dragged) just blurring (selected for a second).
>
> Here is an example that I use for testing:
> http://dev.sencha.com/deploy/ext-3.4.0/examples/tree/reorder.html
> Code:
>   browser.span(:text, "ext-core").double_click
>   browser.span(:text, "debug.js").drag_and_drop_on(browser.span(:text, 
> "ext-core"))
>   browser.span(:text, "util").drag_and_drop_on(browser.span(:text, 
> "ext-core"))
>
> I can provide more examples if necessary
>
> Only Win7+IE9
>
> Thanks for any help,
> Alex
>
> I think this is actually an IE thing.. IE9 seems somewhat um 'hyper aware' 
of where the mouse cursor is, it's like the browser will let us fire an 
event that in effect says to the javascript 'hey the mouse is over here' 
but then the browser itself immediately fires it's own event "no, the mouse 
is over there"   The net effect is like if there are two mice hooked up, 
and two people moving them at the same time and trying to accomplish 
something (try it sometime, it's nuts)
It makes it nearly impossible to emulate any sort of drag and drop 
operations, because no matter what we try to tell the javascript via 
events, the browser pretty much countermands us an instant later.

Move the mouse outside the browser window, and the browser no longer feels 
compelled to constantly say 'the mouse is here.." and webdriver can 
effectively control things. 

-- 
-- 
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.


Reply via email to