Qtp cannot record scripts. FAQs

Source: Internet
Author: User

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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.