jrussell2
14 years agoNew Contributor
Sys.Waitprocess is causing my process to end
I am using TestComplete6 in a lab setting running WindowsXP
I have a line in my script:
Process := Sys.WaitProcess('appName', -1);
My script opens a 3rd party software (appName), but as soon as it hits this line the 3rd party software closes, as if the process was killed. The 3rd party software is something that is updated year-to-year. This scenario worked just fine with the prior year version of the software, but the latest version which we just installed dies when TestComplete6 tries to get a handle on the process.
Just to experiment, I downloaded the demo version of TestComplete8. I was able to open the 3rd party software, start my script, and it successfully runs the above line.
What changed between TC6 and TC8 that might be causing this behavior difference between software installed 1 year ago and the updated software?
I have a line in my script:
Process := Sys.WaitProcess('appName', -1);
My script opens a 3rd party software (appName), but as soon as it hits this line the 3rd party software closes, as if the process was killed. The 3rd party software is something that is updated year-to-year. This scenario worked just fine with the prior year version of the software, but the latest version which we just installed dies when TestComplete6 tries to get a handle on the process.
Just to experiment, I downloaded the demo version of TestComplete8. I was able to open the 3rd party software, start my script, and it successfully runs the above line.
What changed between TC6 and TC8 that might be causing this behavior difference between software installed 1 year ago and the updated software?