Monday, June 29, 2015

10 BASIC RULES FOR BEGINNERS IN AUTOMATION TESTING

Testing is a hard task and automating it is a dream of every tester or developer. However, automation requires deep understanding of the process and constant practice along with following basic guidelines. We will describe these guidelines in this article to show you automation is done easily when done right.
RULE 1: READ THE BASICS AND LEARN THEM
Even skilled developers need to revise their knowledge from time to time, learning is a must. Automation is nothing but a mere evaluation of steps the program must perform, writing a detailed instruction.
RULE 2: BE PREPARED TO MEET THE AUTOMATION PROJECT
Practice is the only way to get valid knowledge. Grab any open source testing tool available, install it and learn using it in your free time. The sandbox may be anything, even your MS Office or Calculator tool. Just get the tool and get started, gain understanding and experience to be ready to facing the real project when need be.
Rule 3: BASIC CONCEPTS ARE THE SAME, JUST EXPLORE THEM
Apart from different peculiarities all coding languages basically operate the same concepts like variables, parameters, functions, different data types, loop or conditional statements, arrays, etc. After having these understood and remembered, you will be able to apply this knowledge to any coding language. Spare some time, a couple of weeks maybe on understanding the brick stones the code consists of.
RULE 4: DO NOT STOP AFTER THE FIRST PROGRAM FAIL
Russians have a wonderful proverb: the first pancake is a mess. It means first try on anything will most likely fail, but all the next ones will be better, as you will gain experience in the process. No matter how good you are on theory, first practice likely will be disappointing. So just go on.
RULE 5: LOOK ON CODE AS A PROCEDURE, NOT A MAGIC
Whenever beginner looks at the code, it seems nearly unbelievably complex. However, after doing some coding you will be able to recognize patterns and procedures at once, making reading the code much easier. You will see it is merely an instruction for the program, written as clear as it can be to avoid any mischief.
RULE 6: EXPLORE THE TOOL
The best way to get used to a tool is exploring its features one by one. Start with File section and click every menu, sub-menu and drop-down item all the way to Help section. Most of the items will have self-explanatory names and you will see what the others do.
RULE 7: SEARCH FOR HELP IN HELP SECTION
Whenever you are stuck feel free to read Help section of the tool. It is a wonderful source full of explanations and instructions upon every aspect of the tool’s usage. Explore it thoroughly to master the tool perfectly.
RULE 8: PRACTICE A LOT
Keep in mind testing as a validation process. It allows you to conclude if the code is functional or not. Your testing automation should be able to do the same thing, so make sure it does not give our the raw results, but the clear answer: yes or no, test passed or failed.
RULE 9: IMPROVE YOUR WORK
All things done well can be done even better. Revising and striving to improve your projects is a way to improving your skills and driving you on to new heights.
RULE 10: AUTOMATION IS NOT ALWAYS NEEDED
Despite being so useful, automation is nothing more than a tool for a tester. Really skilled testers do not need it as can read the code easily and resolve the bugs on sight. Decide the way of actions on every particular case and use manual testing or automation if needed.
CONCLUSION:
Those rules are not obligatory, yet they are simple and obvious. Following them will help you improving your skills and becoming a better tester.
If you wish to comment something, feel free to do so, as your feedback is always welcome.

No comments:

Post a Comment