Welcome to Selenium-Automation for the Amrita University Management System (AUMS) - Feedback Automation! This project is designed to simplify and automate the feedback submission process for AUMS using Selenium WebDriver. With this tool, you can seamlessly handle web forms, navigate iframes, and manage dynamic content—all without needing to manually interact with the browser.
- ✨ Automated Feedback Submission: Effortlessly fills out and submits feedback forms.
- 🔄 Dynamic Element Handling: Smartly deals with elements that change or update dynamically.
- 🔲 Iframe Interaction: Smoothly navigates and interacts within iframes.
- 🖥️ Headless Operation: Executes tasks in the background without displaying the browser.
- 🛠️ Robust Error Handling: Efficiently manages errors and ensures reliable operation.
Before you get started, make sure you have:
- Python 3.x: Download Python
- Selenium: Install using pip:
pip install selenium
- Flask: Install using pip:
pip install Flask
- ChromeDriver: You need the ChromeDriver executable to interact with Chrome. You can download it from ChromeDriver Download. If you're using Replit,
chrome.exe
is used as the ChromeDriver file. Ensure it is correctly set up in your project directory.
-
Clone the Repository
git clone https://github.com/sarangs1621/Selenium-Automation.git cd Selenium-Automation
-
Install Dependencies
Install the necessary Python packages:
pip install -r requirements.txt
-
Setup ChromeDriver
Ensure
chromedriver
(orchrome.exe
in Replit) is in your project directory, or specify the path in the script. -
Run the Script
Execute the script with:
python main.py
You will be prompted to enter the evaluation link, username, and password.
- Initialization: Sets up Selenium WebDriver with headless Chrome.
- Login: Navigates to the provided link and logs in using the provided credentials.
- Feedback Handling: Processes feedback forms using a predefined JavaScript function.
- Error Recovery: Automatically retries and handles common issues to ensure successful execution.
Feel free to modify the JavaScript snippet (namahshivaya_script
) to suit specific feedback form requirements. Customize error handling and logging as needed for your setup.
To help you get started, we've created a GIF video showing how to access the evaluation feedback link. You can view it here.
We welcome contributions! To contribute:
- Fork the Repository
- Create a New Branch
- Make Your Changes
- Submit a Pull Request
For any questions or issues, please reach out to sarangsnair1621@gmail.com.