[Original] In qtp, it is a solution for recording web programs and recording objects such as forms and buttons.

Source: Internet
Author: User

I recently tested and debugged the qtp script in the development project, and learned the development methods and advantages and disadvantages of several qtp scripts from the qtp software help. The progress is far from the expected goal. The main reason is that in qtp object recognition, I found that the currently recognized object content is only on the browser surface and does not go deep into the forms, buttons, and other elements inside the browser page. There are two possible causes: ① The Web plug-in qtp plug-in is not successfully installed or fully installed; ② the IE version is high, and the qtp tool cannot identify the content on the tab. Verify which one is...

After the qtp 2003 software is re-installed in the windows 10.0 virtual machine using a simple operating system environment, it is found that the information such as forms and buttons can be recorded in the browser object, you can also go to <automation-record and run settings...> in this recording option, you can see the desired Web tab, for example:

In fact, after careful comparison, we found that the check box before the Web plug-in is selected on the license management interface, such:

In fact, by studying the software installed in front of you and the software installed in the new virtual machine, it is found that this option is not because the plug-in is not installed, but when the qtp software is started, this plug-in is not loaded, the reason is that there is a setting in qtp <tools-options...> as follows:

This check box determines whether the plug-in selection dialog box shown in the following figure is displayed when the qtp software is started. Therefore, the Web plug-in described first cannot be selected:

Recall that when I first used the qtp tool, I removed the √ in the check box before "show on startup", which eventually caused the qtp software to run, by default, you may not load any required add-on.

This article is only intended to give you a long memory. When using software, you must clearly understand the meaning and impact of the items selected on these default startup interfaces.

 

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.