Test Execution in Pending State - Not getting started

Hello All,

I’m trying to execute a test case from orchestrator. But the execution is not getting started. It remains in Pending state forever. I have attached the screenshots of my set up here.

Access:

Machine:

Execution Target:

Execution:

UiPath Assistant:

Requesting for your help on this.

Thank you.

Hey @aqeel.ngl
Looking at your screenshots, it would be good to make sure that on the Machine Template assigned in Orchestrator, the proper Testing runtime license is allocated. Please go to Machines → select your Template → Edit → and in the “Runtime Licenses” section, check if you have assigned Testing to 1. If this is not configured, your test execution will stay in a Pending state, because Orchestrator won’t know that it can use this machine for test runs.

Hi @pikorpa

Thank you for the response.

I already have a machine template with Testing Run Time assigned to 1.

But the execution is still in pending state. Can you please have a look?

Hey @aqeel.ngl
I can see that your Account is selected, but there are no credentials defined (it says “no credentials defined” next to your name).

In order to run unattended jobs (like Testing RunTime or scheduled tests), Orchestrator needs to know how to log in to the machine automatically.
Without credentials (username + password), the robot cannot establish a session, and that’s why your execution is stuck in Pending state.

Please go to Orchestrator > Tenant > Manage Access > [your robot name] > Edit and define the Windows credentials for your user.


Make sure you provide the correct Domain\Username and Password that match your machine.

After saving credentials, your unattended jobs should start properly.

Hi @pikorpa

I have provided the credentials as instructed. But still the issue exists.

Can you please advise?

Hi @aqeel.ngl

Could you please verify that the Robot account and Machine have been correctly assigned to the appropriate folder?

@aqeel.ngl
Please check if you assign your robot to the correct folder


@pikorpa

I have already added the user to the folder with Robot type as Attended and Unattended. Please find the screenshot.

Hi @Pankaj_21

I have already added the user to the folder with attended and unattended robot type.

Hi @aqeel.ngl

Can you try the following:

  • Delete the existing execution
  • Re-connect the assistant
  • Run the test case

@aqeel.ngl

The problem is no credentials are provided for login..

Please go to tenants → mnaage access → edit user → unattended setup and provide credentials there

Cheers

Hi @pikorpa @Pankaj_21

The issue is resolved now. The cause of the issue is the Domain\username. The name was auto populated while assigning access. But the auto populated name was incorrect. Later on providing the correct username, its resolved.

The correct domain\username is found using “whoami” command in command prompt.

Thank you for your support.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.