1Business context
GovServe is a government e-services portal (passport-style application). Long multi-section forms must validate strictly, autosave drafts, accept document uploads with type/size limits, take payment and book an office appointment, producing a trackable ARN.
A six-section application with autosaved drafts you can resume, split date-of-birth dropdowns, conditional fields, “same as present address”, document uploads, a verification code, appointment booking and ARN tracking.
2Users & roles
- 👤 Citizen applicant (citizen@govserve.in / Gov@123, OTP 5821) — applies, resumes drafts, books an appointment and tracks status
3Modules & screens
| Screen | Route | What it does |
|---|---|---|
| Sign-in gate | /apps/gov | Email citizen@govserve.in / Gov@123, then OTP 5821; any page opened while signed out shows the login and returns there afterwards |
| Services | /apps/gov | Start an application or resume a draft |
| Application wizard | /apps/gov/apply/[id] | Personal, address, family, emergency, documents, review — with autosave |
| Appointment | /apps/gov/appointment/[id] | Office, weekday and free slot |
| Receipt | /apps/gov/receipt/[id] | ARN and payment confirmation |
| Track status | /apps/gov/status | Look up an application by ARN |
4Main end-to-end journey
Full passport application
- Sign in as citizen@govserve.in / Gov@123 with OTP 5821
- Start an application
- Fill personal (Married with spouse), address (same as permanent), family and emergency contact
- Upload address-proof.pdf and photo.jpg
- Review and pay
- Book a weekday appointment slot
- Track the ARN
Expected: Every section saves, an ARN is issued, and the status page shows the application
5Business rules & validations
- Citizen login + OTPBeginner
Email + password, then OTP 5821. Opening a deep link such as /apps/gov/status signed out shows the login in place and returns to that page after sign-in.
- Section validationBeginner
section-next on an empty section shows section-errors plus an error-* per field.
- Date dropdownsIntermediate
31 Feb or a future date in dob-day/month/year shows error-dob.
- Conditional fieldBeginner
marital-status “Married” reveals spouse-name, which becomes required.
- Copy addressIntermediate
same-address copies present into permanent fields and disables that fieldset.
- Upload validationIntermediate
Upload a .txt or >2 MB file to address-proof-file to see the type/size error; valid files show *-name.
- Autosave & resumeAdvanced
draft-status goes “Saving draft…” → “✓ Draft saved”; save-exit, then resume-<id> restores the section and values.
- Review & editIntermediate
On the last step, edit-section-N jumps back; review-* rows reflect your answers.
- Appointment & trackingAdvanced
Pick an office, a weekday and a free appointment-slot; then track the ARN on the status page.
6Test data & credentials
- URL
- /apps/gov
- Login
- citizen@govserve.in / Gov@123
- Login OTP
- 5821
- Form verification code
- 7439
- Uploads
- PDF/JPG ≤ 2 MB · photo JPG ≤ 1 MB
- Offices
- weekdays only
7Glossary
- ARN
- Application reference number used for tracking
- Autosave
- Draft saves automatically; Save & exit lets you resume later
- Form verification code
- 7439 — asked inside the application form (the login OTP is 5821)
8Watch-outs for automation
- ⚠️Sign in first (or reuse a saved session) — every page is behind the login
- ⚠️Uploads: PDF/JPG up to 2 MB, photo JPG up to 1 MB
- ⚠️Date dropdowns reject impossible dates (31 Feb) and future dates
- ⚠️Choosing Married makes spouse name required
9Suggested test strategy
1 · Smoke
4
P1 positive and end-to-end cases — run on every build.
2 · Regression
18
All cases, incl. 5 negative and 4 edge — run before release.
3 · End-to-end
3
Full user journeys — run nightly.
Start with these smoke cases
- GOVSERVE-01 — Citizen sign-in
- GOVSERVE-03 — Submit an application
- GOVSERVE-E2E-01 — Full passport application
- GOVSERVE-E2E-02 — Save draft and resume