ST.Activity.User and Site Preparation

Activity: User and Site Preparation

Description

In this activity, the System Administrator logs in and creates users, sites, and adds other preparatory data for subsequent tests. Once the test users have been created, they will be able to log in to the application.

Role(s)

System Administrator

Dependencies

Test Preparation

Time required

~45 min.

Test Scripts

  • ST.Script.01.Add Test Users — The system administrator creates the user accounts that will be required for the rest of the testing scripts.
  • ST.Script.02.Add Sites — The system administrator creates the sites that will be required for the majority of the system tests.
  • ST.Script.03.Add Maintainers — The Administrator adds appropriate test users as maintainers in appropriate sites.

All scripts in this activity are displayed in-line below for convenience. Use the links above to view a single script at a time.

Add Test Users

As of September 19, 2011

Please do not use the scripts below.  The OSP test scripts have been moved to a public Google Docs spreadsheet, which is available at: https://docs.google.com/spreadsheet/ccc?key=0AldPCURzarLgdDY0TmJxcFV1R3hQaHZyWXRUbUpTRlE&hl=en_US#gid=0. This will allow concurrent editing of each script and easier documentation and tracking of results.

Script Information

Description

The system administrator creates the user accounts that will be required for the rest of the testing scripts.

Role(s)

System Administrator

Special skills required to run test

None

Dependencies

ST.Script.01.Access OSP

Time required

~ 15 min

Last Updated

Checked for 2.8 on 10/14/10 

Testing Steps

Step

Action

Expected Result

1

Log in administrator account. In top-right corner of 'Welcome' page enter:
user id: 'admin'
password: '<password>' (Get current admin password from Sakai QA)
Click the Log in button.

Administrator MyWorkspace Home page displays.

2

Select Users from the menu to the left.

Display Sakai Users page with list of users.

3

Select New User link.

Account Details form displays with blank fields.

4

Complete account details using System Test User #1 then select Save details button on bottom of the form.

Account successfully created. Users page displays with list of users including the user you created.

5

Repeat steps 3 and 4 for each of the following users (don't repeat Portfolio Owner #1, don't try to add System Administrator):

System Test Users

Site Participant #1

Plays the Site Participant role
user id = 'mdora',
first name = 'Moreen',
last name = 'Dora',
email = 'moreen.dora@osportfolio.org',
password = 'moreen',
type = 'registered'

Site Participant #2

Plays the Site Participant role
user id = 'njarrett',
first name = 'Newton',
last name = 'Jarrett',
email = 'newton.jarrett@osportfolio.org',
password = 'newton',
type = 'registered'

Site Participant #3

Plays the Site Participant role
user id = 'zmortimer',
first name = 'Zach',
last name = 'Mortimer',
email = 'zach.mortimer@osportfolio.org',
password = 'zach',
type = 'registered'

Instructor

Plays the Site Coordinator role (which includes reviewing and evaluating)
user id = 'kfoster',
first name = 'Kayla',
last name = 'Foster',
email = 'kayla.foster@osportfolio.org',
password = 'kayla',
type = 'registered'

Program Administrator

Plays the Program Administrator role
user id = 'dschmidt',
first name = 'Deaton',
last name = 'Schmidt',
email = 'deaton.schmidt@osportfolio.org',
password = 'deaton',
type = 'registered'

Guest Reviewer

Plays the Guest Reviewer role
user id = 'epenn',
first name = 'Earl',
last name = 'Penn',
email = 'earl.penn@osportfolio.org',
password = 'earl',
type = 'registered'

Guest Evaluator

Plays the Guest Evaluator role
user id = 'cowens',
first name = 'Clay',
last name = 'Owens',
email = 'clay.owens@osportfolio.org',
password = 'clay',
type = 'registered'

Users page displays each time with list of users including the user you just created.

Next Script: ST.Script.02.Add Sites

Return to OSP Testing home page: OSP Test Scripts

Script Resources

  File Modified

File ST_Script_01_AddTestUsers Selenium Script for this step

May 04, 2007 by Former user

Add Sites

As of September 19, 2011

Please do not use the scripts below.  The OSP test scripts have been moved to a public Google Docs spreadsheet, which is available at: https://docs.google.com/spreadsheet/ccc?key=0AldPCURzarLgdDY0TmJxcFV1R3hQaHZyWXRUbUpTRlE&hl=en_US#gid=0. This will allow concurrent editing of each script and easier documentation and tracking of results.

Script Information

Description

The system administrator creates the sites that will be required for the majority of the system tests.

Role(s)

System Administrator

Special skills required to run test

None

Dependencies

ST.Script.01.Add Test Users, still logged-in as Administrator

Time required

15 min.

Last Updated

for 2.8 on 10/14/10

Testing Steps

Create Portfolio Site

Step

Action

Expected Result

1

In 'My Workspace', select Worksite Setup from the main Sakai menu on the left.

Displays Sakai Worksite Setup page with list of sites.

2

Select New button.

'Site Type' form displays.

3

Select the portfolio site radio button and click the Continue button.

'Portfolio Site Information' form displays with blank fields.

4

Fill in all fields using portfolio site details then select Continue button on bottom of the form.

'Site Tools' form displays

5

Select the checkboxes next to the tools listed in portfolio site details then select the Continue button.
verify the names and descriptions of the tools

Depending on the tools chosen, either the 'Project Site Access' or the 'Add Multiple Tool Instances' form displays

6

In the Project Site Access form, ensure that the Publish Site box is checked and select the Continue button.
NOTE: If you have installed the Email Archive tool, the Add Multiple Tool Instances form appears first, before you get to the 'Project Site Access' form. For the Site email address, enter TestProject or a similar unique name and click the Continue button.

Read only 'Confirm Your Project Site Setup' page displays.

7

Select Create Site button.

Worksite Setup page with list of sites re-appears, including site you just created.

8

Verify the default tool permissions for each tool in the site.

Tool permissions should match the design.

Create Project Site

Step

Action

Expected Result

1

In 'My Workspace', select Worksite Setup from the main Sakai menu on the left.

Displays Sakai Worksite Setup page with list of sites.

2

Select New button.

'Site Type' form displays.

3

Select the project site radio button and click the Continue button.

'Project Site Information' form displays with blank fields.

4

Fill in all fields using project site details then select Continue button on bottom of the form.

'Project Site Tools' form displays

5

Select the checkboxes next to the tools listed in project site details then select the Continue button.
verify the names and descriptions of the tools

Depending on the tools chosen, either the 'Project Site Access' or the 'Add Multiple Tool Instances' form displays

6

In the Project Site Access form, ensure that the Publish Site box is checked and select the Continue button.
NOTE: If you have installed the Email Archive tool, the Add Multiple Tool Instances form appears first, before you get to the 'Project Site Access' form. For the Site email address, enter TestProject or a similar unique name and click the Continue button.

Read only 'Confirm Your Project Site Setup' page displays.

7

Select Create Site button.

Worksite Setup page with list of sites re-appears, including site you just created.

8

Verify the default tool permissions for each tool in the site.

Tool permissions should match the design.

Create Course Site

Step

Action

Expected Result

1

In 'My Workspace', select Worksite Setup from the main Sakai menu on the left.

Displays Sakai Worksite Setup page with list of sites.

2

Select New button.

'Creating a new site' form displays on page where user can choose the type of site.

3

Select the course site radio button

The 'Academic term' drop down becomes visible.

4

Select an Academic term and click Continue

The 'Course/Section Information' page displays

5

Click the 'Still cannot find your course/section?' link

Fields for 'Subject', 'Course', 'Section' and others display

6

Enter a Subject such as Bus, a Course, such as 101, and a Section, such as 001
In the Authorizer's username enter your username
Click Continue

The 'Course Site Information' page displays.

7

Fill in all fields using course site details then select Continue button on bottom of the form.

'Course Site Tools' form displays

8

Select the checkboxes next to the tools listed in course site details then select the Continue button.
verify the names and descriptions of the tools

Depending on the tools chosen, either the 'Course Site Access' or the 'Add Multiple Tool Instances' page displays

9

If the Add Multiple Tool Instances form appears, for the Site email address, enter TestCourse or a similar unique name and click the Continue button.
In the Course Site Access form, ensure that Publish Site box is checked and select the Continue button.

Read only 'Confirm Your Course Site Setup' form displays.

10

Select Request Site button

The Worksite Setup page with list of sites re-appears, including site you just created.
You should immediately receive an email asking for permission to create the site. You can ignore this email.

Needs set up Portfolio site instructions for 2.7 using portfolio site details

Next script: ST.Script.03.Add Maintainers

Return to OSP Testing home page: OSP Test Scripts

Script Resources

  File Modified

File ST_Script_02_Add_CIGs Selenium Script for this step

May 04, 2007 by Former user

Add Maintainers

As of September 19, 2011

Please do not use the scripts below.  The OSP test scripts have been moved to a public Google Docs spreadsheet, which is available at: https://docs.google.com/spreadsheet/ccc?key=0AldPCURzarLgdDY0TmJxcFV1R3hQaHZyWXRUbUpTRlE&hl=en_US#gid=0. This will allow concurrent editing of each script and easier documentation and tracking of results.

Script Information

Description

The Administrator adds appropriate test users as maintainers in appropriate sites.

Role(s)

 

Special skills required to run test

None

Dependencies

Previous scripts executed in sequence.

Time required

~15 minutes

Last Updated

Updated for 2.8 on 10/19/10

Testing Steps

Step

Action

Expected Result

1

Select Portfolio Admin tab. If it is not present, select My Active Sites instead.

If 'Portfolio Admin' tab was present, the 'Portfolio Admin' site displays. Otherwise a list of Administration sites appears.

2

Select Portfolio Admin site link from the list.

Portfolio Admin 'Site Information Display' appears.

3

Select Site Info from the left-hand menu

'Site info' tool appears.

4

Select the Add Participants tool action.

'Add Participants' form appears.

5

In the Official Email Address or Username text area add 'dschmidt'
Ensure Assign all participants to the same role is selected.
Select 'Continue'

Choose a role form appears.

6

Choose Program Admin and select Continue.

Email notification screen displays.

7

Ensure that Don't send... is selected and select 'Continue'

Confirmation page appears with Deaton Schmidt in the list with a single entry.

8

Select Finish

Site Info page appears with Deaton Schmidt listed with the appropriate role.

9

Select Test Project tab. If it is not visible, select My Active Sites and select it there

Test Project Site Home appears.

10

Repeat steps 3-8 using:
- 'kfoster' in place of 'dschmidt' in step 5.
- Program Coordinator in place of Program Admin in step 6.

 

11

Repeat steps 3-8 for kfoster as instructor in the course site and CIG Coordinator in the portfolio site.


Script Resources

  File Modified

File ST_Script_03_Add_Maintainers Selenium Script for this step

May 04, 2007 by Former user