Pager QA Test Plan
|
Environments Unable to render {include} Couldn't find a page to include called: Browser Support Chart
General QA Guidelines General Use
|
On This Page Specification
|
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. |
| Red text refers to functionality which has not yet been implemented. Please do not include these in current testing. |
Unit Test
________________________________________________________
Protocol
Launch the following website to execute unit tests.
Pager Test Suite:
http://build.fluidproject.org/infusion/tests/component-tests/pager/html/Pager-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.
Pager Example:
Demo
Sakai Site Setting
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
- The "Viewing page p. Showing records x - y of z items" should have been incremented appropriately
- The previous page number should be a link to that page of data.
- The current page number should be text only or a disabled link
- 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
- The "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
- If on Page 1, the "< Previous" link should now be disabled
Test 3: Mouse, Hover
- Procedure
- Complete Test 2
- Using the mouse, hover over one of the Page numbers
- Results
- The alt text should be displayed. The alt text 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
- 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 text only, no link associated with it
- The first and last items displayed should match those from the meta data (see Test 3 above)
Test 5: Mouse, Sort
- Procedure
- Complete Test 4
- Using the mouse, change the sort method by clicking on a column header (Note that not all columns sort)
- Results
- The new first page of items should be displayed and sorted in the selected manner
- The "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 text only, no link associated with it
- The '< Previous' link should now be disabled
Test 6: Mouse, Hover After Changing Sort Method
- Procedure
- Complete Test 5
- Using the mouse, hover over one of the page links
- Results
- The alt text should be displayed. The alt text should show the first and last item for the page.
Test 7: Mouse, Click Page After Changing Sort Method
- Procedure
- Complete Test 6
- Using the mouse, attempt to click one of the page links (except the last page).
- Results
- 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 text only, no link associated with it
- The '< Previous' link 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
- Complete Test 7
- Using the mouse, attempt to click 'Next >'
- Results
- The next page of items should be displayed
- The "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 now be disabled
Test 9: Mouse, Previous After Changing Sort Method
- Procedure
- Complete Test 8
- Using the mouse, attempt to click '< Previous'
- Results
- The previous page of items should be displayed
- The "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
Test 10: Mouse, Items Per Page
- Procedure
- 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 and the page number may be text only, no link associated with it
Test 11: Mouse, Hover After Changing the Number of Items Per Page
- Procedure
- Complete Test 10
- Using the mouse, hover over one of the page links
- Results
- The alt text should be displayed. The alt text should show the first and last item on the page.
Test 12: Mouse, Click Page After Changing the Number of Items Per Page
- Procedure
- Complete Test 11
- Using the mouse, attempt to click one of the page links (except the last page).
- 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 alt text
Test 13: Mouse, Next After Changing the Number of Items Per Page
- Procedure
- Complete Test 12
- Using the mouse, attempt to click 'Next >'
- Results
- The next page of items should be displayed
- The "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
Test 14: Mouse, Previous After Changing the Number of Items Per Page
- Procedure
- Complete Test 13
- Using the mouse, attempt to click '< Previous'
- Results
- The previous page of items should be displayed
- The "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
- 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 Pager component has focus*# Tap the 'enter' key
- Results** You should now be able to navigate within the Pager component, such as the page numbers.** Page '2' should have focus
Test 16: Keyboard, Next
- Procedure*# Complete Test 15*# Using the keyboard, tap the 'tab' or 'right-arrow' key until the 'next >' link has focus*# Tap the 'enter' key
- Results** The next page of items should be displayed** The "x - y of z items" should have been incremented appropriately** Page '1' should now be a link to the first page** Page '2' should now be text only, no link associated with it
- The '< previous' link should now be enabled
- The 'next >' link should keep focus
Test 17: Keyboard, Previous
- Procedure*# Complete Test 16*# Using the keyboard, tap the 'shift-tab' or 'left-arrow' key until the '< previous' has focus*# Tap the 'enter' key
- Results** The previous page of items should be displayed** The "x - y of z items" should have been decremented appropriately** Page '2' should now be a link to the second page** Page '1' should now be text only, no link associated with it
- The '< previous' link should now be disabled
- The 'next >' link should now have focus
Test 18: Keyboard, Enter Page
- Procedure*# Complete Test 17*# Using the keyboard, tap 'shift-tab' or 'left-arrow' key until page '3' has focus*# Tap the 'enter' key
- Results** The third page of items should be displayed** The "x - y of z items" should have been set appropriately** Page '1' should now be a link to the first page** Page '3' should now be text only, no link associated with it
- The '< previous' link should now be enabled
- Page '4' should have focus
Test 19: Keyboard, Sort
- Procedure (Only for Sakai Site Setting)*# Complete Test 18*# Using the keyboard, tap 'tab' until the column header has focus*# Tap the 'enter' key 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** The "x - y of z items" should have been decremented appropriately** Page '3' should now be a link to the third page** Page '1' should now be text only, no link associated with it
- The '< previous' link should now be disabled
Test 20: Keyboard, Focus After Changing the Sort Method
- Procedure (Only for Sakai Site Setting)*# Complete Test 19*# Using the keyboard, tap the 'tab' key until the Pager component has focus*# Tap the 'enter' key
- Results** You should now be able to navigate within the Pager component, such as the page numbers.
Test 21: Keyboard, Next After Changing the Sort Method
- Procedure (Only for Sakai Site Setting)*# Complete Test 20*# Using the keyboard, tap the 'tab' or 'right-arrow' key until the 'next >' link has focus*# Tap the 'enter' key
- Results** The next page of items should be displayed, keeping the selected sort order** The "x - y of z items" should have been incremented appropriately** Page '1' should now be a link to the first page** Page '2' should now be text only, no link associated with it
- The '< previous' link should now be enabled
- The 'next >' link should keep focus
Test 22: Keyboard, Previous After Changing the Sort Method
- Procedure (Only for Sakai Site Setting)*# Complete Test 21*# Using the keyboard, tap the 'shift-tab' or 'left-arrow' key until the '< previous' has focus*# Tap the 'enter' key
- Results** The previous page of items should be displayed, keeping the selected sort order** The "x - y of z items" should have been decremented appropriately** Page '2' should now be a link to the second page** Page '1' should now be text only, no link associated with it
- The '< previous' link should now be disabled
- The 'next >' link should now have focus
Test 23: Keyboard, Enter Page After Changing the Sort Method
- Procedure (Only for Sakai Site Setting)*# Complete Test 22*# Using the keyboard, tap 'shift-tab' or 'left-arrow' key until page '3' has focus*# Tap the 'enter' key
- Results** The third page of items should be displayed, keeping the selected sort order** The "x - y of z items" should have been set appropriately** Page '1' should now be a link to the first page** Page '3' should now be text only, no link associated with it
- The '< previous' link should now be enabled
- Page '4' should have focus
Test 24: Keyboard, Change Number of Items Per Page
- Procedure*# Complete Test 23*# Using the keyboard, tap the 'tab' key until the 'page size dropdown' has focus*# Using the keyboard tap the 'up-arrow' or 'down-arrow' key to change the focus and the number of items per page to another value*# Tap the 'enter' key
- Results** The correct number of items should be displayed** The items displayed should contain the first item that was originally displayed** The "x - y of z items" should have the correct range of items** The page may have changed and the page number may be text only, no link associated with it
- The 'page size dropdown' should have focus
Test 25: Keyboard, Enter Page After Changing Number of Items Per Page
- Procedure*# Complete Test 25*# Using the keyboard, tap 'shift-tab' or 'left-arrow' key until page '3' has focus*# Tap the 'enter' key
- Results** The third page of items should be displayed, with only 10 items on the page** The "x - y of z items" should have been set appropriately** Page '3' should now be text only, no link associated with it** Page '4' should have focus
Test 26: Keyboard, Next After Changing Number of Items Per Page
- Procedure*# Complete Test 26*# Using the keyboard, tap the 'tab' or 'right-arrow' key until the 'next >' link has focus*# Tap the 'enter' key
- Results** The next page of items should be displayed, with only 10 items on the page** The "x - y of z items" should have been incremented appropriately** Page '3' should now be a link to the third page** Page '4' should now be text only, no link associated with it
- The 'next >' link should keep focus
Test 27: Keyboard, Previous After Changing Number of Items Per Page
- Procedure*# Complete Test 27*# Using the keyboard, tap the 'shift-tab' or 'left-arrow' key until the '< previous' has focus*# Tap the 'enter' key
- Results** The previous page of items should be displayed, with only 10 items on the page** The "x - y of z items" should have been decremented appropriately** Page '4' should now be a link to the fourth page** Page '3' should now be text only, no link associated with it
- The '< previous' link should keep focus
- Stop Test** Refresh the browser to return the page to its initial state
Task Oriented Functional Tests
________________________________________________________
Description
Ensures that the component is able to handle expected input.
Protocol
Perform these tasks on the following site.
Pager Example:
Demo
Sakai Site Setting
Test 1: Click Page
- Procedure
- Using the mouse, attempt to click one of the Page links
- Results
- 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 text only, no link associated with it
- The first and last items displayed should match those from the meta data
- 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
- The "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 selected page number should be text only, no link associated with it
- The '< Previous' link should be enabled
- If the current page is the last page, the 'Next >' link should be disabled
- 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
- The "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 selected page number should be text only, no link associated with it
- Stop Test
- Refresh the browser to return the page to its initial state
Test 4: Verify Hover Text
- Procedure
- 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 alt text 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 text only, no link associated with it
- The first and last items on the page should match those that were displayed in the alt text
- Stop Test
- Refresh the browser to return the page to its initial state
Test 5: Sort
- Procedure
- 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
- The "Viewing page p. Showing records x - y of z items" should have been decremented appropriately
- The previous page number should now be a link
- The selected page number should be text only, no link associated with it
- The '< Previous' link should now be disabled
- Stop Test
- Refresh the browser to return the page to its initial state
Test 6: Items Per Page
- Procedure
- 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 and the page number may be text only, no link associated with it
- Stop Test
- Refresh the browser to return the page to its initial state
- 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.
Pager Example:
Demo
Sakai Site Setting
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 grayed out and inaccessible
- 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, with '# (last)' in black and 'next >' grayed out
- 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 grayed out and inaccessible
- 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
- Stop Test
- Refresh the browser to return the page to its initial state
Test 5: Minimum Number of Items Per Page
- Procedure
- 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
- 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
- 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.
Pager Example:
Sakai Site Setting
Test 1: Mouse, Sort
- Procedure (Only for Sakai Site Setting)
- 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
*no tests yet*
"Viewing page p. Showing records x - y of z items"