Recorder Export Template
Updated Nov 2026

Documentation › Recorder Export Template

Export Template in the MaxTAF Recorder

New in Recorder 2.1.0  Use your own case file around the steps you record.

The MaxTAF Recorder is the Chrome extension that records what you do in IBM Maximo and exports it as an MXML test case. In version 2.1.0 you can give it your own case file, an export template, to wrap the recorded steps. The recorder puts the case name and the steps into your file and uses the rest of it as you wrote it. Your exported cases then have your team's set-up, tear-down and reporting in place when they arrive.

On this page

What it is

Each case the recorder exports has two parts: the steps you recorded, and the case code around them. The case code is the <testCase> element, the set-up that starts the browser and the reporter, and the tear-down that closes them. Before 2.1.0 the case code was the recorder's built-in layout. With an export template, you supply it.

A template is an ordinary .mxml file with two placeholders:

The recorder uses all other text in the file as written. You set the template in Configuration ▸ Export & Run params ▸ Export Template.

The shape of a template (the built-in one, shortened. Use Download to get the full file)

<testCase name="{{testname}}" xmlns="http://www.maxtaf.com" xmlns:ui="http://www.maxtaf.com/ui" ...>
  <beforeTestCase>
    <initializeApi />
    <ui:createDriver>
      <ui:timeout>20</ui:timeout>
    </ui:createDriver>
    <ui:javaScriptExecutor />
    <addReporter type="xml" name="Test Title" description="Test Description" class="Test Class" author="Author" />
  </beforeTestCase>
  <test name="test{{testname}}">
    <addTestReport name="test{{testname}}" />
    <ui:maximizeWindow />
    {{script}}
    <testReportStatus>PASSED</testReportStatus>
  </test>
  <afterTestCase>
    <ui:close />
    <closeReporter />
  </afterTestCase>
</testCase>

To make it your own, you edit this file. For example, you put your report details into <addReporter>, or you add your standard opening steps above {{script}} and your closing steps below it.

Why we built it

Many teams that test Maximo have a standard way to start and finish a case. This can be a particular login, a report header with the team's names in it, a parameter that each case reads, or a company convention for how a case is laid out. A recorded case gives you the steps quickly. But if your conventions are different from the recorder's layout, someone must open each exported case and add them by hand. That is the same edit on each case, and it is easy to forget one.

Case written by handRecorded case, built-in layoutRecorded case, your export template
Time to create the stepsSlower: each step written and its locator foundFast: recorded as you workFast: recorded as you work
Follows your house conventionsYes, written in by the authorOnly after you add themYes, from your template
Edits after exportNot applicableYour standard blocks, added to each caseOnly changes to the steps

A hand-written case follows your conventions, but it takes time to write. A recorded case is fast, but it comes out in the recorder's standard layout. An export template gives you both: the recorder supplies the steps, and your file supplies the conventions.

Your conventions in each case. Recording speed kept.

How to get started

  1. Download a starting point. In the recorder, open Configuration ▸ Export & Run params and find Export Template. The status line shows Using the default template. Click Download to get the built-in template as export-template.mxml.
  2. Edit the file. Add your set-up, tear-down and report details. Keep exactly one {{script}} and the <testCase> element.
  3. Upload it. Click Upload .mxml and choose your file. The file must be valid MXML, saved as .mxml and not .xml, because an .xml file causes problems in MaxTAF. The recorder checks that the file has exactly one {{script}} and a <testCase>. If a check fails, the recorder shows The template was not saved. and the reasons, and keeps the template it had. If the file passes, the status line shows Using a custom template: your-file.mxml (uploaded <date and time>).
  4. Record and export as usual. Export Case (whether it uploads to MaxTAF or only saves a file) and the MaxTAF-for-Maximo .mxml download now use your template. To go back to the built-in layout, click Use default.
Worth knowing

The template applies in Maximo recording mode only. Copy all as MXML copies the steps only, without the template.

The template is kept in the recorder in your own browser. It is not shared with other users, so each person on the team uploads the file. Download gives you the template in use, so you can pass it on.

The built-in template includes the namespaces from the Custom Namespaces setting. When you download the built-in template, the namespaces from that setting are already written into it. A custom template uses the namespaces written in your file. If you change that setting later, update your file too.

The automated case creation that MaxTAF's AI tester uses also applies a stored template, but a template cannot be set through those automated commands.

Keep a copy of your template file. If you update the recorder by replacing its files and clicking Reload, the template stays. If you remove the recorder from Chrome, or load a new version from a different folder, upload the file again.

Artefacts

Setting up a template, step by stepRecorder Guide — Using your own export template
All recorder settingsRecorder Guide — Settings reference
The MXML languageMXML Reference
Also in Recorder 2.1.0Stored variables you can reuse · Parameters in typed values