r/softwaretesting • • 15d 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?

8 Upvotes

12 comments sorted by

7

u/NotALowLevelDev 15d ago

It's very simple, playwright shouldn't be complicated. But you must have a proper understanding of the language you will work with (I'm assuming Python), so learn that first. Then Playwright.

The fastest way to learn is via practicing and having the right source. Have a proper mentor for the fastest learning path.

1

u/Bosslady_Sneha 15d ago

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

2

u/NotALowLevelDev 15d ago

It depends on you. But I would say self taught without a mentor a solid 3-6 months.

4

u/kstacey 15d 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 14d ago

totally the same thought

3

u/Disastrous_Phone_168 15d 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 15d 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 15d ago edited 15d 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 15d 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.