Error message "Error HRESULT E_FAIL has been returned from a call to a COM
component" must be killing for most of the QA who has upgraded latest versin of
Quick Test Professional to UFT 12.0 or UFT 12.02 etc.
Error mainly thrown when user connects to Database or runs script in debug mode.
Most of the time while debugging the script, UFT debugger takes more time to load
than expected and if debugger successfully not loaded then UFT crashes and throws
"Error HRESULT E_FAIL has been returned from a call to a COM component" to
in each line of debug's watch module.
There is a solution to stop UFT to be crashed ,that would work for sure kindly follow
the steps mentioned below for both the methods:
Method 1:
1. Close QTP, IE, QC and any other software running.
2. Open the "mic.ini" file using NotePad or Notepad++ from the ‘C:\Program Files
(x86)\hp\Unified Functional Testing\bin’ directory where UFT is installed.
3. Find the "[RemoteAgent]" section.
4. Enter the following entry to this section:
5. RunInFastMode=0
6. Save and close the mic.ini file.
7. Make sure that Remote Agent system tray tool is closed from task bar Icons
8. (Optional) If changes are not effective, reboot the machine
9. Run the script in debug mode.
Method 2:
1.Download "pdm.dll" file from web for your browser ,copy the ‘pdm.dll’ file in
located in c:\program files(x86)\internet explorer\ or c:\program files\internet explorer.
2.Search the ‘pdm.dll’ file in C:\Windows\SysWow64 (If Windows OS 64 bit)
and rename it to ‘pdm_old.dll’
3.Paste the ‘pdm.dll’ file which is copied from internet Explorer folder
4.Run the following commands from the cmd prompt: (Go to Start->Run and type
in "CMD" to go to the command prompt with Admin rights (if no admin right, raise
case with Helpdesk)) Go to C:\Windows\System32 or C:\Windows\SysWow64
folder location and register the .dll: regsvr32 pdm.dll
5. Try debugging and running your script again.
Let us know if you have better solution to resolve it.
component" must be killing for most of the QA who has upgraded latest versin of
Quick Test Professional to UFT 12.0 or UFT 12.02 etc.
Error mainly thrown when user connects to Database or runs script in debug mode.
Most of the time while debugging the script, UFT debugger takes more time to load
than expected and if debugger successfully not loaded then UFT crashes and throws
"Error HRESULT E_FAIL has been returned from a call to a COM component" to
in each line of debug's watch module.
There is a solution to stop UFT to be crashed ,that would work for sure kindly follow
the steps mentioned below for both the methods:
Method 1:
1. Close QTP, IE, QC and any other software running.
2. Open the "mic.ini" file using NotePad or Notepad++ from the ‘C:\Program Files
(x86)\hp\Unified Functional Testing\bin’ directory where UFT is installed.
3. Find the "[RemoteAgent]" section.
4. Enter the following entry to this section:
5. RunInFastMode=0
6. Save and close the mic.ini file.
7. Make sure that Remote Agent system tray tool is closed from task bar Icons
8. (Optional) If changes are not effective, reboot the machine
9. Run the script in debug mode.
Method 2:
1.Download "pdm.dll" file from web for your browser ,copy the ‘pdm.dll’ file in
located in c:\program files(x86)\internet explorer\ or c:\program files\internet explorer.
2.Search the ‘pdm.dll’ file in C:\Windows\SysWow64 (If Windows OS 64 bit)
and rename it to ‘pdm_old.dll’
3.Paste the ‘pdm.dll’ file which is copied from internet Explorer folder
4.Run the following commands from the cmd prompt: (Go to Start->Run and type
in "CMD" to go to the command prompt with Admin rights (if no admin right, raise
case with Helpdesk)) Go to C:\Windows\System32 or C:\Windows\SysWow64
folder location and register the .dll: regsvr32 pdm.dll
5. Try debugging and running your script again.
Let us know if you have better solution to resolve it.
Does not work.
ReplyDeleteThis didn't work for me. My fix was to go to Start/Run box, type Programs and Features, then right click HP Unified Functional Testing and select Repair. This fixed the problem.
ReplyDelete