Guidelines for Using the UI Automation Recorder
We recommend the following for managing the recording of a workflow using the UI Automation Recorder.
Context
Use the recorder to capture and fix elements, manage screen resolutions, and work around limitations. You can also know about the supported controls and activities, and how to handle capture hints and password fields.
Limitations
-
If context menu item/menu items are not part of the DOM, such items cannot be captured with Capture in the recording widget.
-
This is due to the fact that these pop-ups would disappear when Capture is clicked in the recording widget. Hence, they may not be available in the DOM.
-
If context menu/menu items have shortcut keys, those can be recorded using the Keystroke activity. Alternatively, export to Cloud Studio and capture menu items using Ctrl + Hover option.
-
-
No support to record right-click:
-
Typical cases of right-clicks are used to open a context menu. As capturing of a context menu and right-clicks are also not supported.
-
-
No support for mouse wheel and mouse drag and drop:
-
Scrolling can be performed using the mouse wheel. Scrollbar is not supported. Hence, mouse wheel is not supported.
-
-
No support for recording on controls:
Document, Scrollbar, Splitbutton and Slider
-
These are the controls that the current SDK supports. Recording these controls is not supported.
-
However, recording widget/Cloud Studio displays the control that UI Automation framework provides and any activity performed is mapped to the Click Sync activity.
-
-
Compound Keystroke:
-
Recording compound key strokes is currently supported at screen level but not at an element level. If such key stroke is required for an element, the activity must be added after exporting the content to the Cloud Studio.
-
-
Capture hint
To verify if the target element on which the action was performed is present in the last captured screen, runtime ID provided by UI Automation framework is used as an identifier. So, if the framework provides same runtime IDs for different elements, then the capture hint may not be displayed. This behaviour is observed in certain cases in Outlook.
More Information
-
Password fields:
Passwords fields will be recorded, however they would be displayed as "***" in the recording widget. After export, you must update this value.
-
By default, the recorder captures the window in focus. If there are multiple windows, you must bring the window to be captured in focus and then capture.
-
Support for Additional Controls:
The UI Automation Recorder records the activities on some additional controls such as Document, Scrollbar, Slider, and Split Button.
The following activities can be recorded using the UI Automation Recorder:
Controls
Activities Supported
Document
Set Element
Scrollbar
Click / Double Click
Slider
Click / Double Click
Split Button
Click / Double Click
-
In UI Automation, capture hint behavior is different from other technologies due to the nature of the UI Automation technology.
-
When a window / pop-up is opened / closed, the capture hint would be displayed. After the hint message is displayed, the user can capture and perform the actions.
-
For scenarios such as tab selection and expansion of tree that caused DOM change, capture hint is not displayed immediately after the DOM change. It is displayed when an action is performed on the new DOM content. This action is not recorded in the recording widget before the page is captured. After page capture, the activity is restored automatically in the recording widget.
-
If the user ignores the capture hint and performs multiple actions, only the action that led to the capture hint will be restored and displayed in the recording widget after the user captures the screen and all other actions that were performed after the capture hint was displayed will be ignored.
-