nunitspecflowoctopus

How do I run my automation scripts which include UI interaction on an Octopus tentacle using the Octopus Server?


I have a batch file which uses nunitconsole runner to run my tests. It's a combination of nunit framework and specflow. When I run the batch file on the Octopus tentacle it works as expected.

However, if I create a step in the Octopus server to trigger this batch file, none of the UI related things happen. Any setting or prerequisite is required for this?


Solution

  • Some time ago I had a similar situation, this is because Octopus server runs as a service, due to this, you can not have anything that requires a window or interaction to run, however a workaround could be, execute a scheduled task through Octopus to execute your batch, so you will execute in a non background way.