Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to record keyboard shortcuts in QTP?
#1
Solved: 10 Years, 8 Months, 3 Weeks ago
Hey guys

I am currently automating a Windows application. i need to use the keyboard shorcuts to open a file or create a file etc.

is it possible to record these keyboard shortcuts(ctrl+N, ctrl +S etc)?

Thanks
Aravind
Reply
#2
Solved: 10 Years, 8 Months, 3 Weeks ago
Yes QTP does record shorcuts keys,Not sure for other application, I have tried this for 'notepad', it works.
alternately you can script such statements in expert view using SendKeys
e.g
Code:
set WshShell = CreateObject("WScript.Shell")
WshShell.SendKeys "^N"

Reply
#3
Solved: 10 Years, 8 Months, 3 Weeks ago
thanks a lot saket
Reply
#4
Solved: 10 Years, 8 Months, 3 Weeks ago
Hi All,
Please find the attached document which gives u the complete picture about the recording keys..


Attached Files
.doc   Using_Keyboard.doc (Size: 134 KB / Downloads: 193)
Reply
#5
Solved: 10 Years, 8 Months, 3 Weeks ago
HI...
content not available in attached document...
can you please add it.

-Devidas
Reply
#6
Solved: 10 Years, 8 Months, 3 Weeks ago
hi,

Attached document not contains any data.
please add new file.

Regards,
Raaj123
Reply
#7
Solved: 10 Years, 8 Months, 3 Weeks ago
Please find attached the document for your reference.Taken from Dani Vainstein's book


Attached Files
.pdf   Keyboard Events.pdf (Size: 528.55 KB / Downloads: 172)
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  KeyBoard Events ravi.gajul 4 15,693 07-19-2017, 08:49 PM
Last Post: sathish_win@outlook.com
  how to use keyboard "Space' using qtp Naresh 2 2,931 06-11-2015, 06:30 PM
Last Post: venkatesh9032
  QTP 11.0 does not record web application shipu 6 6,918 08-03-2014, 01:47 AM
Last Post: riverdiego
  QTP does not record anything on a page developed using AJAX shayk1985 2 2,177 05-21-2014, 04:56 AM
Last Post: shayk1985
  Problem in Input from keyboard:sendkeys Rachna 1 4,770 10-14-2013, 06:07 PM
Last Post: anil2u

Forum Jump:


Users browsing this thread: 1 Guest(s)