Set ObCr =
DotNetFactory.CreateInstance("System.Windows.Forms.Control")
Do
Flag = MsgBox("Have positioned mouse?", vbYesNo)
Offset_x = ObCr.MousePosition.X
Offset_x = ObCr.MousePosition.Y
If (Flag = vbYes) Then
Exit Do
End If
Loop
Set DevRpyObj = CreateObject("Mercury.DeviceReplay")
DevRpyObj.MouseClick Offset_x, Offset_y, 2
DevRpyObj.PressKey VK_DOWN
DevRpyObj.PressKey VK_RETURN
(OR)
Set WshShell = CreateObject("WScript.Shell")
' Cursor should be placed on the control
WshShell.Sendkeys "{DOWN}"
WshShell.Sendkeys "{ENTER}"
Regards,
Varma
On Apr 9, 11:09 am, Jyothi <[email protected]> wrote:
> Dear Experts,
>
> Please help me out of this issue,
>
> *Issue:*
>
> I want select the value from drop down list in SAP GUI .
>
> I am expecting it is possible with handle cursor movement in QTP using shell
> script.
>
> Thanks in advance.
> Jyothi
--
You received this message because you are subscribed to the Google
"QTP - HP Quick Test Professional - Automated Software Testing"
group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/MercuryQTP?hl=en