Definition: Automated Testing is the process of using tools and scripts to execute test cases automatically, without manual effort.
👉 Simple meaning: A computer program runs your tests instead of a human.
A Test Automation Framework is a set of guidelines, tools, and rules used to design and run automated tests efficiently.
👉 Simple meaning: It is a structure/system that helps organize automated testing.
👉 Example:
Input data for testing
Stored in:
👉 Example:
Generates:
Store settings like:
Test Scripts → Execution Engine → Application
↑ ↓
Test Data Reports
↑
Object Repository
Tests are recorded and played back.
Application is divided into modules, and each module is tested separately.
Test data is separated from test scripts.
| Username | Password |
|---|---|
| user1 | pass1 |
| user2 | pass2 |
👉 🔥 Frequently asked!
Uses keywords instead of code.
| Keyword | Action |
|---|---|
| Login | Enter username/password |
| Click | Press button |
Combination of:
Identify what to automate
Example:
Choose automation tool
Example:
Decide:
Functions for:
✔ Define Automation Framework ✔ Types of frameworks ✔ Data-driven framework explanation ✔ Steps to build framework ✔ Advantages of automation
| Framework Type | Key Idea | Advantage | Disadvantage |
|---|---|---|---|
| Linear | Record/playback | Easy | Not reusable |
| Modular | Divide modules | Organized | More setup |
| Data-Driven | Separate data | Flexible | Complex |
| Keyword-Driven | Use keywords | No coding | Slower |
| Hybrid | Combination | Powerful | Complex |
Automated testing uses tools to run tests automatically
A framework provides structure and organization
Important frameworks:
Steps include:
Open this section to load past papers