DEV Community

Cover image for Automating my University's STS Course & Lecturer Evaluation Process with Python + Selenium
Owusu Ansah Joy
Owusu Ansah Joy

Posted on

Automating my University's STS Course & Lecturer Evaluation Process with Python + Selenium

They say automating repetitive tasks is the new way of life, so I built something to make one of the most tedious student activities a lot easier.

🎯 The Problem
Every semester before exams, students at the University of Ghana are required to complete Course and Lecturer Evaluations on the STS portal.

The process is:

  • Log into STS
  • Select "Evaluate Course" for each registered course
  • Choose the lecturer
  • Fill in 21+ radio questions
  • Add comments
  • Submit

It’s time-consuming, repetitive, and easy to forget — which can lead to last-minute panic.

Sts Portal

💡 The Solution
I built a Python automation script using Selenium that:

  1. Logs into the STS portal automatically.
  2. Iterates through all courses that require evaluation.
  3. Selects the lecturer (with user input if multiple lecturers exist).
  4. Fills all required radio buttons and comment boxes.
  5. Waits for you to review the form and click Submit manually (to comply with school policy).
  6. Once evaluations are complete, it logs out and starts the daily check-in process as well.

🛠 Tech Stack

  • Python 3
  • Selenium WebDriver
  • dotenv for credential management
  • Chrome WebDriver for browser automation

📹 Demo & Code

YouTube Demo: Watch Here

GitHub Repo: View Code

🔮 Future Plans

  1. Optional auto-submit (with caution, still requires compliance with policies).

  2. Automatic lecturer detection if only one exists.

  3. Improved reporting after each run.

Top comments (3)

Some comments may only be visible to logged-in visitors. Sign in to view all comments.