[ Index ] |
PHP Cross Reference of Unnamed Project |
[Summary view] [Print] [Text view]
1 @qformat @qformat_webct 2 Feature: Test importing questions from WebCT format. 3 In order to reuse questions from am obsolete commercial LMS 4 As an teacher 5 I need to be able to import them in WebCT format. 6 7 Background: 8 Given the following "courses" exist: 9 | fullname | shortname | format | 10 | Course 1 | C1 | topics | 11 And the following "users" exist: 12 | username | firstname | 13 | teacher | Teacher | 14 And the following "course enrolments" exist: 15 | user | course | role | 16 | teacher | C1 | editingteacher | 17 And I log in as "teacher" 18 And I follow "Course 1" 19 20 @javascript @_file_upload 21 Scenario: import some WebCT questions 22 When I navigate to "Import" node in "Course administration > Question bank" 23 And I set the field "id_format_webct" to "1" 24 And I upload "question/format/webct/tests/fixtures/sample_webct.txt" file to "Import" filemanager 25 And I press "id_submitbutton" 26 Then I should see "Parsing questions from import file." 27 And I should see "Importing 6 questions from file" 28 And I should see "What's between orange and green in the spectrum?" 29 When I press "Continue" 30 Then I should see "USER-3"
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 |