Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Is it possible to record keyboard shortcuts in QTP?
#1
Solved: 11 Years, 3 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: 11 Years, 3 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: 11 Years, 3 Months, 3 Weeks ago
thanks a lot saket
Reply
#4
Solved: 11 Years, 3 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: 227)
Reply
#5
Solved: 11 Years, 3 Months, 3 Weeks ago
HI...
content not available in attached document...
can you please add it.

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

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

Regards,
Raaj123
Reply
#7
Solved: 11 Years, 3 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: 214)
Reply


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

Forum Jump:


Users browsing this thread: 4 Guest(s)