Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SystemUtil Block Input method
#1
Solved: 10 Years, 9 Months ago
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:
################################
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
Reply


Messages In This Thread
SystemUtil Block Input method - by Surya - 03-27-2012, 09:25 PM
RE: SystemUtil Block Input method - by ravi.gajul - 03-28-2012, 08:24 AM
RE: SystemUtil Block Input method - by Surya - 03-28-2012, 08:40 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Need to input Japanese Character through UFT Alaguraja 0 787 07-01-2020, 11:32 AM
Last Post: Alaguraja
  SystemUtil.Run is not getting recorded divyan 1 1,664 08-31-2017, 09:06 PM
Last Post: Ankur
  How to get input from the user in QTP? shanthiK 10 18,073 08-07-2017, 11:34 PM
Last Post: zunebuggy
  SystemUtil.Run method is not getting recorded pupuns2 5 7,789 05-12-2017, 01:20 PM
Last Post: Angeliks
  Problem in Input from keyboard:sendkeys Rachna 1 4,773 10-14-2013, 06:07 PM
Last Post: anil2u

Forum Jump:


Users browsing this thread: 2 Guest(s)