QTP test working differently on same machine (remote vs. actual)

  • Questions
  • QTP test working differently on same machine (remote vs. actual)
Question ID: 104520

I apologize if this is TMI, but it’s my first question and I’m not sure how much detail to include.

Here’s my problem:
I am remoting in to a machine and using QTP 11 to run tests that submit payments to loans. What is SUPPOSED to happen when a payment is submitted is that the application will clear the webpage then display a "Payment submitted" meesage. What ACTUALLY happens when I run the test is that the payment screen does not clear not does the application display the expected message. In fact, the application just hangs up on the payment screen.

Here’s where it gets crazy. My contact at the client site says that when he runs the same test on the actual machine (the one I’m remoting into) the application performs as expected and the test passes with no errors. We are using the same machine (i.e. same browser and same version of QTP). Can anyone offer any guidance as to why the application would work differently for me than it does for him? Thank you in advance for your help!

Marked as spam
Posted by (Questions: 10, Answers: 5)
Asked on May 17, 2012 12:23 pm
Answers (1)
Private answer

Are you using RDP to remote to the machine? If so you need to keep the session maximized during the complete run unless you change the registry.

To run QuickTest in a minimized RDP (remote desktop protocol) session, and while using an RDP 6.0 or later client, it is possible to enable it by setting a registry value on the client computer (machine that launch the Remote Desktop client):

1. Close any open Remote Desktop session
2. If the registry key does not exist, create the RemoteDesktop_SuppressWhenMinimizedregistry value (DWORD type) in one of the following registry paths on the remote computer:
HKEY_CURRENT_USERSoftwareMicrosoftTerminal ServerClientRemoteDesktop_SuppressWhenMinimized
HKEY_LOCAL_MACHINESOFTWAREMicrosoftTerminal Server ClientRemoteDesktop_SuppressWhenMinimized
3. Set the data for this value to 2.

For more information see HP KB KM1166732

NOTE: Quicktest Professional still can't replay consistently when the machine is locked.

Marked as spam
Posted by (Questions: 2, Answers: 98)
Answered on June 13, 2012 4:40 pm