03-27-2012, 09:25 PM
Does the 'SystemUtil.BlockInput' method only block the keyboard/mouse operations during execution or will it block the statements in the scripts which has SendKeys/DeviceReplay operations being called??
For Example:
my code is as below:
################################
################################
Will QTP enters the characters "%f" in the WebEdit even though BlockInput has been used?
Thanks in Advance!!
Surya
For Example:
my code is as below:
################################
Code:
SystemUtil.BlockInput
Browser().Page().WebButton().Click
Set WshShell = CreateObject("WScript.Shell")
Browser().Page().WebEdit().Click
WshShell.SendKeys "%f"
Browser().Page().WebButton().Click
Will QTP enters the characters "%f" in the WebEdit even though BlockInput has been used?
Thanks in Advance!!
Surya