Why Python, and What Changes with AI
Why This Matters
Ten years ago, “Python for testers” meant learning the language first: variables, loops, classes, and only then your first test. In the AI era that order no longer makes sense. An AI assistant writes a working Python function in seconds. What it cannot do is decide what the function should do, or prove that it does.
Python is the language of automation
Most of the automation that companies are building right now is Python:
| Kind of automation | Typical Python |
|---|---|
| AI agents and LLM calls | API clients, prompt handling, parsing answers |
| Document processing | Reading emails, PDFs and spreadsheets |
| Integrations | Moving data between a webshop, an ERP and a CRM |
| Robotic process automation | Scripts and robots for systems without an API |
| Tests | pytest, requests, Playwright for Python, Robot Framework |
That is why this course is not about Python syntax, but about one realistic automation and how to prove it works.
From building to judging
AI makes building cheap. That shifts the valuable skills:
| Before AI | With AI |
|---|---|
| Learn the language for weeks before doing anything useful | Read code with AI as your explainer from day one |
| The hard part was writing the code | The hard part is knowing whether the code does the right thing |
| Automation was built by developers, tested by testers | Testers build automation, because testing is the hard part |
Testers are well placed for this. You already think in cases, boundaries and failure. An automated business process needs exactly that: what happens with a strange email, a changed price, a missing date, an ERP that is down?
The practice project: Order Intake Bot
Throughout the course you work on Order Intake Bot, a small but realistic automation:
email (.eml) ──► LLM extraction ──► validation rules ──► ERP API
│ │
unusable answer issues found
▼ ▼
failed needs_review (human)
Suppliers send order confirmations by email. An LLM turns each email into a structured order. Business rules decide whether the order can be booked without a human. The bot books it in the ERP, or sends it to someone for review. It comes with 19 tests, and you will understand and extend all of them.
Exercise
- Think of one task in your organisation where someone copies data from emails or documents into a system. Write down how often it happens and what goes wrong.
- For that task, write three things that must never happen if it were automated (for example: “an order is booked at the wrong price”).
- Keep the list. In lesson 4, From a Process to Code you turn a process like this into code.
Key Takeaways
- Python is the main language of AI and process automation, and of much test automation.
- AI writes the code; your value is deciding what it should do and proving that it does.
- Testers are well placed to build and secure automation.
- The whole course uses one realistic project: Order Intake Bot.