Supported Controls and Actions
- 2 minutes to read
There are four levels of Microsoft Coded UI Test (CUIT) support:
- Basic Record and Playback - Recorder identifies elements involved in an action via Microsoft Active Accessibility (MSAA).
- Rich Property Validation - A set of properties are defined for each DevExpress control on which a user can add assertions.
- Code Generation - Dedicated classes are generated for involved objects, making test methods more readable and maintainable.
- Aggregated Actions - An action is recorded using aggregated methods, not using low-level methods (such as mouse clicks).
All DevExpress WinForms controls provide support for CUIT level 1. Products covered in the following table also maintain levels 2 and 3 of CUIT support. Level 4 of CUIT support is maintained by the majority of the controls listed in this table. Corresponding aggregated actions for these controls are shown in the last column.
Library | Controls and Components | Supported Aggregated Actions (Level 4 of CUIT Support) |
---|---|---|
XtraEditors | Editors and controls | All mouse and keyboard actions that change the editor’s value, selected item, text selection, etc. |
XtraGrid | GridControl - GridView, BandedGridView, AdvBandedGridView | Changing the size, position and visibility of columns. Data grouping and filtering, including filtering via the embedded Filter Editor. Focusing cells and changing their values. |
GridLookUpEdit and SearchLookUpEdit | Changing the editor’s value and auto-search text. | |
XtraBars | BarManager | Docking bars; clicking baritems; editing bar item values. |
RibbonControl | Clicking items; item value editing. | |
Document Manager | Docking forms and dock panels. | |
Dock Manager | Docking dock panels. | |
XtraTabbedMdiManager | Dragging tabs | |
Alert Control | - | |
XtraNavBar | NavBarControl | Clicking items; dragging a splitter in the Navigation Pane. |
XtraPivotGrid | Pivot Grid Control | Dragging field headers; resizing field values; cell selection and editing. |
XtraPrinting | Print Preview | Dragging margins. |
XtraReports | Print Preview | Dragging margins. |
XtraTreeList | TreeList | Changing the size, position and visibility of columns. Changing row size. Focusing cells and changing their values. Expanding and checking nodes. Data filtering, including filtering via the embedded Filter Editor. |
XtraVerticalGrid | VGridControl and PropertyGridControl | Dragging rows. Focusing cells and changing their values. Changing the size of columns, rows, multi-editor cells and bands. Expanding and collapsing rows. |
XtraLayoutControl | LayoutControl, DataLayoutControl | - |
Note
For actions not listed in this table, level 1 of CUIT support is maintained. These actions will be recorded by using mouse and keyboard events.