STSTAT-01 Site Statistics tool

name:

Site Statistics Tool

purpose:

Test Procedure to verify that an Instructor can view the recent activity for a particular site and generate a report on it

expected result:

User should be able to view the recent activity for a particular site

test data:

 

dependencies:

Course site with (1) instructor

setup:

 

start at:

My Workspace; login as an Instructor

Step ID

Action

Expected Result

1.

Select the Site Setup link

User directed to sites index

2.

Select the site link for Course site

User directed to the site home page

3.

Select the Site Statistics link

User directed to the Site Statistics Overview page where the user can see an Overview for Visits, Activity and Resources

4.

Select the Reports link

User directed to the Reports page

5.

Select the +Add link

User directed to a New Report page showing options for What, When, Who and How

6.

Create a report with the following information:
What: Events
When: (leave as default - Last 7 days)
Who: Select Role > Instructor
How: (leave as default)
and select Table & Chart from the Presentation drop down, leave the rest of the options as default.
Select the Generate Report button

User directed to the Report page where a Bar graph and a Table are visible

7.

Select the Export -> button

An AJAX form of buttons emerges allowing for Export XLS, Export CSV, or Export PDF

8.

Select the Export PDF button

A File Download window appears prompting user to download the PDF to their desktop.

9.

Open the file

The file will show a table that matches the information in the UI, the graph will not be shown

10.

Go back to the browser

User should still be at the Report page

11.

Follow Step 7, select the Export CSV button

A File Download window appears prompting user to download the CSV file

12.

Open the file

The file will show a comma separated list with the following data:
User ID,Name,Event,Date,Total

13.

Go back to the browser

User should still be at the Report page

14.

Follow Step 7, select the Export XLS button

A File Download window appears prompting user to download the XLS file

15.

Open the file

The file will show a spreadsheet with the following columns:
User ID,Name,Event,Date,Total

16.

Go back to the browser

User should still be at the Report page

17.

Select Graph on the screen

User directed to a new page that shows only the graph without the table

18.

Select the Back button

User directed back to the Report page

19.

Select the Printable version link

A new window/tab opens showing a print view

20.

Select the Send to printer link

If the computer is setup to use a printer a Print window opens

21.

Select the Cancel button

Print popup dialog closes

22.

Close the Print view window/tab

User should still be at the Report page

23.

Select the Back button

User directed back to the New Report page

24.

Under What? select Events from the drop down. Choose Select by tool from the drop down. Enter the following for the remaining options:
For the tool selection box, choose Announcements
When: All
Who: All
Select the Generate report button

User directed to a new Report page for Events by the Announcement Tool for all users for all time. There should only be a table display

25.

Select the Back button

User directed back to the Reports options page

26.

Under What? select Resources from the drop down

Page refreshes and a couple new options are opened: Limit to action, and Limit to resources

27.

Leave the rest of the options as default.
Select the Generate report button

User directed to the Report page for Resources for all time for all users. There should only be a table display

28.

Select the Preferences link

User directed to the Preferences page where an Activity Definition column has a list of Tools/events with checkboxes next to them

29.

Under Activity definition column, uncheck the Announcements checkbox
Select the Update button

Page will refresh with notification: Preferences updated successfully

30.

Select the Announcements link from the Course tool list

User directed to the Announcements page

31.

Select the Add link

User directed to the Add Announcement page

32.

Enter the following:
Announcement title: Testing Stats
Body: And preferences
Select the Add Announcement button

User directed to the Announcements page where the recently added announcement should be visible

33.

Select the Site Statistics link

User directed to the Site Statistics page

34.

Select the Reports link. Select the +Add link

User directed to the New Report page

35.

Under What? select the Events radio button

Page refreshes to display the Tools select box

36.

Select the Announcements tool
Select the Generate report button

User directed to the report page. Note that the recent announcement events SHOULD NOT appear (as per the preferences)

finish at: Site Statistics Events page