kylegogtp
5 years agoContributor
Start next step only after batch file is complete
I am looking for a way (without using delays) to only start the next step in the test only if the previous step batch file has completed.
- 5 years ago
Quick ideas without delays
- Use errorlevel of batch file
- Use a file as a marker of batch finished
- 5 years ago
if you are using source control to pull the TC files to run, and you cannot define the absolute path, maybe you can use the dynamic properties like
sPath = project.path + "\\myBatch\\MyFile.txt"
https://support.smartbear.com/testcomplete/docs/reference/project-objects/project/project/path.html
if you include the batch file as a part of the repo you are pulling down?