1、Drag And Drop

应用:把一个元素拖拽到另一个元素中。

 2、Mouse Click Drag

 

Name:    Mouse Click Drag
Source:  AutoItLibrary <test library>
Arguments:
[ strButton= | nX1= | nY1= | nX2= | nY2= | nSpeed=-1 ]
method MouseClickDrag

 

 

3、 Drag And Drop By Offset

 

 

Name:      Drag And Drop By Offset
Source:    Selenium2Library <test library>
Arguments:      [ source | xoffset | yoffset ]

  

Drags element identified with `source` which is a locator. 
Element will be moved by xoffset and yoffset, each of which is a negative or positive number specify the offset. 
Examples: 
Drag And Drop By Offset   myElem    50     -35      # Move myElem 50px right and 35px down.

 

相关文章:

  • 2020-04-21
  • 2021-10-21
  • 2021-03-29
  • 2022-12-23
  • 2022-12-23
  • 2021-12-22
  • 2021-08-11
猜你喜欢
  • 2022-12-23
  • 2021-12-12
  • 2022-12-23
  • 2022-12-23
  • 2021-11-21
  • 2022-12-23
  • 2021-08-25
相关资源
相似解决方案