Cause:
After qtp is installed or some ActiveX controls in IE browser are disabled, the corresponding recording script cannot be generated during normal qtp recording. The script content is blank.
Solution: qtp recording scripts in IE relies on a dynamic link library called bhomanager class. When the control is not loaded or disabled, the above symptoms will occur. Therefore, the solution is very simple. Reload, or enable this control, everything will be OK.
Procedure:
Open IE and select [tools]/[Internet Options] from the menu to enter the internet configuration interface. Select [Program]/[Manage Add-on] to view the status of ActiveX currently loaded.
When you see that bhomanager class exists and its status is "disabled", click "enable" to enable this function and save it and exit to solve the problem.
If you cannot find the bhomanger class add-on in the management add-on, if you have installed qtp, there will be a bhomanager under c: \ windows \ system32. DLL dynamic link library, or you can search for bhomanager directly in the computer. DLL, and then view its path. To load the DLL, click [start]/[run], Enter cmd, locate the directory where the DLL is located, and enter the regsvr32 bhomanager. dll command to register the DLL. Solve the problem.
Note: If you find that bhomanger class is enabled but cannot be recorded, disable it and enable it again!