[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @gradeexport @gradeexport_xml 2 Feature: I need to export grades as xml 3 In order to easily review marks 4 As a teacher 5 I need to have a export grades as xml 6 7 Background: 8 Given the following "courses" exist: 9 | fullname | shortname | category | groupmode | 10 | Course 1 | C1 | 0 | 1 | 11 And the following "users" exist: 12 | username | firstname | lastname | email | idnumber | 13 | teacher1 | Teacher | 1 | teacher1@example.com | t1 | 14 | student1 | Student | 1 | student1@example.com | s1 | 15 And the following "course enrolments" exist: 16 | user | course | role | 17 | teacher1 | C1 | editingteacher | 18 | student1 | C1 | student | 19 And the following "activities" exist: 20 | activity | course | idnumber | name | intro | 21 | assign | C1 | a1 | Test assignment name | Submit something! | 22 And I log in as "teacher1" 23 And I follow "Course 1" 24 And I navigate to "Grades" node in "Course administration" 25 And I turn editing mode on 26 And I give the grade "80.00" to the user "Student 1" for the grade item "Test assignment name" 27 And I press "Save changes" 28 29 @javascript 30 Scenario: Export grades as text 31 When I navigate to "XML file" node in "Grade administration > Export" 32 And I expand all fieldsets 33 And I set the field "Grade export decimal points" to "1" 34 And I press "Download" 35 Then I should see "s1" 36 And I should see "a1" 37 And I should see "80.0" 38 And I should not see "80.00"
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Thu Aug 11 10:00:09 2016 | Cross-referenced by PHPXref 0.7.1 |