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.
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.
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.
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.