Pager QA Test Plan

Pager QA Test Plan

Pager QA Test Plan

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.

Pager Jira Filter



Unit Test

Protocol
Launch the following website to execute unit tests.

Site

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

    1. Open the browser and navigate to the specified URL

    2. If currently on the last page, select a different page to start.

    3. 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

    1. Complete Test 1

    2. 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)

    1. Complete Test 2

    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

    1. Complete Test 3

    2. 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)

    1. Complete Test 4

    2. 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)

    1. Complete Test 5

    2. 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)

    1. Complete Test 6

    2. 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)

    1. Complete Test 7

    2. 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)

    1. Complete Test 8

    2. 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)

    1. Complete Test 9

    2. 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)

    1. Complete Test 10

    2. 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)

    1. Complete Test 11

    2. 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)

    1. Complete Test 12

    2. 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)

    1. Complete Test 13

    2. 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

    1. Open the browser and navigate to the specified URL

    2. 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

    1. Complete Test 15

    2. Using the keyboard, tap the 'tab' key until the 'next' link has focus

    3. 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

    1. Complete Test 16

    2. Using the keyboard, tap the 'tab' key until the 'previous' link has focus

    3. 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

    1. Complete Test 17

    2. Using the keyboard, tap the 'tab' key until one of the Page links has focus

    3. 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)

    1. Complete Test 18

    2. Using the keyboard, tap the 'tab' key until one of the headers has focus 

    3. 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)

    1. Complete Test 19

    2. 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)

    1. Complete Test 20

    2. Using the keyboard, tap the 'tab' key until one of the Page links has focus

    3. 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)

    1. Complete Test 21

    2. Using the keyboard, tap the 'tab' key until the 'next' link has focus

    3. 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)

    1. Complete Test 22

    2. Using the keyboard, tap the 'tab' key until the 'previous' link has focus

    3. 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)

    1. Complete Test 23

    2. Using the keyboard, tap the 'tab' key until the items per page drop down is selected

    3. 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)

    1. Complete Test 24

    2. 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)

    1. Complete Test 25

    2. Using the keyboard, tap the 'tab' key until one of the Page links has focus

    3. 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)