我在使用Sikuli的拖放功能时遇到问题。我想在任何其他方向(上,下,左,右)拖动一些固定数量的像素。
这看起来应该管用:
t = find("1325249963143.png")
dragDrop(t, [t.x + 100, t.y + 100])
Sikuli IDE log说
[log] DRAG (741,525) to null
但元素不会被拖动。
这很管用:
dragDrop("1325249963143.png", "1325251471990.png")
日志上说
[log] DRAG (741,525) to (507,490)
我做错什么了?
环境:Mac OS X 10.7.2、Sikuli X-1.0rc3(r905)
只是在这里打个招呼-另一种编码:
我使用此代码将图像向下拖动到给定位置:
到quote RaiMan (raimund-hocke):
相关问题 更多 >
编程相关推荐