04-09-2009, 04:48 PM
Hi,
I tried using the sendkeysf for one of my scenario":after click of Ctrl F10 on Insert card dialog box ,a new pop-up screen should appear of Key Enter where by other details should be entered.But in my case after executing the below mentioned script..no Key enter pop-up is coming.Please advise asap.
i tried using this ,but still as in real scenario after press of Ctrl + F10 the next pop up appears of KEY entry...but after executing the script
in this statement:
no action is seen on the screen.
Please let me know how it can be resolved?
I am using QTP9.2 and working on Java Windows application
Thanks ,
Rachna
I tried using the sendkeysf for one of my scenario":after click of Ctrl F10 on Insert card dialog box ,a new pop-up screen should appear of Key Enter where by other details should be entered.But in my case after executing the below mentioned script..no Key enter pop-up is coming.Please advise asap.
Code:
Set WshShell = CreateObject("WScript.Shell") WshShell.AppActivate "Insertcard"
WshShell.SendKeys "^{F10}"
i tried using this ,but still as in real scenario after press of Ctrl + F10 the next pop up appears of KEY entry...but after executing the script
in this statement:
Code:
WshShell.SendKeys "^{F10}"
no action is seen on the screen.
Please let me know how it can be resolved?
I am using QTP9.2 and working on Java Windows application
Thanks ,
Rachna