Error when loading UFT Test from ALM

  • Questions
  • Error when loading UFT Test from ALM
Question ID: 108666
1
0

We are getting this error when trying to load a test in UFT 12.54. The test resides in ALM. We have not found a way to resolve it.

Exception of type: System.InvalidCastException. Source: System.Windows.Forms. Occured in Void RealizeStyles() method
Exception message is: Unable to cast COM object of type ‘System.__ComObject’ to interface type ‘IOleObject’. This operation failed because the QueryInterface call on the COM component for the interface with IID ‘{00000112-0000-0000-C000-000000000046}’ failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
Exception trace is: at System.Windows.Forms.AxHost.RealizeStyles()

Marked as spam
Posted by (Questions: 328, Answers: 10)
Asked on October 23, 2018 1:59 pm
19 views
Answers
1
Private answer

I have found this same error and the resolution to fix it was to do a full, clean uninstall of UFT, then reinstall UFT. Please be sure to do the following with a user that has admin rights (see mentioned permissions document).

Do a clean uninstall using the instructions in [KM00319750][1].

Once the uninstall is complete, please reboot the machine.

To reinstall UFT:

1. Ensure installation files are LOCAL to the machine, NOT on a network shared location.
2. Ensure user doing the install has Admin rights (please see [KM183747][2] for proper install permissions)
3. Disable any anti-virus during the install
4. Turn off UAC during the install
5. After install completes, launch UFT AS ADMIN (right click and choose Run As Administrator) and connect to ALM (ADMIN rights are REQUIRED at this step). Once this is complete, close UFT.
6. Now, Navigate to: `http://:8080/qcbin` then click the Add ins/Tools page link.
7. To register the HP ALM Client, click the HP ALM Client Registration link from the add ins/tools page, then click ''Register HP ALM Client'' at the bottom of the page.

[1]:https://softwaresupport.softwaregrp.com/group/softwaresupport/search-result/-/facetsearch/document/KM00319750
[2]:https://softwaresupport.softwaregrp.com/group/softwaresupport/search-result/-/facetsearch/document/KM183747

Marked as spam
Posted by (Questions: 16, Answers: 738)
Answered on October 23, 2018 2:06 pm
Doing this process resolved the error. We are now able to load the tests without any errors.
( at October 23, 2018 2:07 pm)