Hi, Jared,
You are right, after removing this infinite waiting time, so far I didn’t have TC stuck error. Now I have another question. I modified my code to this,
if (Sys.Process("ESG.CSISAPP"). WaitWinFormsObject("frmManualDialList", 600).Exists)
code A
else
code B
The win form “frmManualDialList” existed and was open, but TC thought it didn’t and executes code B.
I found in Object Browser pane (Basic view), this windows form didn’t have Exists properties or method. Why some win objects don't have exists method?
Thanks!
Nancy