Et1 Test Harness: Data Paginator
This is the Deployment Version (runs from built code). Go to the
Developer Version (runs from source code).
Supported Platforms:
- IE 5+ on Windows
-
Mozilla-based browsers (Firefox 1.0+) on Windows o/s
Known Issue(s):
-
Mozilla-based browsers (Firefox 1.0+) on Non Windows o/s
Known Issue(s):
- Safari (3+) on Mac
Known Issue(s):
- Due to use of the 'confirm' native dialog, scrolling
through multiple search results does not work well.
This could be remedied by using a 'Et1.oView.oPopup.oOverlay.oDraggable.oDialog.Modal'
dialog.
- Opera 9+ on all o/s
Verification Targets:
-
The page should load and show "The Prose Edda: Norse Mythology (Penguin Classic)" as the first
title, on Page 1.
-
Page backward: Verify that an 'alert' message is shown telling that
the page is not available.
-
Page forward: The page should go to page 2.
-
Page forward until reach page 5. Verify that the first title shown on the
page is "The Nibelungenlied: Prose Translation (Penguin Classics)".
-
Page forward again. Verify that an 'alert' message is shown telling that
the page is not available.
-
Page backward. Verify that you are now on page 4.
-
Scroll the scrollable book viewer panel all the way down using the scrollbar.
-
Search on this search term: 'Edda: Norse Mythology (Penguin'. Follow the prompt,
answering "Ok".
-
Verify that the Book Viewer
jumps to the first row of the first page, highlights the data cell containing the found
text, and moves it into view (so it is not scrolled off of the viewable part of the page).
-
Page forward one page, and then page backward one page. Verify that the highlighting of
the found cell has been removed.
-
Check the 'Case Sensitive' checkbox. Repeat steps 8 and 9, only this time, change the
case of one of the letters. Verify that no search results are found.
-
Check the "Regular Expression" box. Search on 'Myth*'. Verify that several results are
found and that answering "Ok" to the dialogs moves the Book Viewer through to the various
search results.
-
Click "Search" again. Change the capital "M" in the search term to lower-case ("m"). Verify
that only one search result is found (it's an image on page 4).
-
Click "Search" again. Enter search term 'The Saga of the Volsungs (P'. Verify that a single error
messages is shown stating that the search term is not a correct regular expression (some
browsers may crash in this error case, although they should not). Verify that a message
appears telling the user that no search results were found.
-
Click "Search" again. Enter search term 'The Saga of the Volsungs \(P'. Verify that a single
search result is found.
-
Go to page 1. Save a backup copy of the file
et1/dev_tools/test/harness/pager/js/json/page_0.json
.
-
Next, alter the file so that the book title is different. Click the "Refresh" button (not the
"Refresh No Cache" button). If your server and browser have default settings and you have
loaded this page within the last few minutes, you should see no change in the book title.
-
Click the "Refresh No Cache" button. The title should show the change.
-
Restore the backup copy of the file
et1/dev_tools/test/harness/pager/js/json/page_0.json
.
-
Repeat step 4.
-
Click the "Jump to Page" button and enter page 0. Verify that an error message is shown telling
that the page does not exist.
-
Click the "Jump to Page" button and enter page 7. Verify that an error message is shown telling
that the page does not exist.
-
Click the "Jump to Page" button and enter page 2. Verify that the Book Viewer goes to page 2.
The first title on that page is "The Poetic Edda (Paperback).
-
Repeat step 4.
-
Reload the Web browser page (not the Book Viewer page).
-
Click the "Jump to Page" button and enter page 3. Verify that the Book Viewer goes to page 3.
Verify that the first title on that page is "The Elder Eddas of Saemund Sigfusson".
-
Page back to page 1.
-
Repeat step 2.
-
Using the Book Viewer search button, search on search term 'Exploring The Northern Tradition'.
Verify that there is no search result found.
-
Page forward through to page 5, and then page back to page 4.
-
Using the Book Viewer search button, search on search term 'Exploring The Northern Tradition'.
Verify that there is one search result found. Click 'Ok' and visit the search result.
-
Page back to page 4. Click the "Remove Page" button. Enter '5' and click 'Ok'.
-
Using the Book Viewer search button, search on search term 'Exploring The Northern Tradition'.
Verify that there is no search result found.
-
Page forward through to page 5, and then page back to page 4. Verify that
"The Saga of the Volsungs" is the first title shown on that page.