Uploaded image for project: 'Moodle QA'
  1. Moodle QA
  2. MDLQA-1 Moodle QA testing
  3. MDLQA-144

A group enrolment key may be used to automatically add users to the group

    XMLWordPrintable

Details

    Description

      This test requires a course in which self-enrolment is allowed and for which an enrolment key has been set and 'Use group enrolment keys' is set to Yes.

      1. Log in as a teacher, access a course and follow the groups link either via the gear menu or the Administration block (depending upon your theme).
      2. Create a group and set a group enrolment key.
      3. Log in as user1 (not yet enrolled in the course) and enrol in the course by supplying the course enrolment key.
      4. Log in as user2 (not yet enrolled in the course) and enrol in the course by supplying the group enrolment key.
      5. Log in as the teacher again, access the participants page and check that user2 is a member of the group whereas user1 is not.

      This test may be run on http://qa.moodle.net/ by creating a group in the Activity examples course then logging in as student6 and student7 (both with password 'test').

      Attachments

        Activity

          People

            Unassigned Unassigned
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: