zoukankan      html  css  js  c++  java
  • robotframework 下关于拖拽功能的关键字

    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.
  • 相关阅读:
    Best Time to Buy and Sell Stock II
    Subsets II
    Subsets I
    Combinations
    Permutation Sequence
    Next Permutation
    Anagrams
    Combination-Sum II
    Combination-Sum I
    Permutations II
  • 原文地址:https://www.cnblogs.com/maxiaotu/p/6814403.html
Copyright © 2011-2022 走看看