Release Date: 8th May 2020
The new UIAutomationNext is a game changer when it comes to identifying, configuring, and verifying targets. Under the hood, UIAutomationNext uses selectors and images along with an anchor-based algorithm to locate target elements. Together with a new and more interactive target selection mode, this makes UI automation more accessible and reliable than ever.
Let's see what changed since UIAutomationNext was first introduced along with the StudioX Preview in release 2019.10.
We have completely overhauled the way in which you indicate targets, using an anchor-based approach. The new selection mode offers more flexibility by letting you select, inspect, and clear the target, and add multiple anchors.
The new selection mode also enables you to edit targets and anchors, configure the targeting methods, and validate the selection, all from the Selection Options window.
Validation enables you to check the selection on-the-fly using the runtime algorithm used by the Robot to find the element. The results of the validation are highlighted on the target application, and you immediately find out if adjustments are needed.
Find out more here.
Four new activities have been added in this release:
- Check App State – Checks the state of the automated application or web page by verifying if a UI element appears or disappears and executes a set of actions based on the detected state.
- Go To URL - Navigates to the specified URL in the target web browser.
- Keyboard Shortcuts - Sends one or more keyboard shortcuts to a UI element.
- Navigate Browser - Performs one of the following actions in the target web browser: go back, go forward, go home, refresh page, or close tab.
To simplify automation design even further, a new recorder is available to capture your actions and automatically generate activities based on them.
An interactive preview is displayed during the recording with options to edit or remove recorded steps. For actions that can’t be automatically detected, or when you just want to perform a different action than the detected one, an easy-to-use hover menu is there to let you manually choose the action to perform on the indicated element.
Read more here.
- You can now configure project-wide settings for UIAutomationNext activities. These include common properties as well as settings related to target selection, the recorder, and the use of targeting methods and anchors.
- To make their purpose clearer, the Application Card activity has been renamed Use Application/Browser and the Check activity has been renamed Check/Uncheck.
- Multiple frequently used properties that were available only in the Properties panel have been added in the body of activities (activity designer).
- Click activity: Click type and Mouse button.
- Check/Uncheck: Action.
- Highlight and Hover: Duration.
- Type Into: Empty field before typing and Click before typing.
- Use Application/Browser: Browser URL for browsers and File path for desktop applications.
- The Type Into activity has received several enhancements:
- The Click before typing property now lets you specify the type of click to perform in a field before typing (single-click or double-click).
- The Empty field before typing property can now clear fields in different ways depending on the type of field. When you configure the property, you can choose between the single line or the multi line method.
- You can now enter credentials securely using data saved for later in a Get Username/Password activity (in StudioX) or using a SecureString variable (in Studio).
- You can now send special keys using the Type Into activity.
- A Timeout property is now available for all activities to enable you to configure how long to wait for the current activity to be executed before throwing an error.
- A new property named Arguments is available for the Use Application/Browser activity. Use this property to specify arguments to pass to the target application at startup. For example, to open a specific file in the application, you can provide the full file path as an argument.
- Fields where to enter a duration now accept values in seconds rather than milliseconds.
- You can now configure the Selector property for the Use Application/Browser activity.
- The Go Home action in the Navigate Browser activity navigates to the Home page that was set by the user only in the case of Internet Explorer. For other browsers, it navigates to
Updated 12 days ago