UI Automation At background code example
Example: UI Automation At background
Windows session not allow any disconnected session for UI Automation Testing.
You could RDP to Own server and keep the session.
1) Create 2 RDP user on Machine 127.0.0.1(eg)
2)Access User1 using RDP 127.0.0.1(Server A)
3)Access User2 using from ServerA to ServerA again
4) Close the connection of Session User1. Keep Session User2(Dont minimize)