TestProject Forum

E-mail notifications using CLI

I would like to automatically run my test using Windows scheduler through CLI, and get an e-mail notification if the test fails. Is it possible? As far as I know we can only send e-mails using jobs, but I can’t find a way to save jobs locally the same way I can save tests.

I think you’re right, email notifications only send for jobs so you’d need to add the test to a job first. TestProject has a way to schedule jobs: Create and Schedule Jobs - TestProject Documentation. If you do that, you wouldn’t need to use the CLI assuming your tests/jobs are in the cloud.

That’s based on what I know, maybe others can help too