This project automates the Login and Registration functionalities of the Job Portal application using Python and Selenium WebDriver.
Application URL: https://jobprtal.alarafafragrance.com
- Python
- Selenium WebDriver
- Faker
- python-dotenv
Automation_Task/
│
├── tests/
│ ├── login.py
│ └── registration.py
│
├── data/
│ └── faker_data.py
│
├── test_cases/
│ └── Test Cases for Login & Registration.xlsx
│
├── .env.example
├── .gitignore
├── README.md
└── requirements.txt
- Generates dynamic user data using Faker
- Fills registration form automatically
- Creates unique users for every execution
- Submits registration form automatically
- Reads credentials from .env file
- Enters email and password automatically
- Supports Remember Me checkbox
- Submits login form automatically
- Registration automation generates a unique user using Faker.
- User account is registered automatically.
- Generated credentials can be saved to the
.envfile. - Login automation reads credentials from
.env. - Login is performed using the newly registered account.
pip install -r requirements.txtCreate a .env file:
BASE_URL=https://jobprtal.alarafafragrance.com
LOGIN_EMAIL=your_email@example.com
LOGIN_PASSWORD=your_passwordpython tests/registration.pypython tests/login.pyManual test cases for Login and Registration are included in:
test_cases/Test Cases for Login & Registration.xlsx