Test Case Categories
Dialog Testing - Key Test Cases for Modal Windows and User Interaction
Dialogs and modal windows are common UI components that require specific testing approaches. This guide provides test cases for dialog functionality, including opening/closing behavior, focus management, keyboard navigation, accessibility, and content display.
Nr | Test Idea | |
---|---|---|
1 | Check that dialog opens in the center of the page (visible to the user). This should also be tested when the page is long and has a scrollbar | |
2 | Check if an overlay is used with modal dialog so that the user cannot work with the form in the background | |
3 | Check if the confirmation dialog 'Cancel' button cancels all actions or if they are performed anyway | |
4 | Check if the confirmation dialog 'Confirm' button performs all necessary actions and also updates the form | |
5 | Check that messages (errors, for example) displayed in the main window or previously opened dialog windows are not displayed in the new dialog window when opening it | |
6 | Check if the dialog can be closed with the 'Esc' key | |
7 | Check if the dialog can be closed with the 'x' button |