.
List Box Test Case
Hello Folks,
In this tutorial, we will learn how to write List Box Test Cases? We will also learn about positive test scenarios and Negative test scenarios.
Listbox :
A list box contains mainly 3 parts - a container box, a list of items, and a label. whereas a dropdown contains a container box, a downward-facing arrow button, a list of items, and a label.
Type of list Box
There are four types of Listbox
Users can select only one value from the single-select listbox. .it can be static and scrollable.
Multi-Select List Box
Users can select or deselect one or more items by holding down the Shift, Command, or Control key while clicking on items. It can be static and scrollable.
There are four types of Listbox
- Single Select List box
- Multi-Select List Box
- Multi-select List box with a checkbox
- Multi-select list with a check box and a search box
- Multiselect, dual list boxes
Users can select only one value from the single-select listbox. .it can be static and scrollable.
Single Select list box - Static and Scrollable |
Multi-Select List Box
Users can select or deselect one or more items by holding down the Shift, Command, or Control key while clicking on items. It can be static and scrollable.
Multi-Select List Box - Static and Scrollable |
Multi-select List box with a checkbox
Users can select or deselect one or more items from the list box by selecting or deselecting the Check box. It can be static and scrollable.
Multiselect list box with a checkbox |
Multi-select list with a check box and a search box
Users can select or deselect one or more items from the list box by selecting or deselecting the Check box. And also user can search for the item from the list box and select it. It can be static and scrollable.
Multi-select Listbox with checkbox and search box |
Multiselect, dual list boxes
A multi-select, dual-list box allows users to make selections by moving items from one list box to another. Users can also reorder the options by moving them up and down in the list.
MultiSelect, Dual Listbox |
What are The Test Cases For List Boxes?
Here !!! Important Test cases for Listbox were given.
Test Cases for Single Select List box
Here!!! Important test case for single select Listbox given...
- First, verify that the dropdown is enabled or not.
- Check that the user is able to select the value from the list box.
- Check that when the user tries to select multiple values from the list.
- Check that the list box shows the value as per CRS.
- Check that the user is able to unselect the selected value from the Listbox.
- Check whether the value is getting changed or not when the user unselects the selected value and selects another value from the list.
- Check the Number of items displayed in the list without scrolling.
- Check that when the user tries to select multiple values from the list.
- Check the colour when the user hovers the mouse over the value.
- Check the cursor pointer when the user hovers over the value.
- Check the font, size, spelling, design, etc.
If Scroll is there-
- Check that the user is able to scroll the list with the mouse.
- Verify that the user is able to scroll through the arrow keys.
- Check that the user is able to select the value from the list after scrolling.
- Verify that the list gets scrolled automatically when the user presses any key on the keyboard.
Test Cases for Multiselect List Box
Here!!! Important test case for Multiselect listbox given...
- First, verify that the dropdown is enabled or not.
- Check that the user is able to select the value from the list box.
- Verify that when the user selects a single value from the list.
- Check that when the user selects multiple values from the list.
- Check that when the user selects or deselects one or more items by holding down the Shift, Command, or Control key while clicking on items.
- Check that the list box shows the value as per CRS.
- Check that the user is able to unselect the selected value from the list box.
- Check whether the value is getting changed or not when the user unselects the selected value and selects another value from the list.
- Check the Number of items displayed in the list without scrolling.
- Check that when the user tries to select multiple values from the list.
- Check the colour when the user hovers the mouse over the value.
- Check the cursor pointer when the user hovers over the value.
- Check the font, size, spelling, design, etc.
If Scroll is there-
- Check that the user is able to scroll the list with the mouse.
- Verify that the user is able to scroll through the arrow keys.
- Check that the user is able to select the value from the list after scrolling.
- Verify that the list gets scrolled automatically when the user presses any key on the keyboard.
Test Cases for Multiselect List box with checkbox
Here!!! Important test case for single select listbox given...
- First, verify that the dropdown is enabled or not.
- Check whether the checkbox is enabled or not.
- Check that the user is able to select the value from the list box.
- Check that when a user tries to select multiple values from the list.
- Check that when the user selects more than one checkbox and unselects only one.
- Check that all the values of the list box are getting checked when the user clicks on the select all check box.
- Check that all the selected values are getting unselected or not when the user unchecks the select all checkbox.
- Check that the list box shows the value as per CRS.
- Check that the user is able to unselect the selected value from the list box.
- Check whether the value is getting changed or not when the user unselects the selected value and selects another value from the list.
- Check the Number of items displayed in the list without scrolling.
- Check that when the user tries to select multiple values from the list.
- Check the colour when the user hovers the mouse over the value.
- Check the cursor pointer when the user hovers over the value.
- Check the font, size, spelling, design, etc.
Test Cases for Multiselect list with check box and search box
Test Cases for Multiselect, dual list boxes
Hope !!! The above Test cases of Listbox are helpful for you...
Team,
QA acharya
Share Your Knowledge With Us -
Mail your content - qaacharya.in@gmail.com
Mail your content - qaacharya.in@gmail.com
0 Comments