https://github.com/phantu279999/usertest
This tool about automation test on website, It is aimed at users who are easy to use
https://github.com/phantu279999/usertest
chromedriver reactjs selenium selenium-python test-automation testing-library user-test web-automation webdriver
Last synced: 4 months ago
JSON representation
This tool about automation test on website, It is aimed at users who are easy to use
- Host: GitHub
- URL: https://github.com/phantu279999/usertest
- Owner: phantu279999
- Created: 2024-07-04T12:33:38.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2025-12-31T03:04:23.000Z (6 months ago)
- Last Synced: 2026-01-04T04:22:02.663Z (5 months ago)
- Topics: chromedriver, reactjs, selenium, selenium-python, test-automation, testing-library, user-test, web-automation, webdriver
- Language: Python
- Homepage:
- Size: 170 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ๐งช Simple Automation Test Framework
> โ ๏ธ *This project is currently under development.*
---
## ๐ Configuration
### `config_actions.json`
This file defines the test cases and corresponding actions to automate.
- Each test case includes a list of actions (e.g., click, input, verify).
- Fully customizable with flexible action types and locators.
---
## Front-end Auto Config
### `frondend/fe-auto`
- React-powered interfaces can help users configure actions more easily.
```commandline
npm install
npm install lucide-react
npm run dev
```

---
## ๐ How to Run Tests
### `main.py`
This script starts executing the automation test cases defined in `config_actions.json`.
### Example Output:
```bash
--------------- Start run |test_login| --------------
------------- Action 1 -------------
True Passed
------------- Action 2 -------------
True Passed
------------- Action 3 -------------
True Passed
------------- Action 4 -------------
True Passed
------------- Action 5 -------------
True (title) Passed
--------------- Start run |test_search| --------------
------------- Action 1 -------------
True Passed
------------- Action 2 -------------
True Passed
------------- Action 3 -------------
True Passed
------------- Action 4 -------------
True (xpath_text) Passed
```
---
## ๐ Supported Environment Drivers
| Environment | Description |
|--------------------------|-----------------------------------------|
| `chrome` | Run on Chrome in normal mode |
| `chrome_headless` | Run on Chrome in headless mode |
| `chrome_mobile` | Simulate mobile browser on Chrome |
| `chrome_mobile_headless` | Mobile simulation in headless Chrome |
| `firefox` | Run on Firefox browser |
| `chrome_grid` | Run on Remote mode + parallel + mul env |
> โ
Default is `chrome`.
---
## ๐ License
This project is licensed by **Phan Anh Tu**.
Use and contribute freely with credit.
---
Feel free to suggest more features or contribute with pull requests!