Quick Start

2figures
3min read
Sheet 4 of 47 · Getting Started

This sheet takes a fresh install to one recorded scenario that plays back green. You need the tool running (see Installation) and a Paper server on 1.21.4 to 1.21.11, either one the tool starts or one you already run. The first start asks for your license key once, see License & Machine Slots.

A first start with no scenarios opens Start here, a sheet with the same three things in it: the server, a bot and a first recording. Follow it, or follow the steps below. Later it opens again from the command palette.

Start here, shown on a first start with no scenarios.
The Start here sheet over the Live screen, with three numbered steps: point the tool at your server, put a bot on it, record a scenario

First run

  1. Get a server up

    To let the tool run the server, press Start server on Live. When the folder is not set yet it asks for it in place; the server folder and jar are kept under Settings > Test server. To use a server you run yourself, keep it running and point the bots at its address: Settings > Bots, or the Bots header. Offline bots need online-mode=false; for an online-mode server add a premium account first, see Premium Accounts.

  2. Add a bot

    Press Add a bot on Live, or Add bot on the Bots page. A bot is a player the tool plays, and its name is 3 to 16 letters, digits or _. Once it is on the server it shows up as a screen on the Live wall, and the bots lamp in the signal chain turns green.

  3. Record

    Open Tests > Scenarios and press Record. It asks for a bot, a file name and whether clicks find items by name or by slot. Then play the bot on Bots or Live, or take it over and play in Minecraft. Commands, menu clicks and closes become steps, every menu that opens becomes a check, and each command starts a section.

  4. Add checks as you go

    Add a check in the red recording bar adds what must be true right now: the open menu, an item in it or a line the bot saw in chat. The steps show up while it records.

  5. Stop and save

    Stop and save writes the file and opens it as a list of steps in plain sentences. Throw away keeps nothing.

  6. Run it

    Press Run on the Scenarios page. Each step gets a tick or a cross as it plays, and the run side starts with how many steps passed. Run all tests on Live plays every file top to bottom.

A recorded scenario on the Scenarios page, ready to run.
The Scenarios page: the file list on the left, a recorded file as numbered steps in plain sentences, and the Record, Run and Run all keys at the top

When a step fails

The failed step is marked with a cross. Play slowly waits a second before every step and shows what the bot sees next to the steps: its open menu and its last chat lines. History keeps every run, and What changed sets a run against the last one that passed. More in Debugging & History.

Run it from a shell

The same file runs without touching the window, against the tool that is already open. suite/ stands for your scenario folder, a single file works too:

java -jar IgniteTestTool-1.3.0.jar run suite/
java -jar IgniteTestTool-1.3.0.jar last

run prints one line per file and, under a failed one, the step, the steps before it, what the bot saw and the server errors. See Short Loop & Result Cache.

Where to go next

Loading the index

Enter openUp Down moveEsc close