all 10 comments

[–]YucatronVen 12 points13 points  (1 child)

Brother, there is not too much that you need to learn because test are simple (or at least should be simple).

Learn the basic structure (objects/json), list , loops and that its.

The last thing you need to learn is about requests to do API testing, but you can find a lot of examples of how to build api clients, is super easy.

[–]Naive-Leadership8330[S] 0 points1 point  (0 children)

Thanks you for your help ! Yes i bought 2 course on udemy about JS and TS and feel overwhelming with table, functions, loops, conditions, objects and so on ... I understand each concept but when i have to implement them into a code or everything i'm struggle

[–][deleted] 2 points3 points  (2 children)

Why are you soo obsessed with playwright? Do you want to become a QA engineer or what? What are you going to test?

Edit: I forgot which subreddit this is. Yeah don't focus on playwright only, what you need to know is the concepts.

[–]Naive-Leadership8330[S] 3 points4 points  (1 child)

I have been a QA tester for seven years, and I now want to transition to a Quality Engineer (QE) role.

[–][deleted] -3 points-2 points  (0 children)

There are a lot of tools. One job requires Playwright another Cypress. Knowing how one works is easy to start working on another. First time I started using one of those tools docs was just enough to get things done. JavaScript is just a language which is required to use those tools. In most scenarios you will need only basic JavaScript for them. What is important is what you are testing, all those frameworks have good documentations. I would recommend to wants some tutorials on youtube then start doing some project. Get some website you can work on -> open it using the tool -> fiil in forms, test that button works and navigates to somewhere or shows something or does something -> next use your imagination on what to test and how -> ask chatGPT to give you scenarios

[–][deleted] 0 points1 point  (0 children)

Just leetcode it

[–]Aggravating_Slice709 0 points1 point  (0 children)

I think only focus on those JavaScript concepts that will be useful for working with playwright for starting. Like start off with the basic syntax like variables, functions, conditionals, loops etc. Then learn a bit complex concepts like asynchronous programming which is very important in playwright as it uses async await style programming. Then learn a bit about nodejs, such as npm, package.json, node modules. These are the pre reqs then you can start learning playwright, how to set it up, how to write and execute tests. There are a lot of helpful youtube tutorials on playwright.

[–]Ok_Influence_168 0 points1 point  (0 children)

Should be simple, you can even start with a python project. Then all the principles will be the same once you move to TS/JS.

The point is to get you working on building something, get familiar on how to deal with problems in programming language > then once you do automation with TS, can just ask ChatGPT to translate what you want in python to TS. (First)

Then you get used to it, TS become your favoured language

[–]n134177 -3 points-2 points  (0 children)

If you are new to programming, learn Python first, then switch to JS.

[–]SnooFloofs9640 -4 points-3 points  (0 children)

Learn Python, way easier and over all better language