How to configure Test Modeller for an Automation framework, in this case Java Selenium.

Configure for creating Automation

Edit code templates for any Automation generation

Configurable code templates, editing them for the framework is essential

Configure Test Modeller to use that Automation Framework:

Starter frameworks out-of-the-box including:

  • Download the Java Seleium framework: Underlying Java Framework and Code Templates.

Register the templates (in this case Java Selenium):

Go to Workspace > Configuration > Select Code Template > (Update an existing one or import).

  • Search for and import PageObject.json

  • Search and import TestCase.json (Code Template)

Rename as required. Test Modeller is now configured.

  • Look at the code and see the code for Java plus codes embedded for Click, Select and SendKeys etc.

Register the framework in Test Modeller:

Click and specify a New Framework (ie, Java Tutorial Framework). Then select the previous PageObject and Code Template just imported.

You can specify a Git Connector, (see clip: …) and also Execution whenever any code is published (see clip:…)

Create a project:

GO to Management > Project & Releases > New Project > (specify Name) > Select the Framework (just created) > Bind an Automation Server (the communicty server or one of your own). Save. Now the project is linked to the Automation framework.

  • Create models

  • Upload Page Objects from the UI Scanner

Each using the Code Templates just defined.

Edit Code Templates:

Because an Automation Framework has been edited, or you have a bespoke framework.

  • Manipulate and change the import statements or any underlying code.

  • Add in custom Actions

Any associated Projects will be updated to use the new Templates for any future Test Generation.