Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Briefly introduce how to add test objects to the object library in QTP.

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

Open the object library of QTP, in the object library management interface, select "Objects > Add Object to Local", and then select a control in the test program.

Click the "OK" button to add the test object to the object library

After the addition, you can see from the object properties window on the right that the newly added controls will be used as the basis for finding the corresponding controls on the test program interface when the QTP script is run.

Tips: some control objects in the interface are hierarchical, for example, buttons, input boxes and other controls are contained in the window control. When adding test objects to the object library, you can select the window object, then select "All object types" in the interface, click the "OK" button, and then add all the control objects in the selected window object to the object library.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report