๐ ️ Automating SLS: Adding Teachers-as-Students with Playwright
The Challenge
In SLS, adding a colleague (teacher) as a student in a Class Group requires multiple manual steps:
-
Navigate to Class Groups → Admin → View & Edit → Students tab
-
Click Add Student, choose “Teacher as Student”
-
Search and select colleagues (potentially from different schools)
-
Click Save
Each teacher takes 30–60 seconds to add—and scales poorly when onboarding for workshops, pilots, or department-wide tests.
๐ค The Playwright Hack
To reduce this pain, I built a Playwright RPA script that:
-
Reads
data.csv(list of teacher IDs/emails) -
Launches a browser and prompts for manual login
-
Navigates to the Admin → Students tab
-
Automates clicks on “Add Student → Teacher as Student”
-
Searches, checks, and confirms each teacher
-
Saves the group automatically
-
Logs any missing or duplicate entries
This stripped hours of repetitive work into a single click.
๐ก Why It Matters
-
Mass Onboarding: Add dozens of teachers in under a minute
-
Accuracy: Reduces manual error—no typos or missed checkboxes
-
Feedback for SLS Team: Demonstrates clear demand for a bulk-add feature
๐ Impact Snapshot
| Before | After |
|---|---|
| 30–60 s per teacher | ~~1 minute total |
| Multiple manual steps | Fully automated |
| Prone to human error | Consistent and auditable logs |
๐งช Testing & Feedback
Over a recent pilot, our RPA bot loaded three class groups with 80 teachers in under 4 minutes. Based on feedback from workshop leads and admins, it’s clear a native bulk-add option would hugely benefit SLS users.
๐ญ What's Next
-
Share findings with the SLS product team
-
Gather usage statistics and error logs to support a feature request
-
Explore expanding the tool to handle bulk student edits, class copying, and more
๐ฅ Try It Yourself
The Playwright executable and data.csv template (for Windows, Mac, Linux) are on GitHub:
SLS-playwright-automation for “Add Teachers as Students”
Reference:
- https://www.learning.moe.edu.sg/teacher-user-guide/organise/add-teachers-as-students-to-a-class-group/
- https://playwright.dev/docs/intro
- https://github.com/lookang/playWright/tree/main/SLS-classAddTeachersasStudents-Playwright-Automation
๐ง Strategic Alignment with ETD’s EdTech Masterplan
๐ฏ 1. Removing Pain Points Through Prototyping
This Playwright automation is not just a clever hack—it’s a low-code, rapid prototype to explore a real workflow challenge teachers face: manually adding colleagues as students for lesson previews, team teaching, or PD purposes.
By automating this, we are:
-
Testing real-world friction in the SLS ecosystem.
-
Gathering evidence to prioritize native feature development in SLS.
๐ ETD Alignment:
Supports Goal 2 of the EdTech Plan — “Ensure an intuitive, seamless experience for teachers” through user-driven enhancements.
๐งช 2. Evidence-Informed Innovation
Rather than waiting for long dev cycles, this experiment provides:
-
Data from actual use cases
-
Insights from school clusters trying out SLS module previews or collaborative authoring
-
A testbed for validating if it's worth building as a full SLS feature
๐ ETD Alignment:
Reflects the spirit of “Agile Piloting” and “Fail Fast, Learn Fast” in EdTech R&D.
๐ก 3. Empowering Teacher-Innovators
This effort is a grassroots-led innovation where teacher-developers and HQ EdTech officers co-create tools that solve daily classroom challenges.
This:
-
Demonstrates ownership of digital solutions
-
Cultivates a culture of “Educator as Designer”
-
Encourages experimentation with safe automation tools like Playwright, Puppeteer, and TagUI.
๐ ETD Alignment:
Supports Goal 3 — “Equip teachers with advanced EdTech skills and mindsets.”
๐ 4. Contributing to SLS Ecosystem Enhancements
This automation could inform:
-
Future UI/UX changes in class group management
-
Role-switching flexibility for co-teaching, SLS lesson design, and onboarding
-
A possible API endpoint or shortcut for teachers in SLS-Next
๐ ETD Alignment:
Contributes toward “Smart Platform Features” under SLS 2.0 roadmap.
✅ Conclusion
This hack proves that teachers need a bulk “Teacher as Student” feature in SLS—saving time, reducing errors, and supporting meaningful testing and collaboration. With product guidance, this could be a valuable native tool in future SLS releases.
No comments:
Post a Comment