Articles → UIPATH → Messagebox Activity In Uipath
Messagebox Activity In Uipath
Purpose
Click to Enlarge
How To Use The Activity?
Click to Enlarge
Click to Enlarge
Properties Window For Message Box
Click to Enlarge
- DisplayName - ‘DisplayName’ specifies the title of the message box
- Text - ‘Text’ specifies the text to be displayed in the message box
Click to Enlarge
- Buttons – What are the buttons displayed in the message box. Various buttons are: -
- Ok – Displays only Ok button in the message box
- OkCancel - Displays Ok and Cancel button in the message box
- YesNoCancel - Displays Yes, No and Cancel button in the message box
- YesNo - - Displays Yes and No button in the message box
- ChosenButton – This option given output in terms of button clicked. Let us talk in more detail about ChosenButton in the next section
Chosenbutton
- Create a message box activity with hard-coded text and YesNoCancel as button type
- Create a variable ‘outputVar’ that will store the value of button clicked
- Assign the value of ChosenButton in the variable ‘outputVar’
- Create another message box to display the value of the variable ‘outputVar’
Click to Enlarge
Click to Enlarge