Back to ProjectsUI Automation

Clinic Appointment Booking System

Manual and Automation QA Engineer

SeleniumPostmanJIRATestNG

Problem Statement

Healthcare clinics struggled with manual appointment scheduling leading to double bookings, missed appointments, and staff spending hours on phone calls. Patients had no way to book online, and reminder systems were inconsistent.

Approach & Solution

Designed and executed comprehensive test suites for appointment booking workflows, doctor schedule management, patient registration, and notification systems. Validated calendar conflict detection, time slot availability, and multi-location scheduling.

Testing Strategy

Collaborated with developers to test booking logic, cancellation policies, and rescheduling workflows. Performed API testing for calendar integrations, SMS/email gateway connectivity, and patient data validation.

Code Implementation

Pytest Async Booking Testpython
@pytest.mark.asyncio 
async def test_schedule_conflict_prevention():
    """Test that double bookings are prevented."""
    doctor_id = "doc_123"
    date = "2025-03-15"
    time_slot = "10:00"
    
    # First booking should succeed
    response1 = await client.post("/api/v1/appointments", json={...})
    assert response1.status_code == 201
    
    # Second booking same slot should fail
    response2 = await client.post("/api/v1/appointments", json={...})
    assert response2.status_code == 409
    assert "slot not available" in response2.json()["error"].lower()

Results & Impact

Achieved 99.5% booking accuracy with zero double-booking incidents. Validated SMS/email delivery rate at 98.7% for confirmations and reminders. Reduced no-show rate by 45% through automated reminder system.