william_diaz
12 years agoOccasional Contributor
using CallObjectMethodAsync to call a script function to simulate a thread.
I want to spawn a thread that will monitor a file while Testcomplete is running. Is this possible in Testcomplete 9.2 and Javascript?
for example using this method passing a function on the script?
Runner.CallObjectMethodAsync(Obj, MethodName, Param1, Param2, Param3, ...)
Or anyother way where a separate thread can be spawned? Thanks.
we are seeing testcomplete just wait if the application crashes. Freeze Diagnostics works sometimes but not in others. We want to monitor a log file and if we see no activity for a while we want to kill the tested application. We are hoping this gets TC moving to the next test.
Thanks.