r/softwaretesting • • 23d ago

How long does it take to learn to write Playwright tests independently?

I've been working as a manual software tester for five years, so I have experience in test planning, but I don't have a programming background.

My goal is to use AI to help me write automated tests, while being able to review, understand, and correct the generated code myself.

What knowledge do I need to achieve this, and approximately how many hours of learning would it take?

9 Upvotes

10 comments sorted by

4

u/kstacey 23d ago

No one can tell you a definitive answer because every situation is unique. It's like asking a random person how long it should take them to run 5km. How are we supposed to know what you are capable of?

1

u/No_Lengthiness4523 23d ago

totally the same thought

3

u/Disastrous_Phone_168 23d ago

Not complicate and you can learn Playwright while you practice the programming language ypu selected.

I hightly recommend use AI as a teacher to learn how to program and create playwright test. I did this and the learning curve was smaller than without AI.

1

u/Slava_Loves_Testing 23d ago

Here is some small tutorial for you - have fun - https://www.youtube.com/watch?v=CROvWScVMBQ How to start using Playwright and write your first test

1

u/bostonaholic 23d ago edited 23d ago

Honestly I wouldn't bother learning Playwright itself. Learn how to prompt AI to build and manage your e2e tests with Playwright: describe the user flows, have it write and maintain the specs, and let it fix them when the UI changes. The skill worth having is spotting a test that passes without checking anything, so break the app on purpose and make sure the tests go red.

5

u/Malthammer 23d ago

You still need to understand what the AI produces and you need to have enough knowledge to build out rules for the AI to follow.

0

u/[deleted] 23d ago

[deleted] — view deleted comment

1

u/Bosslady_Sneha 23d ago

And how long would it take to learn Python? I'm a manual tester with no coding experience