Skip to content

AmirHaytham/almentor-evaluation-submission

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Almentor Evaluation Submission 🤖

Node.js Version NPM Version License: MIT

Demo GIF

📝 Table of Contents

🧐 About

This script automates the process of submitting multiple responses to Microsoft Forms. Perfect for teachers/instructors who need to submit evaluations for multiple students efficiently. It handles email extraction, Excel sheet creation with validation rules, and automated form submissions.

🏁 Getting Started

Prerequisites

  • Node.js (v14 or higher)
  • npm (Node Package Manager)
  • Chrome/Chromium browser
  • Text editor (VS Code recommended)

🔧 Installation

  1. Clone the repository
git clone https://github.com/AmirHaytham/almentor-evaluation-submission.git
  1. Navigate to project directory
cd almentor-evaluation-submission
  1. Install dependencies
npm install

🎈 Usage

1. Prepare Student Data

// In automation.js
const text = `
student1@example.com
student2@example.com
// Add more emails...
`;

2. Generate Excel Sheet

node automation.js

3. Fill Excel Data

Open form_responses.xlsx and fill:

  • Student interaction (0-5)
  • Commitment level (0-5)
  • Behavior selection
  • Feedback notes

4. Run Form Submission

node automation.js
# When prompted, type 'y' to confirm

✨ Features

  • 📧 Email extraction from text
  • 📊 Excel sheet generation with validation
  • 🤖 Automated form submissions
  • 🔄 Retry mechanism for failures
  • 📝 Detailed error logging
  • 📸 Error screenshots

🛠️ Built With

⚙️ Configuration

Excel Sheet Structure

Column Description Values
Student Email Email address Text
Teacher Code Teacher identifier ENTER YOUR ID
Interaction Lecture interaction 0-5
Commitment Session commitment 0-5
Behavior Student behavior Dropdown
Feedback Additional notes Text

💭 Troubleshooting

Common Issues

  1. Excel Busy Error
Error: EBUSY: resource busy or locked
# Solution: Close Excel file
  1. Navigation Timeout
Error: Navigation timeout exceeded
# Solution: Check internet connection

🤝 Contributing

  1. Fork the repository
  2. Create your feature branch
git checkout -b feature/AmazingFeature
  1. Commit changes
git commit -m 'Add AmazingFeature'
  1. Push to branch
git push origin feature/AmazingFeature
  1. Open a Pull Request

👥 Contributors

AmirHaytham

Made with ❤️ by AmirHaytham

📝 License

This project is licensed under the MIT License - see the LICENSE file for details.

About

Automate ur submissions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published