Ask a Question

Error with VS Test Assembly task on Azure Devops Pipeline

SOLVED
mercyadewoye
Occasional Contributor

Error with VS Test Assembly task on Azure Devops Pipeline

Hi all,

I need your help in resolving an issue I am having when integrating automated test in my azure pipeline. I am usng Vs Test assembly to run my test but unfortunately the tests are not running at all due to error in the path. I am getting and error like so: 

##[error]TypeError: Path must be a string. Received null

 

I have set up the task following the tesk complete documentation but not sure if I've missed something or not. Below is what the setup looks like:

mercyadewoye_0-1660753083957.png

Also, do I need to include command line script in running the test on my build server?

 

Thank you in advance for your much appreciated response 

3 REPLIES 3
8Kit
Frequent Contributor

I would try using this under Test Files:

**\*.pjs

 

I am also fairly certain that you also need to use underscore "_" instead of a dash "-" in your project and project suite names, but I can't recall where that is referenced in the documentation. Best I can do is point to an example of the naming convention TestComplete uses for one of their demo projects: [here]

8Kit
Frequent Contributor
mercyadewoye
Occasional Contributor

changing the project name helped. Thanks

cancel
Showing results for 
Search instead for 
Did you mean: