[wtr-general] Drag and drop on Win7+IE9
Does somebody use drag and drop operation on win7+IE9+watir-webdriver (not watir)? I have strange behavior for small objects that I want to drag and drop using drag_and_drop_on(element) method. If mouse cursor is situated somewhere below the screen (near task panel), so all test cases passed, but if somewhere in the middle of screen or above, so all cases just failed, because nothing is dragged and dropped As far as I know we don't have any methods to physically move mouse cursor, so it is like a blocking issue for me. Please help. Thanks, Alex -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- 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 watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[wtr-general] Re: Drag and drop on Win7+IE9
Sorry It depends not even on position, but whether mouse cursor is physically located inside of browser window, so if I for example have not maximized window and cursor is situated somewhere (no matter where) but not in browser window - everything works properly I appreciate any help Thanks, Alex -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- 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 watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] Re: Drag and drop on Win7+IE9
Hi Alex, Have you tried to click an object within the browser before executing the drag and drop? Joe On Feb 27, 2013 9:28 AM, "Alex Shtayer" wrote: > Sorry > > It depends not even on position, but whether mouse cursor is physically > located inside of browser window, so if I for example have not maximized > window and cursor is situated somewhere (no matter where) but not in > browser window - everything works properly > > I appreciate any help > > Thanks, > Alex > > -- > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com > > --- > 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 watir-general+unsubscr...@googlegroups.com. > 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. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- 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 watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[wtr-general] Re: Drag and drop on Win7+IE9
Hi Joe Thanks for suggestion. I did not do that before, but I just have tried to click and it doesn't help to drag and drop Strange, because everything works just perfect for Win8+IE10 and WinXP+IE8. And, of course it works from irb (for Win7+IE9), because mouse concentrated on CMD, not on browser If that was single case, I would not post here, but it is like 60 cases failing due this issue. I am using last watir-webdriver gem and tried three different versions of driver. Thanks, Alex -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- 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 watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [wtr-general] Re: Drag and drop on Win7+IE9
hi alex, When the script fails is it providing an error stack? Joe On Wed, Feb 27, 2013 at 9:44 AM, Alex Shtayer wrote: > Hi Joe > > Thanks for suggestion. I did not do that before, but I just have tried to > click and it doesn't help to drag and drop > > Strange, because everything works just perfect for Win8+IE10 and WinXP+IE8. > And, of course it works from irb (for Win7+IE9), because mouse concentrated > on CMD, not on browser > If that was single case, I would not post here, but it is like 60 cases > failing due this issue. I am using last watir-webdriver gem and tried three > different versions of driver. > > Thanks, > Alex > > > > -- > -- > Before posting, please read http://watir.com/support. In short: search > before you ask, be nice. > > watir-general@googlegroups.com > http://groups.google.com/group/watir-general > watir-general+unsubscr...@googlegroups.com > > --- > 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 watir-general+unsubscr...@googlegroups.com. > 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. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- 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 watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
[wtr-general] Re: Drag and drop on Win7+IE9
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 -- -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. watir-general@googlegroups.com http://groups.google.com/group/watir-general watir-general+unsubscr...@googlegroups.com --- 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 watir-general+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.