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

How to solve the problem that AutoRunner found that the object could not be recorded in the process of recording script

2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

Sometimes, when we use AR for automated testing, we will find that some objects can not be recorded by conventional methods. At this time, we can use AR to forcibly acquire objects to achieve object acquisition. Then use the drag-and-drop method in view mode to add objects to the editing area of the script, which can solve the situation in which most objects cannot be recorded! Let's take a look at how it works:

1. Suppose I was recording a script for the login page of the system under test and found that the input box of the password could not be recorded, so we need to hold down the ctrl and alt keys at the same time, drag the mouse to the location of the object, until a red box appears on the object, and the object is acquired by us.

The object acquired here will be saved directly to the object library, and the script generates comments. In this case, we need to drag and drop the object in the view to the script editing area:

Then change the object's operation "clickControl" to "setValue":

Then execute the script:

The manual recording of the object was successful and the script was executed successfully!

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