TFS Azure: How to configure testcomplete to take the build path, instead of specifying in script
- 4 years ago
Hello,
We have a TestComplete Test Adapter than can be implemented into Azure Pipelines projects, this allows you to specify a Search Folder and Test filter criteria to find/run applicable tests. This would be one way to avoid having baked in locations in scripts that launch TC/TE. With this adapter installed it can interact directly with either tool without the need for CLI scripts as well. Below is a link to setup of this adapter. I hope this would be relevant to your use case.
- 4 years ago
you could use the azure devops plugins as npaisley mentioned. (which will actually work as a COM server, not CLI)
you can also continue to use the CLI instead as you are doing.
Im assuming you are doing something like
<path to testcomplete or testexecute exe> <path to project suite file> <a set of runtime arguments like /r /p /e etc.>
where you are asking about how to make that highlighted path to the pjs to run more dependable.
Since you are using pipelines, im going to assume that you are actually pulling the code from a SCM like github etc. (whatever your org uses).
Then, this path can be referred to using Azure's predefined variables such as :
$(Build.Repository.LocalPath)and you can browse the full list of variables available to you here - 4 years ago
Thank you.