I am testing a product that has long processing times where it is working with databases, sometimes several hours. I have been trying to use the WaitUntilIdle function with VT6.5 and it is pausing the test case but when the active window becomes idle in is not continuing with the test case.
I don't want to use a sleep if possible.
Re: WaitUntilIdle help?
It should work fine. This depends on the time you specify for VT to wait till the window gets idle. I am pasting the help topic here for oyur reference.
Dim fIdle%, TimerStart#, TimerEnd#
TimerStart = Timer
fIdle = WaitUntilIdle (5000) ' Wait up to 5 seconds for Windows to go idle.
TimerEnd = Timer
If fIdle Then
Print "Windows went idle in:"; TimerEnd - TimerStart; "seconds"
Print "Windows did not go idle in the 5 seconds alloted."
Loop While True