Forum Discussion

nicklott's avatar
nicklott
Occasional Contributor
9 years ago
Solved

Running TestExecute Using A PowerShell Script

I'm trying to create a PowerShell script that kicks off our automated tests in TestExecute every time there's a deploy.

 

I can run commands using the Command Line and I can launch TestExecute and run the tests from the Command Line with no problem. But when I take the same commands and try to launch TestExecute using a PowerShell script, I'm getting an error where it complains the project file being invalid. After messing around with it, I got it to launch TestExecute once, but none of the tests in the suite would run.

 

Anyone know what could be causing the PowerShell script to error when I run it?