A full-stack style Skill Assessment Platform built entirely with Vanilla JavaScript (No Backend) and validated using a robust Selenium Automation Framework.
Live Demo: Click Here to View App
This project demonstrates a "Hybrid" skill set: Frontend Development and Test Automation.
It simulates a real-world examination portal where users can take quizzes on Java, Python, or GK, while "Admins" (Teachers) can view results. The entire state is managed client-side using localStorage, making it persistent without a database.
- Role-Based Access: Separate flows for Students and Teachers.
- Smart State Management: Uses
localStorageto simulate a database (Signups, Login, Results). - Dynamic Quiz Engine: Randomizes questions based on Category (Java/Python) and Difficulty.
- Security: Route protection (redirects unauthorized users to Login).
- Responsive UI: Fully optimized for Mobile and Desktop.
This repository includes a production-grade Selenium WebDriver (Java) automation suite located in /src.
| Feature | Description |
|---|---|
| Framework | Selenium WebDriver + Java |
| Design Pattern | Page Object Model (POM) |
| Reporting | Console Logs + Screenshots on Failure |
| Coverage | Login, Quiz Flow, Score Validation, Negative Testing |
- Positive Flow: Valid Login -> Take Quiz -> Verify Score in Dashboard.
- Negative Flow: Invalid Credentials -> Verify Error Message.
- Edge Cases: Skipping questions, Session timeout, unauthorized URL access.
- Frontend: HTML5, CSS3, JavaScript (ES6+)
- Automation: Java, Selenium WebDriver, JUnit/TestNG
- Build Tool: Maven
- Deployment: Netlify / Vercel
- Clone the repository:
git clone [https://github.com/](https://github.com/)[YOUR-USERNAME]/tech-quiz-portal.git
- Open the project in IntelliJ IDEA or Eclipse.
- Navigate to
src/test/java/QuizAutomation.java. - Run the file as a Java Application.
- The script will launch Chrome, run the test cases, and save screenshots to the
/screenshotsfolder.
- The script will launch Chrome, run the test cases, and save screenshots to the
[Your Name]