Show
TC1 – Adding a graded activity and setting the maximum grade point
Steps
User adds a graded activity and selects the following:
Site wide grade point maximum is set to 900, grade point default is set to 800.
Grade Type - 'point'
Scale - disabled because Grade Type is not 'scale'
Maximum points - 600
Expected Result
When the add activity page loads, under the "grade" section. The "grade element" should have "points" selected for type, and 800 as the default value for maximum points.
The user submits the form and the value stored in the grade column of the module's table is 600.
TC2 – Adding a graded activity and selecting a scale grade
Steps
User adds a graded activity and selects the following:
Site wide grade point maximum is set to 900, grade point default is set to 800
Grade Type = 'scale'
Scale - Scale value
Maximum points - automatically disabled because Grade Type is not 'point'
Expected Result
When the add activity page loads, under the "grade" section. The "grade element" should have "points" selected for type, and 800 as the default value for maximum points.
The user submits the form and the value stored in the grade column of the module's table is a negative integer.
TC3 – Adding a graded activity and selecting 'no grade'
Steps
User adds a graded activity and selects the following:
Site wide grade point maximum is set to 900, grade point default is set to 800.
Grade Type = 'No grade'
Scale - disabled because Grade Type is not 'scale'
Maximum points - disabled because Grade Type is not 'point'
Expected Result
When the add activity page loads, under the "grade" section. The "grade element" should have "points" selected for type, and 800 as the default value for maximum points.
The user submits the form and the value stored in the grade column of the module's table is 0.
TC4 – Adding a graded activity and setting the maximum grade point higher than the site imposed maximum
Steps
User adds a graded activity and selects the following:
Site wide grade point maximum is set to 900, grade point default is set to 800.
Grade Type = 'Point'
Scale - disabled because Grade Type is not 'scale'
Maximum points - 20000
Expected Result
When the add activity page loads, under the "grade" section. The "grade element" should have "points" selected for type, and 800 as the default value for maximum points.
The user submits the form and validation code returns an error highlighting that the grade point entered is higher than the site imposed maximum.
TC5 – Updating a graded activity and setting the maximum grade point
Steps
Site wide grade point maximum is set to 900
User updates a graded activity that is using a maximum points value of 600
Expected Results
The Grade Type dropdown value is set to 'Point'
The Scale dropdown is disabled
The Maximum points text field is populated with 600
TC6 – Updating a graded activity, whose grade was previously set to 'no grade'
Steps
Site wide grade point maximum is set to 900
User updates a graded activity that is using a grade point value of 0
Expected Results
The Grade Type dropdown value is set to 'No grade'
The Scale dropdown is disabled
The Maximum points text field is disabled
TC7 – Updating a graded activity, whose grade was previously using a scale
Steps
Site wide grade point maximum is set to 900
User updates a graded activity that is using a scale value of -1
Expected Results
The Grade Type dropdown value is set to 'Scale'
The Scale dropdown value is set to the '-1' entry
The Maximum points text field is disabled
TC8 – Updating a graded activity and setting a grade point maximum; then changing the site wide grade point maximum to a value lower than the value used by the activity
Steps
Set site wide grade point maximum to 900.
Update a grade activity, and set it to point grading, with a maximum of 600. Save.
Set site wide grade point maximum to 100.
Edit the activity again.
Expected Results
The Grade Type dropdown value is set to 'Point'
The Scale dropdown is disabled
The Maximum points text field is populated with 600
The user submits the form and validation code returns an error highlighting that the grade point entered is higher than the site imposed maximum.
TC9 – Adding a graded activity and setting the grade point maximum. Change the site wide grade point maximum to a value lower than the value used by the activity. Perform a backup and restore of the graded activity
Steps
Site wide grade point maximum is set to 1000
User creates a graded activity
Grade Type = 'Point'
Scale - disabled because Grade Type is not 'scale'
Maximum points - 1000
Saves the form
Creates a backup of the course, activities and user data
Site wide grade point maximum is set to 100
User restores the backuped course with activities and user data
User edits the graded activity
Expected Results
The Grade Type dropdown value is set to 'Point'
The Scale dropdown is disabled
The Grade Point text field is populated with 1000
The user submits the form and validation code returns an error highlighting that the grade point entered is higher than the site imposed maximum.
TC10 – Adding a graded activity and setting the grade point maximum. Change the grade point maximum. Perform a backup and restore of the graded activity
Steps
Site wide grade point maximum is set to 1000
User creates a graded activity
Grade Type = 'Point'
Scale - disabled because Grade Type is not 'scale'
Maximum points - 30
Saves the form
Creates a backup of the course, activities and user data
Site wide grade point maximum is set to 100
User restores the backuped course with activities and user data
User edits the graded activity
Expected Results
The Grade Type dropdown value is set to 'Point'
The Scale dropdown is disabled
The Grade Point text field is populated with 30
The user submits the form and the value stored in the grade column of the module's table is 30.
TC11 – Adding a grade activity snd setting a scale grade. Perform a backup of the activity. Removed the sale used by the activity by removing it from the course (or site). Restore the activity
Steps
Site wide grade point maximum is set to 1000
User creates a graded activity
Grade Type = 'scale'
Scale - Scale value
Maximum points - automatically disabled because Grade Type is not 'point'
Saves the form
Creates a backup of the course, activities and user data
The scale used in the graded activity is removed
User restores the backuped course with activities and user data
User edits the graded activity
Expected Results
The Grade Type dropdown value is set to 'Scale'
The Scale defaults to the "standard scale value" of -1
The Grade Point text field is disabled
The user submits the form and the value stored in the grade column of the module's table is -1.
TC12 – Adding an activity that uses rating.
Steps
Site wide grade point maximum is set to 100
User adds a forum activity to a course.
User expands "Ratings" section and changes "Aggregate Type" to a value other than "No Ratings"
User changes scale type to "scale"
User changes scale type to "point"
User enters a value less than the maximum grade (ex. 80) into the Maximum points input box, and saves the activity.
Expected Results
When first expanding the "Ratings" section, all "Scale" inputs should be disabled (type/scale/maximum grade)
After changing the "Aggregate Type" to a value other than "No Ratings", The "type" select box should be enabled, and set to "Point". The Maximum Grade input box should be enabled and set to the sitewide maximum grade setting (100)
When changing scale type to "scale", the maximum grade input should become disabled, and the scale select box should be enabled.
When changing scale type back to "point", the maximum grade input should become enabled, and the scale select box should be disabled.
After entering the maximum grade value, and saving the activity, the activity should save successfully.
TC13 – Updating an activity that uses ratings, whose rating scale was previously set to "point"
Steps
Site wide grade point maximum is set to 100
User updates a forum activity that is using ratings and a maximum grade value of 90
Expected Results
The Scale Type select box value is set to 'Point'
The Scale select box is disabled.
The Maximum points text field is enabled and set to 90.
TC14 – Updating an activity that uses ratings, whose rating scale was previously set to "scale"
Steps
Site wide grade point maximum is set to 100
User updates a forum activity that is using ratings and a scale value of -1
Expected Results
The Scale Type select box value is set to 'Scale'
The Scale select box value is set to the '-1' entry
The Maximum points text field is disabled
TC15 – Adding a workshop with Accumulative Grading
Steps
Site wide grade point maximum is set to 100
User adds a workshop activity to a course. A name is set, and grading strategy is set to "accumulative grading"
User clicks "save and display", then clicks "edit assessment form"
Under "best possible grade / scale to use", the type is changed to "scale"
Under "best possible grade / scale to use", the type is changed to "point"
An integer is input into the maximum grade box, and the user clicks "save and close"
Expected results
When first viewing the edit assessment form page, next to "best possible grade / scale to use" a type select box, a scale select box, and a maximum grade text box is present. The type select box is set to "point", the scale select box is disabled, and the maximum grade box is set to 10
When "best possible grade / scale to use" type is changed to "scale", the scale select box is enabled, and the maximum grade box is disabled.
TC16 – Setting the maximum and default grade point values.
Steps
User navigates to Site Administration > Grades > General Settings
User sets the maximum grade point value to 100. and clicks "Save Changes"
User leaves the maximum grade point value at 100, sets the grade point default value to 101, and clicks "Save Changes"
User leaves the maximum grade point value at 100, sets the grade point default value to 90, and clicks "Save Changes"
User sets the maximum grade point value to 80, leaves the grade point default value at 90, and clicks "Save Changes"
User sets the maximum grade point value to 90, leaves the grade point default value at 90, and clicks "Save Changes"
User sets the maximum grade point value to to 85, changes the grade point default value to 80, and clicks "Save Changes"
User sets the maximum grade point value to to 80, changes the grade point default value to 85, and clicks "Save Changes"
User sets the maximum grade point value back to 100, the default grade point value back to 100, and clicks "Save Changes"
Expected Results.
After step 3, a validation error should be shown, stating that the default value cannot exceed the maximum value. The values should not have saved.
After step 4, the values should save successfully.
After step 5, a validation error should be shown, stating that the default value cannot exceed the maximum value. The values should not have saved.
After step 6, the values should save successfully.
After step 7, the values should save successfully.
After step 8, a validation error should be shown, stating that the default value cannot exceed the maximum value. The values should not have saved.
After step 9, the values should save successfully.