Pager QA Test Plan
Pager QA Test Plan
Environments
Browser | Version |
---|---|
Chrome | Latest Stable Release |
Firefox | Latest Stable Release |
MS Edge | Latest Stable Release |
Safari [fluid:1] | Latest Stable Release |
[fluid:1] keyboard a11y can be slightly improved if you select the "all controls" option from "Keyboard Shortcuts" under the "Keyboard & Mouse" settings. May also need to use "option + tab" for tab navigation.
General QA Guidelines
General Use
- Does the tool behave the way that you would expect
- Are you surprised by anything
- Does something take longer than you would expect
- When the tool does something unexpected or takes too long to do something, does the tool provide appropriate feedback
QA Tests
Protocol
Perform the following tests using each browser/system environment
Report issues at: http://issues.fluidproject.org/secure/Dashboard.jspa
Please search for issues before reporting them, so as to limit the number of duplicate entries.
Unit Test
Protocol
Launch the following website to execute unit tests.
Site
- http://build.fluidproject.org/infusion/tests/component-tests/pager/html/Pager-test.html
- http://build.fluidproject.org/infusion/tests/component-tests/pager/html/PagedTable-test.html
State Tests
Description
Ensures that the component properly traverses through the various states.
Protocol
Perform these tasks on the following site, perform the tests 1-14 and 15-28 in order.
Site
Mouse
Test 1: Mouse, Next
- Procedure
- Open the browser and navigate to the specified URL
- If currently on the last page, select a different page to start.
- Using the mouse, attempt to click 'next '
- Results
- The next page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been incremented appropriately (Demo only)
- The prior page number should be a link
- The current page number should be disabled
- The 'previous' link should be enabled
Test 2: Mouse, Previous
- Procedure
- Complete Test 1
- Using the mouse, attempt to click 'previous'
- Results
- The previous page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been decremented appropriately (Demo only)
- The prior page number should now be a link
- The current page number should be disabled
- If on Page 1, the "previous" link should now be disabled
- The 'next' link should be enabled
Test 3: Mouse, Hover
- Procedure (Demo only)
- Complete Test 2
- Using the mouse, hover over one of the Page numbers
- Results
- The tooltip should be displayed. The tooltip will show the first and last item on the page, based on the current sort order.
Test 4: Mouse, Click Page
- Procedure
- Complete Test 3
- Using the mouse, attempt to click one of the Page links
- Results
- The selected page should be displayed
- "Viewing page p. Showing records x - y of z items" should have been set appropriately (Demo only)
- The prior page number should now be a link
- The selected page number should be disabled
- The first and last items displayed should match those from the meta data (see Test 3 above)
- If on Page 1, the "previous" link should now be disabled, otherwise is should be enabled
- If on the last page, the "next" link should now be disabled, otherwise is should be enabled
Test 5: Mouse, Sort
- Procedure (Demo only)
- Complete Test 4
- Using the mouse, change the sort method by clicking on a column header (Note: not all columns are sortable)
- Results
- The new first page of items should be displayed and sorted in the selected manner
- "Viewing page p. Showing records x - y of z items" should have been decremented appropriately
- The previous page number should now be a link
- Page '1' should now be disabled
- The 'previous' link should now be disabled
- The 'next' link should be enabled
Test 6: Mouse, Hover After Changing Sort Method
- Procedure (Demo only)
- Complete Test 5
- Using the mouse, hover over one of the page links
- Results
- The tooltip should be displayed. The tooltip should show the first and last item for the page.
Test 7: Mouse, Click Page After Changing Sort Method
- Procedure (Demo only)
- Complete Test 6
- Using the mouse, attempt to click one of the page links
- Results
- The selected page should be displayed
- "Viewing page p. Showing records x - y of z items" should have been set appropriately
- The previous page number should now be a link
- The selected page number should be disabled
- If on Page 1, the "previous" link should now be disabled, otherwise is should be enabled
- If on the last page, the "next" link should now be disabled, otherwise is should be enabled
- The first and last items displayed should match those from the meta data (see Test 6 above)
Test 8: Mouse, Next After Changing Sort Method
- Procedure (Demo only)
- Complete Test 7
- Using the mouse, attempt to click 'next'
- Results
- The next page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been incremented appropriately
- The previous page number should now be a link
- The current page number should be disabled
- If the current page is the last page, the 'next' link should now be disabled
- The 'previous' link should be enabled
Test 9: Mouse, Previous After Changing Sort Method
- Procedure (Demo only)
- Complete Test 8
- Using the mouse, attempt to click 'previous'
- Results
- The previous page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been decremented appropriately
- The prior page number should now be a link
- The current page number should be disabled
- The 'next' link should be enabled
- If the current page is the first page, the 'previous' link should now be disabled
Test 10: Mouse, Items Per Page
- Procedure (Demo only)
- Complete Test 9
- Using the mouse, attempt change the number of items displayed per page, by selecting a new number of items from the '...per page' dropdown
- Results
- The correct number of items should be displayed
- The items displayed should contain the first item that was originally displayed
- The "Viewing page p. Showing records x - y of z items" should have the correct range of items
- The page may have changed
- The current page number should be disabled
- If on Page 1, the "previous" link should now be disabled, otherwise is should be enabled
- If on the last page, the "next" link should now be disabled, otherwise is should be enabled
Test 11: Mouse, Hover After Changing the Number of Items Per Page
- Procedure (Demo only)
- Complete Test 10
- Using the mouse, hover over one of the page links
- Results
- The tooltip should be displayed. The tooltip should show the first and last item on the page.
Test 12: Mouse, Click Page After Changing the Number of Items Per Page
- Procedure (Demo only)
- Complete Test 11
- Using the mouse, attempt to click one of the page links
- Results
- The selected page should be displayed, with number of items chosen in Test 10.
- The "Viewing page p. Showing records x - y of z items" should have been set appropriately
- The previous page number should now be a link
- The current page number should be text only or a disabled link
- The first and last items displayed should match those from the tooltip
- If on Page 1, the "previous" link should now be disabled, otherwise is should be enabled
- If on the last page, the "next" link should now be disabled, otherwise is should be enabled
Test 13: Mouse, Next After Changing the Number of Items Per Page
- Procedure (Demo only)
- Complete Test 12
- Using the mouse, attempt to click 'next'
- Results
- The next page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been incremented appropriately
- The previous page number should now be a link
- The current page number should be text only or a disabled link
- If the current page is the last page, the 'next' link should be disabled
- The 'previous' link should be enabled
Test 14: Mouse, Previous After Changing the Number of Items Per Page
- Procedure (Demo only)
- Complete Test 13
- Using the mouse, attempt to click 'previous'
- Results
- The previous page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been decremented appropriately
- The prior page number should now be a link
- The current page number should be text only or a disabled link
- The 'next' link should be enabled
- If the current page is the first page, the 'previous' link should now be disabled
- Stop Test
- Refresh the browser to return the page to its initial state
Keyboard
Test 15: Keyboard, Focus
- Procedure
- Open the browser and navigate to the specified URL
- Using the keyboard, tap the 'tab' key until the one of the Pager components's page links has focus
- Results
- One of the Pager component's page links should have focus
- The tooltip should be displayed. The tooltip will show the first and last item on the page, based on the current sort order.
Test 16: Keyboard, Next
- Procedure
- Complete Test 15
- Using the keyboard, tap the 'tab' key until the 'next' link has focus
- Tap the 'enter' key
- Results
- The next page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been incremented appropriately (Demo only)
- The prior page number should be a link
- The current page number should be disabled
- The 'previous' link should be enabled
Test 17: Keyboard, Previous
- Procedure
- Complete Test 16
- Using the keyboard, tap the 'tab' key until the 'previous' link has focus
- Tap the 'enter' key
- Results
- The previous page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been decremented appropriately (Demo only)
- The prior page number should now be a link
- The current page number should be disabled
- If on Page 1, the "previous" link should now be disabled
- The 'next' link should be enabled
Test 18: Keyboard, select Page
- Procedure
- Complete Test 17
- Using the keyboard, tap the 'tab' key until one of the Page links has focus
- Tap the 'enter' key
- Results
- The selected page should be displayed
- "Viewing page p. Showing records x - y of z items" should have been set appropriately (Demo only)
- The prior page number should now be a link
- The selected page number should be disabled
- The first and last items displayed should match those from the meta data (see Test 3 above)
- If on Page 1, the "previous" link should now be disabled, otherwise is should be enabled
- If on the last page, the "next" link should now be disabled, otherwise is should be enabled
Test 19: Keyboard, Sort
- Procedure (Demo only)
- Complete Test 18
- Using the keyboard, tap the 'tab' key until one of the headers has focus
- Tap the 'enter' key (Note that not all columns sort)
- Results
- The new first page of items should be displayed and sorted in the selected manner
- "Viewing page p. Showing records x - y of z items" should have been decremented appropriately
- The previous page number should now be a link
- Page '1' should now be disabled
- The 'previous' link should now be disabled
- The 'next' link should be enabled
Test 20: Keyboard, Hover After Changing Sort Method
- Procedure (Demo only)
- Complete Test 19
- Using the keyboard, tap the 'tab' key until one of the Page links has focus
- Results
- The tooltip should be displayed. The tooltip should show the first and last item for the page.
Test 21: Keyboard, Select Page After Changing Sort Method
- Procedure (Demo only)
- Complete Test 20
- Using the keyboard, tap the 'tab' key until one of the Page links has focus
- Tap the 'enter' key
- Results
- The selected page should be displayed
- "Viewing page p. Showing records x - y of z items" should have been set appropriately
- The previous page number should now be a link
- The selected page number should be disabled
- If on Page 1, the "previous" link should now be disabled, otherwise is should be enabled
- If on the last page, the "next" link should now be disabled, otherwise is should be enabled
- The first and last items displayed should match those from the meta data (see Test 6 above)
Test 22: Keyboard, Next After Changing Sort Method
- Procedure (Demo only)
- Complete Test 21
- Using the keyboard, tap the 'tab' key until the 'next' link has focus
- Tap the 'enter' key
- Results
- The next page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been incremented appropriately
- The previous page number should now be a link
- The current page number should be disabled
- If the current page is the last page, the 'next' link should now be disabled
- The 'previous' link should be enabled
Test 23: Keyboard, Previous After Changing Sort Method
- Procedure (Demo only)
- Complete Test 22
- Using the keyboard, tap the 'tab' key until the 'previous' link has focus
- Tap the 'enter' key
- Results
- The previous page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been decremented appropriately
- The prior page number should now be a link
- The current page number should be disabled
- The 'next' link should be enabled
- If the current page is the first page, the 'previous' link should now be disabled
Test 24: Keyboard, Items Per Page
- Procedure (Demo only)
- Complete Test 23
- Using the keyboard, tap the 'tab' key until the items per page drop down is selected
- Using the keyboard, select a different number of items to be displayed
- Results
- The correct number of items should be displayed
- The items displayed should contain the first item that was originally displayed
- The "Viewing page p. Showing records x - y of z items" should have the correct range of items
- The page may have changed
- The current page number should be disabled
- If on Page 1, the "previous" link should now be disabled, otherwise is should be enabled
- If on the last page, the "next" link should now be disabled, otherwise is should be enabled
Test 25: Keyboard, Hover After Changing the Number of Items Per Page
- Procedure (Demo only)
- Complete Test 24
- Using the keyboard, tap the 'tab' key until one of the Page links has focus
- Results
- The tooltip should be displayed. The tooltip should show the first and last item on the page.
Test 26: Keyboard, Click Page After Changing the Number of Items Per Page
- Procedure (Demo only)
- Complete Test 25
- Using the keyboard, tap the 'tab' key until one of the Page links has focus
- Tap the 'enter' key
- Results
- The selected page should be displayed, with number of items chosen in Test 10.
- The "Viewing page p. Showing records x - y of z items" should have been set appropriately
- The previous page number should now be a link
- The current page number should be text only or a disabled link
- The first and last items displayed should match those from the tooltip
- If on Page 1, the "previous" link should now be disabled, otherwise is should be enabled
- If on the last page, the "next" link should now be disabled, otherwise is should be enabled
Test 27: Keyboard, Next After Changing the Number of Items Per Page
- Procedure (Demo only)
- Complete Test 26
- Using the keyboard, tap the 'tab' key until the 'next' link has focus
- Tap the 'enter' key
- Results
- The next page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been incremented appropriately
- The previous page number should now be a link
- The current page number should be text only or a disabled link
- If the current page is the last page, the 'next' link should be disabled
- The 'previous' link should be enabled
Test 28: Keyboard, Previous After Changing the Number of Items Per Page
- Procedure (Demo only)
- Complete Test 27
- Using the keyboard, tap the 'tab' key until the 'previous' link has focus
- Tap the 'enter' key
- Results
- The previous page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been decremented appropriately
- The prior page number should now be a link
- The current page number should be text only or a disabled link
- The 'next' link should be enabled
- If the current page is the first page, the 'previous' link should now be disabled
- Stop Test
- Refresh the browser to return the page to its initial state
Assistive Technology (AT)
Description
Tests to ensure compatibility with Assistive Technologies.
Protocol
Perform these tasks on the following site.
Site
Test 1: AT Tests
- Procedure
- Open the browser and navigate to the specified URL
- Using the state tests as a guide, attempt to navigate through each state of the system
- Expected Results
- All states of the system should be reachable and usable while using the AT
Task Oriented Functional Tests
Description
Ensures that the component is able to handle expected input.
Protocol
Perform these tasks on the following site.
Site
Test 1: Click Page
- Procedure
- Using the mouse, attempt to click one of the Page links
- Results
- The selected page should be displayed
- "Viewing page p. Showing records x - y of z items" should have been set appropriately (Demo only)
- The prior page number should now be a link
- The selected page number should be disabled
- The first and last items displayed should match those from the meta data (see Test 3 above)
- If on Page 1, the "previous" link should now be disabled, otherwise is should be enabled
- If on the last page, the "next" link should now be disabled, otherwise is should be enabled
- Stop Test
- Refresh the browser to return the page to its initial state
Test 2: Next
- Procedure
- Open the browser and navigate to the specified URL
- If currently on the last page, select a different page to start.
- Using the mouse, attempt to click 'next'
- Results
- The next page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been incremented appropriately (Demo only)
- The prior page number should be a link
- The current page number should be disabled
- The 'previous' link should be enabled
- Stop Test
- Refresh the browser to return the page to its initial state
Test 3: Previous
- Procedure
- Open the browser and navigate to the specified URL
- If currently on the first page, select a different page to start.
- Using the mouse, attempt to click 'previous'
- Results
- The previous page of items should be displayed
- "Viewing page p. Showing records x - y of z items" should have been decremented appropriately (Demo only)
- The prior page number should now be a link
- The current page number should be disabled
- If on Page 1, the "previous" link should now be disabled
- The 'next' link should be enabled
- Stop Test
- Refresh the browser to return the page to its initial state
Test 4: Verify Tooltip
- Procedure (Demo only)
- Open the browser and navigate to the specified URL
- Using the mouse, hover over one of the page links
- Using the mouse, attempt to click that page link
- Results
- While hovering over the page link; the tooltip will show the first and last item on the page, based on the current sort order.
- The selected page should be displayed
- The "Viewing page p. Showing records x - y of z items" should have been set appropriately
- The previous page number should now be a link
- The selected page number should be disabled
- The first and last items on the page should match those that were displayed in the tooltip
- Stop Test
- Refresh the browser to return the page to its initial state
Test 5: Sort
- Procedure (Demo only)
- Open the browser and navigate to the specified URL
- Using the mouse, attempt to click one of the page links
- Using the mouse, attempt to click on a column header to change the sort order (Note that not all columns sort)
- Results
- The new first page of items should be displayed and sorted in the selected manner
- "Viewing page p. Showing records x - y of z items" should have been decremented appropriately
- The previous page number should now be a link
- Page '1' should now be disabled
- The 'previous' link should now be disabled
- The 'next' link should be enabled
- Stop Test
- Refresh the browser to return the page to its initial state
Test 6: Items Per Page
- Procedure (Demo only)
- Open the browser and navigate to the specified URL
- Using the mouse, attempt to click one of the page links
- Using the mouse, attempt change the number of items displayed per page, by selecting a different option from the '...per page dropdown'
- Results
- The correct number of items should be displayed
- The items displayed should contain the first item that was originally displayed
- The "Viewing page p. Showing records x - y of z items" should have the correct range of items
- The page may have changed
- The current page number should be disabled
- If on Page 1, the "previous" link should now be disabled, otherwise is should be enabled
- If on the last page, the "next" link should now be disabled, otherwise is should be enabled
- Stop Test
- Refresh the browser to return the page to its initial state
Boundary Tests
Description
Ensures proper functionality at the input limits
Protocol
Perform these tasks on the following site.
Site
Test 1: Click Previous While on Page 1
- Procedure
- Open the browser and navigate to the specified URL
- Select the first page, if not already selected
- Using the mouse attempt to click 'previous'
- Results
- The 'previous' link should be disabled
- Stop Test
- Refresh the browser to return the page to its initial state
Test 2: Click Last Page
- Procedure
- Open the browser and navigate to the specified URL
- Using the mouse attempt to click '# (last)' page, where # is the largest page number
- Results
- The final page should be displayed
- The current page link should be disabled
- The 'previous' link should be enabled
- The 'next' link should be disabled
- Stop Test
- Refresh the browser to return the page to its initial state
Test 3: Click Next While on Last Page
- Procedure
- Open the browser and navigate to the specified URL
- Using the mouse click on '# (last)' page, where # is the largest page number, if not already selected
- Using the mouse click on 'next '
- Results
- The 'next ' link should be disabled
- Stop Test
- Refresh the browser to return the page to its initial state
Test 4: Click to Page 1
- Procedure
- Open the browser and navigate to the specified URL
- Using the mouse click on another page link if currently on page '1'
- Using the mouse click on page '1'
- Results
- After clicking '1' the first page should be displayed
- The current page link should be disabled
- The 'next' link should be enabled
- The 'previous' link should be disabled
- Stop Test
- Refresh the browser to return the page to its initial state
Test 5: Minimum Number of Items Per Page
- Procedure (Demo only)
- Open the browser and navigate to the specified URL
- Using the mouse select the smallest amount from the drop down menu, to show the fewest number of items per page
- Results
- Each page should display the number of items selected from the drop down menu except the last page, which may have fewer.
- Stop Test
- Refresh the browser to return the page to its initial state
Test 6: Maximum Number of Items Per Page
- Procedure (Demo only)
- Open the browser and navigate to the specified URL
- Using the mouse select the maximum number of items (may be "all") from the the drop down menu.
- Results
- Each page should display the number of items selected from the drop down menu except the last page, which may have fewer.
- If all was selected, there should only be one page with all the items displayed. The page-scale should be replaced by a message indicating that all items are being displayed.
- Stop Test
- Refresh the browser to return the page to its initial state
Test-to-Fail
Description
Tests which should cause errors or not be accepted as input
Protocol
Perform these tasks on the following site.
Site
Test 1: Sort
- Procedure (Demo only)
- Using the mouse, attempt to change the sort method by clicking on a header that doesn't support sorting
- Results
- There should be no affect
Validation
Description
Tests to ensure that specifications are being met
Protocol
Perform these tasks on the following site.
Site
Test 1: HTML Validation
- Procedure
- Open the browser and navigate to the specified URL
- For each state of the system, validate the HTML markup
- Tools for validation
- Expected Results
- All of the HTML markup should properly validate in all states.
- Stop Test
- Refresh the browser to return the page to its initial state
- Quit the tool you are using to validate
Test 2: WCAG Validation
- Procedure
- Open the browser and navigate to the specified URL
- For each state of the system (see: State Tests), ensure that the WCAG guidelines are being met to at least AA level
- Tools for validation (Note: Automated tools are not yet capable of catching all issues. It is important to go through the checklist, making use of automated tools where possible, and manual processes otherwise).
- Expected Results
- Passes WCAG 2.0 AA requirements
- Stop Test
- Refresh the browser to return the page to its initial state
- Quit the tool you are using to validate
Ad-hoc
Description
Improvised tests for quickly discovering critical issues, and uncovering ones that may be outside of formalized testing.
Protocol
Attempt to use the tool in various situations, using your imagination and freedom to explore the interface and interactions.
Site