Standard Actions

Last modified: June 18, 2025

Introduction

The following tables list all standard actions for Mendix. There's one table per folder/category.

DataGrid, TemplateGrid, ListView

ActionSupported WidgetsDescription
Click DataGrid RowDataGridClick a DataGrid Row by Column Value
Find/Assert DataGrid RowDataGridFind/Assert a DataGrid Row by a certain Column Value
Find Item/RowDataGrid, TemplateGrid, ListViewFind a Row/Item in a DataGrid, TemplateGrid or ListView by Index
Find Item/Row (by child element)DataGrid, TemplateGrid, ListViewFinds Item or Row of a TemplateGrid, DataGrid or ListView containing a specified element
Find Selected Item/RowDataGrid, TemplateGrid, ListViewReturns first selected Item/Row object
Get Item/Row IndexDataGrid, TemplateGrid, ListViewGets the Index of a row in a Datagrid, or an item in a TemplateGrid or ListView
Get Row Cell ValueDataGridGets the Cell Value of a DataGrid row
Get Total Item/Row CountDataGrid, TemplateGrid, ListViewGets the total grid count from the paging status
Get Visible Item/Row CountDataGrid, TemplateGrid, ListViewReturns number of currently visible Items/Rows in a TemplateGrid, DataGrid or ListView
Set ListView SearchListViewSets the ListView Search Text
Set Row Cell ValueDataGridSets the Cell Value in a DataGrid row
Sort DataGridDataGridSorts DataGrid by given Column

Dialog

ActionSupported WidgetsDescription
Cancel DialogConfirmationDialogClick Cancel on a Confirmation Dialog
Close DialogWindow, DialogMessage, ConfirmationDialogClick X Button on a Confirmation, Error, Warning or Info Dialog
Confirm DialogConfirmationDialog, DialogMessageClick Proceed/Ok Button on a Confirmation, Error, Warning or Info Dialog
Find/Assert DialogWindow, DialogMessage, ConfirmationDialogFind/Assert a Dialog by Title or Type
Get Dialog Message TextConfirmationDialog, DialogMessageGet the text from message and confirmation dialogs

FileManager

ActionSupported WidgetsDescription
Set File ManagerFileManagerSet a file manager to the given file path to upload a file

Generic

ActionSupported WidgetsDescription
Assert Current PageAsserts that a certain page is open, by checking the current page title. Note that the page title may depend on the user’s language! For dialogs use the Find/Assert dialog action.
Assert Validation MessageAll widgetsAsserts a validation message with a certain text
Click/DoubleclickAll web elementsPerform a click or doubleclick and wait for Mendix activities
Click WidgetsAll widgetsClick on a Mendix Widget (for example, Button, Link, Image) by its name
Click Widget ButtonListView, ReferenceSelectorRefresh Button / Loadmore / ClearSearchField (ListView) Goto, / Add (ReferenceSelector)
Find/Assert WidgetAll widgetsFind/Assert a Mendix Widget by its given name. It is possible to use a sequence of names as a path.
Get Validation MessageAll widgetsReturns the validation message of a widget
LoginLogin to Mendix Application with standard login page or on Cloud using MxID
LogoutTrigger logout/logoff from application via client API. Use this keyword in teardown of your test cases to end the user session. This will work regardless of the UI state.
Open ApplicationOpens a Mendix application at [Website URL] in a browser with Mendix specific settings

GroupBox

ActionSupported WidgetsDescription
Close GroupBoxGroupBoxclose a groupbox
GroupBox is CollapsedGroupBoxGet GroupBox Collapsed state: true if collapsed, otherwise false
Open GroupBoxGroupBoxopen a groupbox

Input

ActionSupported WidgetsDescription
Assert Checkbox ValueCheckBoxAssert the value of a Checkbox
Assert ValueTextBox, TextArea, DatePicker, DropDown, RadioButton, ReferenceSelector, SearchInput Text, SearchInput DropDown, Label, OnChange InputboxAssert the text value from a Textbox, Textarea, Dateinput
Dropdown has OptionDropDown, ReferenceSelector, SearchInput DropDownReturns true if value is available in drop-down
Get Checkbox ValueCheckBoxReturns true if the Checkbox is checked
Get IndexDropDown, ReferenceSelector, SearchInput DropDownGet index of selected value in a drop-down, for example, an EnumSelect or ReferenceSelector
Get ValueTextBox, TextArea, DatePicker, DropDown, RadioButton, ReferenceSelector, SearchInput Text, SearchInput DropDown, Label, OnChange InputboxGet the text value from a Textbox, Textarea, Dateinput, RadioButton, Dropdowns
Set Checkbox ValueCheckBoxSets the value of a Checkbox
Set ValueTextBox, TextArea, DatePicker, DropDown, RadioButton, ReferenceSelector, SearchInput Text, SearchInput DropDown, OnChange InputboxSet the text value of a Textbox, Textarea, Dateinput, Reference Selector, Enum Selector
Set Value (by index)DropDown, ReferenceSelector, SearchInput DropDownSet the value of a drop-down by index, for example, EnumSelect or ReferenceSelector
Toggle Checkbox ValueCheckBoxClick on a Checkbox to toggle its value
ActionSupported WidgetsDescription
Click Menu ItemNavigationTree, MenuBar, SimpleMenuBarClick on a Menu Item in a Navigation Tree, Menu Bar and Simple Menu Bar
Find/Assert Menu ItemNavigationTree, MenuBar, SimpleMenuBarFind/Assert a visible Menu Item in a Navigation Tree, Menu Bar and Simple Menu Bar

System

ActionSupported WidgetsDescription
Find Widget Child NodeAll widgetsFind a Node within a Mendix Widget. Also matches the widget node itself.
Focus WebElementAll web elementsFocus WebElement and perform a Mendix wait afterwards
Get Current Page TitleReturns the Current Page/Form Title.
Mendix waitInject Mendix Scripts and Wait

Tab

ActionSupported WidgetsDescription
Assert Active Tab CaptionTabContainerAssert a certain value for the caption of the active tab page
Get Active Tab CaptionTabContainerReturns the caption of the active tab page