Run in parallel with Pabot
Chapter lab: Team tooling
This lesson continues in the same lab as the lesson before it. If you don’t have it yet, download it here.
Download ch25-team-tooling.zip
Or fetch and unpack it from a terminal in VS Code:
curl -fsSLO https://manykarim.github.io/robotframework-essentials-web/labs/ch25-team-tooling.zip && unzip -q ch25-team-tooling.zip && rm ch25-team-tooling.zipInvoke-WebRequest https://manykarim.github.io/robotframework-essentials-web/labs/ch25-team-tooling.zip -OutFile ch25-team-tooling.zip; Expand-Archive ch25-team-tooling.zip -DestinationPath .; Remove-Item ch25-team-tooling.zipOpen the folder in VS Code with code rfe-ch25-team-tooling (or File → Open Folder…) and accept the recommended RobotCode and Python extensions. Then set it up:
uv syncpython3 -m venv .venvsource .venv/bin/activatepip install -r requirements.txtpython -m venv .venv.venv\Scripts\Activate.ps1pip install -r requirements.txtKeep the environment active in every terminal where you run lesson commands.
poetry install --no-rootPython 3.13 or newer is required; uv installs it when it is missing.
Open in browserNo setup? Try the lab right here: its files, an editor and a terminal, running in your browser.
What's inside
Directoryrfe-ch25-team-tooling/
Directory.vscode/
- extensions.json
Directorychecks/
- alpha.robot
- beta.robot
- unformatted.robot
- .gitignore
- .python-version
- LAB.md
- pyproject.toml
- README.md
- requirements.txt
- uv.lock
As a suite grows, a serial run gets slow — each test waits for the one before it. Pabot runs suites (or even individual tests) in parallel, each in its own process, so a run that took a minute serially can finish in seconds.
Pabot is a drop-in: it produces the same output.xml as robot, so all your
reports, rebot, and CI wiring keep working unchanged.
Task 1 — Run the suites in parallel
Section titled “Task 1 — Run the suites in parallel”Run the two clean suites at the same time:
uv run pabot --outputdir results checks/alpha.robot checks/beta.robotpabot --outputdir results checks/alpha.robot checks/beta.robotpoetry run pabot --outputdir results checks/alpha.robot checks/beta.robotBoth suites start at once and finish together:
Pabot runs alpha and beta concurrently and merges their results into one
results/output.xml — covering every test from both suites.
Done when
the parallel run produces a report with all four tests, passing.
Check your understanding
Quick recall. Your first answer stays in this browser; the quiz never blocks your progress.
What does Pabot do?
Pabot parallelises execution and still produces a normal
output.xml.Show the answer
Answer: runs suites/tests in parallel processes — Pabot parallelises execution and still produces a normal
output.xml.After a Pabot run, your reporting…
Pabot is a drop-in:
rebot, logs, and CI wiring work unchanged.Show the answer
Answer: keeps working — it produces the same
output.xml— Pabot is a drop-in:rebot, logs, and CI wiring work unchanged.
Key terms
- pabotcommand
- Run suites/tests in parallel; produces a standard
output.xml.