How to learn automation from scratch?



  • I have zero knowledge about any coding language. But I have to learn an automation tool, preferably selenium. How should I begin? What language should I learn? In short, how to begin??



  • Well this is a tough question to answer from the start but here is my 2 cents.

    1. Pick a language. You need to figure out a language to start with so that you can get a foundation. If you are new to programing at lease learning the fundamentals of a language will help begin building.

    2. Learn the basics of the framework I started with Selenium, on Java. Overall in every language that I jumped around to, the basics were similar and interacting with the elements were close to the same. eventually using different languages helped my knowledge grow. By example this is how it went for me:

      • Java Selenium
      • Selenium Cucumber on Ruby
      • Cucumber Selenium Java
      • random PHP frameworks
      • Random frameworks in JS
      • Then Testcafe
      • Python Selenium
    3. Consider what do you do as a user? Understand your users workflows. Consider everything you evaluate while testing. Make sure to include or not include those when composing the test.

    4. Somethings are not worth automating. Things that are timed events that you can't achieve instantly are not worth the effort. If you have test running on a CI. A test that required 1 hours for a process that gets kicked off is a waste. You can try but just be wary of the tests goal.

    At this point you just a have to adventure and play around. I hope this helps.


Log in to reply
 

Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2