Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How can I Handle ShortKey in QTP
#1
Not Solved
I have One cobol Application....
In this Application have some shortcut key like "F2" for search, "Esc" for close window etc.
When I want to record this type of event through QTP, it can not recognize this type of event, though it creating a script on recording time like "Type micF2" or "Type micEsc" but its not working on runtime. after recording my script when I want run this script its giving run time error.

Can anybody tell me how can I over come this type of situation.
Reply
#2
Not Solved
Hi,
follow the steps:
1)Well you need to first learn the object.
2)use:
Object.type micF2

eg:
window(abc).dialog(xyz).type micF2

plz note:That u should first learn the object as "window(abc).dialog(xyz)" is already learned by the QTP.


Reply
#3
Not Solved
What is the error message your are getting?
Thanks,
SUpputuri
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Can UFT Handle Detecting Redirects? zunebuggy 0 896 05-28-2020, 06:50 PM
Last Post: zunebuggy
  How to handle pop up blocker. chetan-24 4 8,645 06-08-2012, 09:10 PM
Last Post: nilanjans
  Handle start and end of tests fafanoulele 0 2,446 09-14-2011, 03:04 PM
Last Post: fafanoulele
  How to Handle Browser page wait In Firefox QTP V11. UFTEnthusiast 0 3,548 05-30-2011, 05:25 PM
Last Post: UFTEnthusiast
  Transfer handle to newly opened browser eltee 2 3,048 04-29-2011, 02:25 PM
Last Post: vIns

Forum Jump:


Users browsing this thread: 1 Guest(s)