- Part 1 — TypeScript Foundations
- Chapter 1 — TypeScript Essential Features
- Chapter 2 — Advanced TypeScript Concepts
- Part 2 — Playwright Mastery
- Chapter 3 — Playwright Key APIs & Patterns
- Part 3 — Architecture & Design Patterns
- Chapter 4 — Composition Over Inheritance
- Chapter 5 — Generics & Type Safety
- Chapter 6 — Dependency Injection with Fixtures
- Chapter 7 — API Mocking Architecture
- Chapter 8 — Scaling to Production
- Part 4 — Mobile Automation with Appium: The CommonFramework
- Chapter 9 — Python Essentials for Automation
- Chapter 10 — TypeScript Essentials for Automation
- Chapter 11 — Design Philosophy & Architecture of the CommonFramework
- Part 5 — API Testing
- Chapter 12 — API Testing with TypeScript: Contracts, Schemas, and the Playwright Way
- Part 6 — Senior Craft
- Chapter 13 — Interview Questions & Senior-Level Patterns
- Chapter 14 — Test Data Management & Failure Triage
- Chapter 15 — AI-Assisted Testing & GenAI in Test Automation
- Part 7 — Performance Testing
- Chapter 16 — Performance Testing for Senior SDET Engineers: Synthetic, Load, and RUM
- Part 8 — The Screenplay Pattern
- Chapter 17 — The Screenplay Pattern: From Page Objects to User Stories
- Part 9 — Device & Wearable Testing
- Chapter 18 — Device & Wearable Testing: The Manual Disciplines Automation Can't Replace
- Bonus Chapter
- Appwright — Playwright Ergonomics for Device Testing
- Appendix
- Benchmark: Appwright vs. the CommonFramework — results, methodology, and every gotcha
The Pragmatic Comprehensive Senior SDET
Playwright–TypeScript Gems with API and Performance Testing
Senior SDET work is architecture, not scripts. 18 chapters on Playwright and TypeScript at real scale — fixtures, API mocking, sharding, the Screenplay pattern — plus one Appium test driving both iOS and Android, schema-validated API testing, and performance end to end. Includes the complete, tested companion code, and 100% of author royalties fund peer-reviewed cancer-survivor research.
Minimum price
$19.99
$39.99
You pay
Author earns
About
About the Book
What senior test engineers actually need to know.
Most automation books teach you the API. This one teaches you the decisions.
Why page objects turn into god objects around month six. When dependency injection through fixtures beats a BaseTest inheritance tower. How to validate a JSON contract when there's no OpenAPI spec — which, in the real world, is most of the time. When the Screenplay pattern is worth its ceremony, and when adopting it will quietly split your suite across two architectures.
Distilled from 20+ years of quality engineering at Apple, Netflix, PayPal, and eBay. 18 chapters, 80+ tested code examples, and honest trade-offs on every pattern — including the ones I'd argue against.
WHAT'S INSIDE
TypeScript and Playwright, at depth — essential and advanced TypeScript aimed squarely at test code, plus Playwright's key APIs and the patterns that hold up past a hundred tests.
Architecture that survives scale — composition over inheritance, generics and type safety, dependency injection with fixtures, API mocking architecture, and scaling to production.
Mobile, properly — the CommonFramework: one Appium test case driving both native iOS and Android, in Python. Plus a bonus chapter on Appwright and a benchmark appendix with full configuration disclosed.
API testing with judgment — typed contracts with Zod, schema validation with and without an OpenAPI spec, and an honest comparison of Karate vs. REST Assured vs. Playwright's own HTTP client.
Performance, end to end — JMeter, K6, and real user monitoring. Synthetic, load, and RUM.
The Screenplay pattern — a complete micro-framework in about 60 lines of TypeScript, a full checkout suite with zero selectors in the test body, and four enterprise failure modes, including a team that adopted Screenplay when they shouldn't have.
Senior craft — interview questions built on architectural reasoning, test data management and failure triage, AI-assisted testing and GenAI in automation, and device and wearable testing: the manual disciplines automation can't replace.
THE COMPANION CODE IS THE REAL DELIVERABLE
Two complete, runnable projects — not snippets:
CommonAppiumframework — a production-grade Python and Appium mobile framework, one test case driving both iOS and Android.
saucelabs_automation_typescript — the full Playwright and TypeScript Screenplay suite, framework through passing checkout tests.
Both verified against the Sauce Labs demo applications on real cloud devices. Your purchase includes access to the private Git repositories, and they are kept current as Playwright and Appium move — the repositories, not the printed page, are the source of truth.
EVERY COPY FUNDS REAL SCIENCE
100% of author royalties — from every sale, on every platform — go to Thirumoolar Chair Inc.
The Chair funds the peer-reviewed research of Dr. Sundar Balasubramanian (Department of Radiation Oncology, Medical University of South Carolina) on Pranayama — yogic breathing — and its measurable health effects, in studies with cancer survivors and their caregivers. The work is backed by more than $600,000 in NIH and National Cancer Institute and state research grants.
I don't make money on this book. Pay above the minimum and the difference goes to that research.
Learn more at tamilchair.org and pranascience.com/research.
To receive your companion repository access, forward your Leanpub receipt to support@aitestguru.com.
Feedback
Author
About the Author
Pudur Ramaswamy — 20+ years of QA and performance engineering at Apple, Netflix, PayPal, and eBay. Co-inventor, U.S. Patent 6,510,402.
Testimonials
Reader Testimonials
Pudur has assembled a clear and concise guide to the most important concepts helping a test automation team scale in a sustainable way. He covers everything from managing and scaling the tests and test execution all the way through scaling the team itself via good interview practices.
Rob FagenFormer QA Manager, NetflixI read the book end to end through a senior QA/SDET lens. It builds a real framework across the TypeScript, Playwright, and architecture parts rather than presenting isolated snippets — and its comparisons are honest ones, Screenplay versus Page Objects included. Practical material for engineers choosing an automation architecture today.
Subhadra ThirumavalavanSenior QA /SDETThe content is well structured, practical, and clearly aimed at helping engineers think beyond writing automation scripts. I especially liked how the interview questions focus on architectural reasoning, scalability, dependency injection, type safety, and parallel execution rather than simple Playwright APIs. That makes the material valuable for senior SDET interviews.
Asha MaddelaAssistant professor ( AI/ML & GEN AI), Keshav Memorial Institute Of TechnologyI read the API automation section and it is very good — I especially liked the treatment of schema validation without an OpenAPI spec, because that is typically the case in the real world. "Postman is a good exploratory tool, but regression must live in code" reflects an industry truth: SDETs should be able to use both comfortably.
Deepa SinghSenior Development Manager
Contents
Table of Contents
The Leanpub 60 Day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms...
Earn $8 on a $10 Purchase, and $16 on a $20 Purchase
We pay 80% royalties on purchases of $7.99 or more, and 80% royalties minus a 50 cent flat fee on purchases between $0.99 and $7.98. You earn $8 on a $10 sale, and $16 on a $20 sale. So, if we sell 5000 non-refunded copies of your book for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.
Learn more about Leanpub's ebook formats and where to read them
Write and Publish on Leanpub
You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!
Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.
Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.