marquillo
marquillo

Reputation: 87

Why Teamcity doesn't recognize robot command?

I decided to use Teamcity as my CI/CD tool for robot framework tests. My robot tests are working normally when I run them via CMD, but with these cmd settings in Team city:
cd \TestSuites\BasicTests
robot Connectivity.robot
my test fails with this message in log:
'robot' is not recognized as an internal or external command,

Any ideas?

Upvotes: 0

Views: 267

Answers (1)

marquillo
marquillo

Reputation: 87

The issue was in users. Solved via Team City Agent service. So it could be solved via services.msc -> find TeamCity Build Agent service -> right click and select Properties -> change your Log on option to This account and fill up required information -> confirm

This solved my problem

Upvotes: 1

Related Questions