Testing drag-and-drop with Watir
I'm evaluating Watir right now. While Selenium has a dragAndDropToObject
command (which seems to be broken) Watir seems not to have such a command. I couldn't find a script/tutorial with an example of how to test DnD with Watir.
Did开发者_运维问答 anybody try/succeed in testing drag-and-drop with Watir?
Btw.: I am using jQuery for the DnD implementation.
Different people have developed their own extensions to Watir for this. A lot depends on which drag and drop library you are using, apparently. Core Watir does not support drag and drop.
I have heard people talk about it. Possibilities For New Events in Watir is often mentioned when talking about drag and drop.
I would suggest that you browse these for more information:
- http://groups.google.com/group/watir-general
- http://rubyforge.org/mailman/listinfo/wtr-development
精彩评论