Azure Pipelines - Self-hosted agent only performs test on active remote session
I have a self-hosted agent running a pipeline which launches TestExecute and performs my automated tests. The PC running the agent does not have a screen attached.
However, click and keyboard actions can only be performed when there is an active remote session on the agent computer. I understand that closing the remote session blocks the mouse and keyboard input.
I was wondering how do users deal with this problem. Any suggestions?