how to use sendkeys in wintask

79 views
Skip to first unread message

bug

unread,
May 28, 2008, 9:36:13 AM5/28/08
to QTP - Mercury Quick Test Professional - Automated Software Testing
hi all i want to know how to use sendkey for "Run" in wintask

Sourabh Arora

unread,
May 29, 2008, 1:08:31 AM5/29/08
to Mercu...@googlegroups.com
Hi This how you can use send keys, You can modify the code according to your functionality

Dim oDesc

 
Set oDesc=Description.Create()

oDesc("micclass").Value = "WebElement"

set obj=browser("ActiveWidgets • Ajax/Javascrip").Page("ActiveWidgets • Ajax/Javascrip").Frame("Frame").ChildObjects(oDesc)

obj(80).Click

Set v_ob_sh = CreateObject("WScript.Shell")

v_ob_sh.SendKeys "{ENTER}"

v_ob_sh.SendKeys "value"

Set v_ob_sh = Nothing

Roman Zilber

unread,
May 29, 2008, 9:04:39 AM5/29/08
to Mercu...@googlegroups.com
Is this question about QTP?

reddikishore manikanti

unread,
May 29, 2008, 11:54:33 PM5/29/08
to Mercu...@googlegroups.com
Hi ...
Plz explain about send keys?
Where we are using these send keys?
 
Regards
Kishore
Reply all
Reply to author
Forward
0 new messages