Posted By

tsatish on 04/20/11


move cursor position device replay QTP

Versions (?)

Move cursor position QTP

 / Published in: Visual Basic

To move the cursor position to a desired location, we can use the following code.

  1. Dim deviceReplayObject
  2. Set deviceReplayObject = CreateObject("Mercury.DeviceReplay")
  3. Call deviceReplayObject.MouseMove(x, y)

Report this snippet  

You need to login to post a comment.