# Using the Test Harness

Construct 3 offers remote preview, which creates a temporary web server to run your game and can be access from anywhere. The URL provide by the remote preview is what we pass to Legends of Learning test harness, as well as the **`lang.json`** file to test the events flow and the text to speech.

## Step 1. Access you Developer Console and Navigate to the Test Harness section.

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

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

## Step 2. Start Remote-Previewing your game in construct.

<figure><img src="/files/FSSP4VLCgHIUbEOByb6X" alt="" width="335"><figcaption><p>Navigate to Menu -> Remote Preview</p></figcaption></figure>

<figure><img src="/files/vqbkKHbSvP2NzWeVYuGM" alt="" width="369"><figcaption><p>Remove Preview URL</p></figcaption></figure>

{% hint style="info" %}
Copy the URL and maintain the dialog open at all times while testing.
{% endhint %}

## Step 3. Set the URL and language file in the test-harness

Paste the URL and load your language file, set the testing language and press **Load Game**.&#x20;

Note that the "***Select a Learning objective for questions"*** is not required, unless you are using the questions features.&#x20;

{% hint style="warning" %}
Questions are not required in your game, and there's guidelines specific for that topic. Please refer to Legends of Learning documentation for more information.
{% endhint %}

<figure><img src="/files/QKbSV3UyX0PwwO1EGeUY" alt=""><figcaption><p>Provide the necessary information in the test harness.</p></figcaption></figure>

Once complete, press **Load Game** and the preview will start. Press the ***View Message Logs*** to display the log messages flowin from LoL's backend to your game.&#x20;

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

Now you are ready to test your game within the harness as long as you maintain the preview mode window open in construct.


---

# 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://smartui-docs.pixelperfectstudio.mx/miscellaneous-addons/legends-of-learning-plugin/using-the-test-harness.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.
