---
title: "Import and Generate Page Objects to/from JSON"
slug: "import-and-generate-page-objects-tofrom-json"
description: "In this Test Modeller feature video, learn how to import and export JSON page objects!"
tags: ["Test Modeller", "Feature Overviews"]
updated: 2024-09-27T14:10:15Z
published: 2024-09-27T14:10:15Z
---

> ## Documentation Index
> Fetch the complete documentation index at: https://knowledge.curiositysoftware.ie/llms.txt
> Use this file to discover all available pages before exploring further.

# Import and Generate Page Objects to/from JSON

In this Quality Modeller feature video, learn how to import and export JSON page objects!

[Embedded content](https://www.youtube.com/embed/Nt8aCU0JIBs?&amp;wmode=opaque&amp;rel=0)

For some automation frameworks, page objects are stored in JSON, with the underlying implementation code within the language of choice for the automation framework.

Therefore, page objects can often be external, stored in some form of definitions.

In **Quality Modeller**, you can import these **JSON objects.** To get started with this process, navigate to the **Explorer**, and hit the grey **Import button** on the top left.

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680691537379.png)

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680691526204.png)

This will open a drop-down, select the**Code Page Object** option. This opens the**Code Import wizard.**

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680691521776.png)

In the **Code Import wizard,** you can browse files, select your **JSON file** and then hit **import.**

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680691517841.png)![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680691514555.png)

Once the import is complete, you will find your import in a new folder in **Explorer.**In this folder you will find your scanned page objects, JSON definition and in our example a Java page object.

The Java page object utilises the JSON file to interact with webpages, using [**Quality Modeller’s UI Scanner.**](/v1/docs/test-modellers-scanner)

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680691510542.png)

![](https://cdn.document360.io/77f722a6-2d0a-49fa-8074-572515a6c4b8/Images/Documentation/image-1680691506614.png)

## Related

- [Quality Modeller 101](/test-modeller-101.md)
- [Automating Tests](/automating-and-executing-tests-in-test-modeller.md)
