Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KeyBoard Events
#2
Solved: 10 Years, 9 Months, 1 Week ago
Hi Ravi,
Below lines may help you.

Code:
oShell.SendKeys "{ESC}"    - press escape key
oShell.SendKeys "john"    - type john
oShell.SendKeys "+^{ESC}"    - press Ctrl + Shift + Esc keys (open Windows Task Manager)
oShell.SendKeys "%{F}"    - press Alt + F key (open file menu)
Above source taken from
http://www.qtpschool.com/2011/03/sendkey...ns-in.html

Thanks,
Suresh.
Reply


Messages In This Thread
KeyBoard Events - by ravi.gajul - 11-25-2011, 01:12 PM
RE: KeyBoard Events - by suresh vasu - 12-28-2011, 06:13 PM
RE: KeyBoard Events - by ravi.gajul - 12-28-2011, 11:48 PM
RE: KeyBoard Events - by sathish_win@outlook.com - 07-19-2017, 03:04 AM
RE: KeyBoard Events - by sathish_win@outlook.com - 07-19-2017, 08:49 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  how to use keyboard "Space' using qtp Naresh 2 2,942 06-11-2015, 06:30 PM
Last Post: venkatesh9032
  Problem Firing events on Flex components endpoint 0 2,206 09-10-2014, 06:52 PM
Last Post: endpoint
  Problem in Input from keyboard:sendkeys Rachna 1 4,783 10-14-2013, 06:07 PM
Last Post: anil2u
  Keyboard Shortcuts "Ctrl+s" are not working in QTP11 dipti 0 2,941 12-31-2012, 05:08 PM
Last Post: dipti
  [QTP]Keyboard control + mouse click lucieclaire 2 22,454 12-18-2012, 03:11 PM
Last Post: lucieclaire

Forum Jump:


Users browsing this thread: 1 Guest(s)