I have some experience in programming (mostly OOP) and test automation with languages other than Javascript, Typescript and Python. I am considering picking only one language for now - Javascript/Typescript OR Python. Can someone help me to figure out which one is likely to be better for me? Here are my requirements.
-
The language should be one of the top 3 languages required for most Web UI & API test automation jobs. Suitability for mobile and AI testing is a plus.
-
It should have a lot of diverse learning material like books and courses i.e. the books/courses should go beyond just teaching syntax and toy projects (Books for most languages do this). Instead, they should provide plenty of realistic practice with several small projects (bad word filter, number guessing game etc.) and medium sized projects (scraping websites, controlling mouse and keyboard etc.).
I see many books for Python from No Starch Press which meet these requirements and some from Manning too (Python Workout). But few No starch has few books for Javascript or Typescript. It might be because Python has been around for longer than Typescript. So, the choices of learning material for JS/TS don’t seem as diverse.
I am not sure if Python meets requirement 1, but it appears in many job postings. I’d like to see some stats. But I am leaning towards Python mainly because of 2. If Javascript/Typescript can meet requirement 2, then I’d like to use it instead of Python. I see a lot of jobs for Playwright these days which need Typescript (not Javascript).