# Online Testing

{% embed url="<https://www.youtube.com/watch?t=1084s&v=98LKgphFSCY>" %}

Online Testing Addon allows you to paste any quizzes through the shortcode to any page.

### Benefits of Online Testing Addon

* **Flexibility** – Quizzes can be embedded on **any page**, enhancing user accessibility and experience. This allows seamless integration of assessments into course content, promotional pages, or informative sections.
* **Engagement** – Embedding quizzes directly within content increases interaction and user engagement. It encourages prospective students to participate actively, making the learning process more dynamic and appealing.
* **Privacy** – Test results are private and **accessible only to students**, fostering a secure environment for self-evaluation. This builds trust among users who prefer to assess their skills without external judgment.
* **Self-Assessment** – Students can independently evaluate their knowledge and skills through one-time quizzes. It provides valuable feedback without pressure, helping learners identify areas for improvement on their own.
* **Conversion** – Quizzes help potential students assess their readiness for courses, aiding in their decision-making process. This can lead to higher enrollment rates as users feel more confident about their choices.

## How to use it?

You can enable the Online Testing addon in the **MasterStudy LMS > LMS Settings > Addons** section of the WordPress dashboard menu.

<figure><img src="/files/rjbEPD7sy1M5126PpXj2" alt=""><figcaption></figcaption></figure>

By clicking on the **Gear icon** you will find a shortcode that you need to use to paste a quiz to any page.

![](https://gblobscdn.gitbook.com/assets%2Fmasterstudy-theme-documentation%2F-MDUkedOkTL5xCgSlPaR%2F-MDUqwqP8MdaFa8VcALF%2F103776295.png?alt=media)

Go to the Quizzes page and add a new Quiz (see this article to learn how to create and add quizzes)

{% hint style="info" %}
Create a quiz and insert a shortcode with quiz ID on a page. Shortcode: `[stm_lms_quiz_online id=QUIZ_ID_HERE]`
{% endhint %}

On the Quiz editing page from your right, you can see the **Online Testing** with the ready-to-use shortcode. Just copy the shortcode and paste it to the page.

![](https://gblobscdn.gitbook.com/assets%2Fmasterstudy-theme-documentation%2F-MDUkedOkTL5xCgSlPaR%2F-MDUqwqQyRffZ-XnN5jx%2F103776301.png?alt=media)

Alternatively, you can find the shortcode of the quiz in the [**course builder**](/masterstudy-theme-documentation/lms-courses-features/masterstudy-theme-manual-course-builder.md) as well:

<figure><img src="/files/dMoQPKzLJvfyFcTZ7dbR" alt=""><figcaption></figcaption></figure>

Using any page editors (Gutenberg, Elementor, WP Bakery, etc) just paste the copied shortcode to any place:

<figure><img src="/files/dxNjkRtUPEJZ5C8BB10S" alt=""><figcaption></figcaption></figure>

{% hint style="danger" %} <mark style="color:red;">**IMPORTANT**</mark>

You **can not** use this shortcode inside of your [**lesson content**](/masterstudy-theme-documentation/lms-courses-features/masterstudy-theme-manual-lessons.md), for instance in [**Text Lessons**](/masterstudy-theme-documentation/lms-courses-features/masterstudy-theme-manual-lessons.md#text-lesson)!

***

Instead, you have to create **a separate lesson** with the [**Quiz Lesson Type.** ](/masterstudy-theme-documentation/lms-courses-features/masterstudy-theme-manual-quizzes.md) In that case, you can also view the [**student's answers** ](/masterstudy-theme-documentation/lms-courses-features/masterstudy-theme-manual-quizzes.md#quiz-review)for the quiz as well.
{% endhint %}

On this particular page, there will be a quiz that you can start and finish.

<figure><img src="/files/C8SFuGUBmQEkGHmYb8rD" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Users can pass the quiz that has been embedded with the Online Testing addon **only once.**
{% endhint %}

<figure><img src="/files/AiRo4YyluLchWK7MpMSC" alt=""><figcaption></figcaption></figure>

{% hint style="info" %}
Please note that Quiz results are connected to the user’s IP address, which is why the result will be the same in different browsers.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.stylemixthemes.com/masterstudy-theme-documentation/masterstudy-lms-pro-addons/masterstudy-theme-manual-online-testing.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
