We are using Sys.Desktop.KeyDown
and Sys.Desktop.KeyUp
VB methods of TestComplete to type into Notepad.
For this we are using a for
loop containing KeyDown
and KeyUp
, however for some reason, even after the for loop ends, the typing is still not complete, its typing slowly, not sure why.
I checked by removing anti-virus software, but still seeing the issue. I have also tried to use the Win32API.GetKeyState(Asc("A"))
however sometimes we get 1 and sometimes 0, so really need to debug this issue out. Could anybody suggest a way to debug this issue?