51Testing软件测试论坛

 找回密码
 (注-册)加入51Testing

QQ登录

只需一步,快速开始

微信登录,快人一步

手机号码,快捷登录

查看: 1796|回复: 3
打印 上一主题 下一主题

[求助] QTP点击WinObject时的鼠标位置

[复制链接]
  • TA的每日心情
    擦汗
    2016-5-4 10:34
  • 签到天数: 68 天

    连续签到: 1 天

    [LV.6]测试旅长

    1#
    发表于 2013-12-10 13:55:07 | 显示全部楼层
    object.Click [X], [Y], [BUTTON]

    X: Optional. An Integer value. The x-coordinate of the click. Note that the specified coordinates are relative to the upper left corner of the object.  Default = micNoCoordinate (-9999) -- center of the object.

    Y: Optional. An Integer value. The y-coordinate of the click. Note that the specified coordinates are relative to the upper left corner of the object.  Default = micNoCoordinate (-9999) -- center of the object.


    Tip: You can enter micNoCoordinate (-9999) for the x and y argument values if you want to enter a value for the button argument without specifying x- and y- coordinates for the click. micNoCoordinate indicates the center of the object.

    BUTTON: Optional. A predefined constant or number. See the Constants table, below. The mouse button used to click the object. Default = micLeftBtn (0).
    回复 支持 反对

    使用道具 举报

    本版积分规则

    关闭

    站长推荐上一条 /2 下一条

    小黑屋|手机版|Archiver|51Testing软件测试网 ( 沪ICP备05003035号 关于我们

    GMT+8, 2024-6-13 18:34 , Processed in 0.069400 second(s), 22 queries .

    Powered by Discuz! X3.2

    © 2001-2024 Comsenz Inc.

    快速回复 返回顶部 返回列表