---
title: "Automation Configuration"
slug: "automation-configuration"
description: "Learn how to configure Test Modeller for an automation framework, in this case Java Selenium."
tags: ["Test Modeller", "Feature Overviews"]
updated: 2024-09-27T15:01:03Z
published: 2024-09-27T15:01:03Z
canonical: "knowledge.curiositysoftware.ie/automation-configuration"
---

> ## 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.

# Custom Framework - Automation Configuration

Learn how to configure Quality Modeller for an automation framework, in this case Java Selenium.

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

- Configure for creating automation
- Edit code templates for any automation generation
- Configurable code templates, editing them for the framework is essential

Over at [https://github.com/orgs/CuriositySoftwareIreland/](https://github.com/orgs/CuriositySoftwareIreland/) we’re using one of the starter frameworks we support.

Here we’re downing Java Selenium Framework.

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

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

First download and unzip the *Java Seleium Framework* which has the underlying Java Framework and Code Templates.

You’ll see the *Framework*folder contains scr and pom.xml. The json Code Templates we will use are located: Code Templates >*Java Selenium*.

**Next, we’re ready to use a starter framework out-of-the-box to configure Quality Modeller for Automation.**

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

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

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

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

**To register the 2 Code Templates (Java Selenium)**Go to Workspace > Configuration > *Select Code Template* > (Update an existing one or Import).

The Code Templates window is divided into Automation Frameworks and Code Templates. You’ll be importing into Code Templates. Then creating a New Framework in order to register them.

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

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

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

Click Import and Browse > *PageObject.json.* Hit green Import button to confirm. Then repeat for *TestCase.json*.

Now, both Code Templates appear in the Code Template Library.

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

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

Rename as required by hitting the blue pencil icon. Quality Modeller is now configured. Here we renamed them *Java Selunium Tutorial.*

To see the undeylying Code Template click the name, and this reveals the Code Template Items: both Code and Functions. Included are *Click, Select, Embed* and *SendKeys*etc.

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

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

**Now to actually register the framework in Quality Modeller.**Click and specify a New Framework (ie, Java Tutorial Framework). Name the framework, verify the language, then select the currently imported *Page Object* and *Code Template*.

Then clip Next Step where*Git Connector* can be specified and also an *Execution on Publish* of code (not covered here). Hit *Save*and the Automation Framework is registered, ready to create a project.

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

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

**Create a project:**In the left context menu under Management > Project & Releases > New Project > (specify Name) > Select the Framework (just created) > Bind an Automation Server (the community server or one of your own). Hit Save.

Now the project is linked to the Automation Framework.

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

Now set-up, it’s at this point you can create Models or generate and upload Page Objects from the UI Scanner. Check out more documentation on [**the UI Scanner here.**](/v1/docs/test-modellers-scanner) Whichever way, each will use the Code Templates just defined.

**Edit Code Templates.**To do so in the left context menu again under *Management*select Configuration. You can change any of the import statements or underlying code. Also add in Custom Actions. To do so, click *+Add Item* and use the *Details, Parameters, Return*and *Code Template*tab to modify it. Any associated *Projects*will be updated to use the new templates for any future *Test Generation*.

**Note:***Using your own Automation Framework, you can easily access modify a particular Code Template: Page Objects and Test Generation.*

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

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

Quality Modeller is Curiosity's flow-driven model-based tool which provides a range of accelerators and connectors for building flowcharts rapidly. Align all stakeholders to quality outcomes and create critical assets early, delivering superior software at speed.

A Model is a canvas and the Flow that is built onto it. There are several types of Model, some of which display different tabs and tools on the toolbar in Quality Modeller.

Quality Modeller has a UI Scanner which can be downloaded as a Browser Extension and be used to quickly scan and create models from web pages. The UI Scanner creates page object models at the click of a button. The page objects can then be called from models in Modeller, quickly and simply automating the test cases associated with that model.

## Related

- [Automating Tests](/automating-and-executing-tests-in-test-modeller.md)
- [Quality Modeller 101](/test-modeller-101.md)
- [Quality Modeller](/get-started-with-test-modeller.md)
- [QuickStart Tutorials](/quickstart-tutorials-1.md)
