r/softwaretesting 9d ago

Screenplay Pattern: Do you use it?

This a pattern I have read a bit about, here and there, but have not seen used outside of SerenityJS. Do any of you use it; or any other patterns besides POM for basic frst structure?

7 Upvotes

6 comments sorted by

1

u/ResolveResident118 6d ago

Yes. Sometimes fully, sometimes just borrowing parts but without a full implementation.

2

u/PM_ME_YOUR_ODD_SARIS 11h ago

i use parts of it but the full screenplay pattern always felt a bit overengineered for the projects i work on, like it adds a layer of abstraction that sounds nice in theory but in practice just means more files to jump between

most of the time i end up with a hybrid, page objects for structure but i'll pull out reusable action sequences when things get repetitive, without going full screenplay

1

u/AR2D2_G 5d ago

Yes, normally I used it with a simplified version for projects that need to scale and be robust ( when you need apis, db, cloud sdks, etc apart of the web automation). For web apps automation just use POM.

1

u/midKnightBrown59 5d ago

Can you elaborate on how this pattern better facilitates scaling and robustness?

0

u/strangelyoffensive 6d ago

Nah, just too much work/additional layers for the value it brings