QuickTest Professional hangs opening its User Interface dialogs (Open, Save, etc) using Remote Desktop (RDP)

An End-user uses QuickTest Professional (QTP) both physically (in front of machine) and remotely via Remote Desktop (RDP).

When trying working physically everything works fine, however when trying to perform any of the following actions, QTP appears to hang:

Open an already created test:

Going to File menu, access “Open” option and select “Test”

On main screen, click on “Open” button

Using keyboard combination CTRL + O (ctrl-0, ctrl+o, etc)

Save a newly created test:

Going to File menu, click on “Save” or “Save As” option

On main screen, click on “Save” button

Using keyboard combination CTRL + S (ctrl-s, ctrl+s, etc)

Note: other tools such as the QTP Script Editor gets affected by this

End-user can open test when such are listed under recently opened items of the “File” menu.

The common factor of these options is that such require dialogs which worked fine when last accessed on a non-remote session.

QuickTest Professional provides a set of configuration files and registry entries per Windows user profile which utilize the tool, such as last location of a dialog however when same windows user logs in to same machine regardless of method (physical or remotely), settings from the last session are saved/stored on the configuration files/registries for that user.

The last location of the dialogs of the options used (Open and Save dialogs as indicated on example scenario) are configured for the session which last used either of them, therefore if for example the machine was used physically with higher resolution or even multiple monitors, another session such as a remote one, would be affected and still try to locate the dialogs on same coordinates, even if it is visually outside of the current display.

Modify location

After QTP appears to hang, use keyboard combination: ALT + Spacebar

Once a context/pop-up menu shows up, select “Move” option

(Important) Use the arrow keys (Up, down, left or/and right)

Now your mouse should gain control over the window/dialog to “move”

Move window to desired location

Reestablish default settings of only those dialogs

Close QTP

Delete file “QTOTAWrapper.FileDialogSettings.xml” under following path %appdata%\HP\QuickTest Professional\ (Start > Run > type given path)

Start QTP and try again

Rollback entire set of QuickTest Professional’s settings

Close QTP

Open Windows Registry Editor (Go to the Start menu, select “Run”, type “regedit” and click “Ok”)

Navigate to HKEY_CURRENT_USER\Software\Mercury Interactive

Right click on “QuickTest Professional” folder, select “Export” and save the file prompted

Right click on “QuickTest Professional” folder and select “Delete”\

Browse to profile’s application data (Go to the Start menu, select “Run”, type “%appdata%\HP” and click “Ok”) and rename folder called “QuickTest Professional” to “QuickTest Professional.BAK”

Launch QTP

Perform a full clean uninstallation/reinstall of the tool if none of the above works

Advertisements

One thought on “QuickTest Professional hangs opening its User Interface dialogs (Open, Save, etc) using Remote Desktop (RDP)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s