I am getting error "Cannot run because no agents are defined"

I am getting error "Cannot run because no agents are defined"

Description

The error message "Cannot run because no agents are defined" means that you are missing agents configuration setup in Leapwork Studio.

There are three ways to run a flow/test case:

Resolution

Setting up a default agent will resolve this issue. To be able to do that please follow the below steps:

  1. Go to "Agents" – Click on "New"

  2. On the "Settings" window fill in the "Title" field and type machine name or IP of the machine where Leapwork Agent is installed. If you've installed it on the same machine as the studio, you can type " localhost" in the "Hostname" field.

  3. Now select the newly created agent before running from the Flows panel (shown below)

  4. Bind your schedule with this agent (as shown below).

If the issue continues, please contact our Priority Support.