Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Rational use of AutoRunner View Mode

Shulou Source: shulou.com Published: 2022-06-03 06:43:56 11月23日 Update

In view mode, we can see the presentation of objects. At this time, we can add the objects acquired in capture mode to the script by dragging and dropping, which can effectively solve the problem that the script cannot be recorded in normal mode.

The point of creating this feature is to gradually make automation tools unscripted.

Let's give an example of how this view is used: when recording a login interface, assuming that some elements in the interface we want to record cannot be recorded in a normal way, then we capture the object by force. Hold down the ctrl and alt keys at the same time, and then drag the mouse over the tested object until a red box appears on the tested object, then the object will be grabbed down.

However, this approach will not generate a script, but will only generate an object in the object library. When we enter the view mode, we will find that all the objects we recorded (including those recorded and forcibly acquired) will be displayed here. At this time, we drag and drop the existing objects into the script, so we can generate the script:

The generated script can be executed normally!

Ar.window ("IEFrame_ Shanghai Zezhong Software Technology Co., Ltd. Customer Management system-Windows Internet Explorer"). ClickControl ("A _ customer Management", 59J 8, "left")

Ar.window ("IEFrame_ Shanghai Zezhong Software Technology Co., Ltd. Customer Management system-Windows Internet Explorer"). ClickControl ("A _ new customers", 21Jing 3, "left")

Ar.window ("IEFrame_ Shanghai Zezhong Software Technology Co., Ltd. Customer Management system-Windows Internet Explorer"). ClickControl ("INPUT_text_Client_Company", 54 left 8, "left")

Ar.window ("IEFrame_ Shanghai Zezhong Software Technology Co., Ltd.-Windows Internet Explorer"). SetValue ("INPUT_text_Client_Company", "fuhgid")

Ar.window ("IEFrame_ Shanghai Zezhong Software Technology Co., Ltd. Customer Management system-Windows Internet Explorer"). ClickControl ("INPUT_submit_ confirmation", 64jue 12, "left")

Let's execute the script:

With the success of the script, we are one step closer to our goal!

Tags: Object script customer management company limited limited technology management system system software Shanghai pattern way view time generation interface ordinary effective Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Xiaomi MariaDB macOS Redmi Huawei