Create a new Object or Procedural Record of any kind
NB: The right sidebar of Authority records is not expected to follow the same functionality, so please restrict this testing to Object or Procedural records.
Enter a Reference number and Savethe record
Expected:
After save, a blue-shaded sidebar should appear on the right side of the page
If the sidebar does not appear, click on Show sidebar, located under the Procedure name at the top right
The sidebar should contain a menu titled Related Objects: 0
Action
Click on the triangle to open the Related Objects menu
Expected
There should be no Related Objects listed
Test 3: Is it possible to add object via dialog
Actions
Continue from Test 1(or Edit an existing Object or Procedural Record)
Click on the Addbutton to the right of the Related Objects menu header
Expected:
A dialog should appear, the rest of the page should be inactivated and greyed out
Actions:
Click the searchbutton at the bottom right of the dialog
A list of records should appear and the Relate Selected button should be grayed out
Select one of the records by marking the check box to the left of its Identification number
Click the Relate Selected button - this should now be active
Expected
The dialog should be dismissed
The newly added record should be listed under the Related Objects menu in the right sidebar
Test 5: Does the search functionality work
Actions
Continue from Test 3 or edit any existing Object or Procedural Record
Click on the Addbutton to the right of the Related Objects menu header in the right sidebar
Expected:
A dialog should appear, the rest of the page should be inactivated and greyed out
Actions:
Enter the phrase QA TEST into the Keyword search
Click the searchbutton at the bottom right of the dialog
Expected
At least one Object record should appear in the search results
Test 7: Do the pages work in dialog
Actions:
Create a new Object or Procedural Record
Fill in at the least the field required to be able to save the record, and Save
Click on the Addbutton next to the Related Objects menu in the right sidebar
In the dialog that appears, click the search button at the bottom right
Expected:
The text "1-# of X records found", where X>=11 should be displayed
A select box at the bottom of the results should say "#per page"
Actions:
Variation A: Select 20 from the select box
Variation B: Select 40 from the select box
On variation A: 20 records should be shown and the bottom of the list should show the total number of search results pages
On variation B: 40 records should be shown and the bottom of the list should show the total number of search results pages
Clicking the right and left arrows next to the search results pages should take you to the next and previous pages
If you are at the first page or last page, the next and previous links, respectively, should be disabled
Clicking the numbers should take you directly to that page of results
Test 9: Test adding multiple to current record (mark multiple in dialog)
Actions:
Continue from Test 7, keeping the Adddialog with search results open
Select the checkboxes of at least two objects on the first page and one from another page
Click the Relate Selected button
Expected
The dialog should be dismissed
All the newly added records should be listed under Related Objects in the right sidebar
The number to the right of the Related Objects menu header should match the number of objects you selected (e.g. Related Objects:3)
Test 11: Testing Pivoting
Actions
Continue from Test 9
Click the ID number of an Object record in the Related Objects menu of the right sidebar
Expected:
The data entry screen for the Object record you selected should load
Test 15: Testing correct display of summary in object and procedural records
Actions
Create a new Object record (called Record A from now on)
Fill in the Identification Number
Fill in the Object Name
Do NOT fill out the Title field
Click the savebutton
Take a note of the time stamp
Add a related record (Called Record B from now on) using the Addbutton in the right sidebar (Related Objects or Related Procedures)
Click the newly added Record B to pivot to it
Expected
The object you created (Record A) should be listed under Related Objects in the right sidebar
The Identification Number should be displayed in the ID column
The Title column should contain Object Name and the Updated column the last edit date
Known issue:
Action:
Take a note of the ID Number and type of record you are currently on (Record B)
Pivot to Record A by clicking on the ID number
Fill out theTitlefield and save
Take a note of the time stamp
Pivot back to the record you came from (Record B)
Expected
Record A should be listed under Related Objects in the right sidebar
The ID Number should be displayed in the ID column
The Title column should contain Primary value of Title and the Updated column the last edit date
Test 17: Testing correct display of summary on authority pages
Actions
Create a new Cataloging object record (called Record A from now on)
Fill in the Identification Number
Fill in the Object Name
Do NOT fill out the Title field
Decide on any type of authority (eg. Person) and fill out two authority fields of this type with the same authority term
Make sure to take a note of the names of the authority fields you filled out
Click save
The authority terms should now be displayed in the Terms Used menu of the right sidebar
Click on one of the authority terms
Expected
The authority term should be loaded
The object you created in the beginning of this test should be listed under Used By in the right sidebar, once for each field the authority term is used in
The Identification Number should be displayed in the Recrd column
The summary column should contain the Object Name, and the Field column the name of the field that contains this authority
Actions
Pivot back to the object record by clicking on the Identification number
Fill out theTitlefield and click the savebutton
Pivot back to the authority you came from
Expected
The object should still be listed under in the Used By area, once for each field you entered the authority you are in
The Identification Number should be displayed in the number column
The summary column should contain theTitleand the Field column the name of the field that contains this authority
Known issue:
Test 19: Does the close button work
Actions
Edit an existing Object or Procedural Record (Note: The right sidebar of Authority records is not expected to follow the same functionality, so please restrict this testing to Object or Procedural records.)
Click on the Addbutton next to Related Objects in the right sidebar
Variation 1: In the appearing dialog, click the close button in the top right corner
Variation 2: Press the Esc key
Expected:
The dialog should be dismissed
No changes should have occurred to page
Test 21: Adding a relation to self
Actions:
Open an existing Object record
Take a note of the Object Identification Number
Click on the Add button next to Related Objects in the right sidebar
In the appearing dialog, type in the identification number of the record you are editing
Click the searchbutton at the bottom right of the dialog
Expected
The record you are currently editing should appear but be disabled
There should be no checkbox next to it
Test 23: Adding multiple copies of a record
Actions:
Continue from Test 21
Click on the Add button next to Related Objects in the right sidebar
In the appearing dialog click the searchbutton at the bottom right
Select an object using the checkbox next to it
Click the Relate Selected button
Expected
The dialog should be dismissed
The object should be added to the Related Objects menu in the right sidebar
Actions:
Repeat the steps in this test adding the exact same Object
Expected:
The record should be inactive and there should be no checkbox next to it
Keyboard
Please note: If testing with Safari, in order to be able to tab to all the controls, you need to either hold down the option key while pressing tab, or check the option labeled "Press Tab to highlight each item on a webpage" in Preferences/Advanced.
Test 31: Testing keyboard accessibility
Actions
Do the following using keyboard only:
Open a dialog to add a related object
Change the number of results shown per page in the dialog
Use the 'next', 'prev' and page-number links in the dialog
Mark at least 2 objects to relate to the current record
Relate the selected records
Pivot to at least one of them by clicking (via keyboard) the link under Cataloging in the right sidebar
Expected:
You should be able to do all the above using keyboard only
The tab-ordering and keys used should be logical
At all times, you should be able to see where focus is
Free Bug Hunt
Test 35: Spend 3 minutes trying to break something!
Spend a few minutes forcing the program to expose buggy behavior by:
using the system in ways not covered by the testplan
using the system in unexpected ways
doing whatever you can think of that will produce bugs and unexpected behavior.
Be creative!
feel free to extend this to behavior related to this testplan