QTP/UFT Support Tip: How to runs tests on a remote computer when a RDP client is disconnected
UFT 11.53 introduce a new Product Enhancement called: "Allow UFT to continue running GUI or business process tests after disconnecting from an RDP computer" to enable continue running a test on a remote computer when the RDP client is disconnected or minimize the session.
For example, you can close your computer (and go home for the day), while UFT continues to run your test.
For this you need to follow the steps below:
- Go to Tools, then Options, then General, then Run Sessions. Enable the "Allow UFT to continue running GUI or business process tests after disconnecting from an RDP computer". Enter the "User Name" and "Password":
- Depending on your scenario the "Allow other HP products to run tests and components" setting needs to be enabled. Go to Tools, then Options, then GUI Testing, then Test Runs:
Note: If you want to run UFT in a minimized RDP session, and you are using an RDP 6.0 or later client, you need to follow the steps in the below article: Document KM1166732 - How to make QTP/UFT replay on Remote Desktop (RDP) when the window is minimized?
Troubleshooting, in case you face any problem (we have noticed most issue are related to the DCOM configuration or lack of permissions on the machine):
- Document KM187086 - Error: "RPC server is unavailable" or "Access is denied" during remote execution of automated scripts from Quality Center or Application Lifecycle Management
- Document KM183747 - What are the minimum permissions required for QuickTest Professional (QTP), Service Test (ST), Sprinter (SP) and/or Unified Functional Testing (UFT)?
Most of the above information has been taken from HP UFT User Guide, page 530.
Hope this helps.
If you find this or any post resolves your issue, please be sure to mark it as an accepted solution and give KUDOS to the author for their assistance".