Hello,
Welcome to Selenium tutorial today we will see what is ATLC or Automation Test Life Cycle.
Automation Test Life Cycle
Once you start automating test script you will get this work often.We talk about life cycle it mean end to end picture of that scenario, so we have life cycle for development, for manual testing so we have same concept in Automation as well.Today in this post we will discuss Automation test life cycle in short ATLC.
You all must be familiar with SDLC which is know as Software development life cycle, STLC which is known as Software test life cycle, so lets discuss ATLC which is known as Automation test life cycle.
Please refer below image is the ATLC (Automation test life cycle diagram)
Automation test life cycle |
Here in Automation test life cycle we will discuss 6 section. Each section has equal importance so we will talk about each section in brief.
We will talk about following sections
1- Automation feasibility analysis
2- Test Plan/Test Design
3- Environment Setup/Test lab setup
4-Test Script development/ Automation testcase development
5-Test script execution
6- Generate test result / Analyses of result
Lets start each of the phase of Automation test life cycle
1- Automation feasibility analysis
In this section you have to think from different perspective. The main objective of this phase will be to check feasibility of automation.
So your main focus will be on below points.
1- Which test case can be automated and how we can automate them
2- Which module of your application can be tested and which can not be automated
3- Which tools we can use for our application (like Selenium,QTP,Sahi,OATS, Telrik etc) and which tools will be best of our application
4- Take following factors into consideration like Team size,Effort and cost involved for tools which we will use.
2- Test Plan/Test Design
This phase plays very important role in Automation test life cycle. In this phase you have to create a Test plan by considering below point into considerations.
1- Fetch all the manual test case from test management tool that which TC has to automate.
2- Which framework to use and what will be advantage and disadvantage of the framework which we will use.
3- Create a test suite for Automation test case in Test Management tool.
4- In test plan you can mention background, limitation, risk and dependency between application and tools.
5- Approval from client/ Stack holders.
3- Environment Setup/Test lab setup
By name itself you can understand that we need to setup machine or remote machine where our test case will execute.
1- In this section you can mention how many machine you want.
2- What should be the configuration in terms of hardware and software.
4-Test Script development/ Automation test case development
In this phase you have to start develop automation script and make sure all test script is running fine and should be stable enough.
1- Start creating test script based on your requirement
2- Create some common method or function that you can reuse throughout your script
3- Make your script easy, reusable,well structured and well documented so if third person check your script then he/she can understand your scripts easily.
4- Use better reporting so in case of failing you can trace your code
5- Finally review your script and your script should be ready before consumption.
5-Test script execution
Now its time for execution of test scripts, in this phas you have to execute all your test script.
Some points to remember while execution
1- Your script should cover all the functional requirement as per testcase.
2- Your script should be stable so it should run in multiple environment and multiple browsers (depends on your requirement)
3- You can do batch execution also if possible so it will save time and effort.
4- In case of failure your script should take screen shots.
5- If test case is failing due to functionality, you have to raise a bug/defect.
6- Generate test result / Analyses of result
This is the last phase of Automation test life cycle in which we will gather test result and will share with team/client/stack holders.
1- Analyze the output and calculate how much time it take to complete the testcase.
2- You should have good report generation like XSLT report, TestNG report, ReporterNG etc.
If you like this post please share,subscribe and comment.
For More updates Learn Automation page
For any query join Selenium group- Selenium Group
Sandeep says
In which phase do we design our framework be4 writing the script?
Mukesh Otwani says
Hi Sandeep,
Even though there are theoretical explanations for this process but organizations mold it into their own way. Usually, before feature development, framework design has to be get done. Test case writing goes along with feature development. Since the framework keeps on evolving gradually more implementations keep on getting added to the basic skeleton of framework.
MANNAM RATHNAM says
This use full for me thank you
Mukesh Otwani says
Hi Rathnam,
Thanks for appreciating my blog post. I’ll try my level best to keep posting new topics…:)
Ram says
awesome web site for learning Selenium and buildup your own framework….Thanks so much…..
Mukesh Otwani says
Hi Ram,
Thanks for your appreciation…:)
Prakashini says
Its really good and simple way of explaining the concepts…Thanks Mukesh..
Mukesh Otwani says
Hi Prakashini,
Thanks for your comments.
Ravi Prasad says
Hi Mukesh,
Awesome content and videos. Kudos to you.
Do you have any documentation on Estimations and ROI with regard to Automation
Best Regards,
Ravi Prasad. K
Mukesh Otwani says
HI Ravi,
I dont have any article on this soon I will share.
Raghu says
Very good web site for learn Selenium
Mukesh Otwani says
Thanks Raghu 🙂 Keep visiting.
Sabeel Ather M G says
@mukesh
This article is giving practical feel and very effective.
May god will reward you more knowledge. 🙂
Mukesh Otwani says
Hey Sabeel,
Thank you 🙂 I am glad that you liked this article.
Ajmal says
Hi Mukesh,
U r doing really a great job.. Videos are clear enough to understand the concepts deeply..
Mukesh Otwani says
Hi Ajmal,
Thanks and glad to know this article helped you.
sreenadh says
hi mukesh
your blogs are very good for learing selenium and even videos also…these are vert helpful for real time work also
Mukesh Otwani says
Thanks Sree 🙂
Supriya says
thanks for your posts, they are very helpful..!
Mukesh Otwani says
Thanks Supriya keep visiting.
Vaibhav says
Hi Mukesh ,
Your Articles are Bang Bang … Love to learn here …..
I just wana learn how to connect DB by using SSH in Seleium …
Please help me .
Mukesh Otwani says
Hi Vaibhav,
Sorry I can guide you using JDBC ODBC.
sujith says
This is really enjoyable ..Thank you for sharing knowledge..All the best best for future actions..
Mukesh Otwani says
Thanks Sujith
Litton says
Hi Mukesh, I have requested earlier but no response till date, my concern was how to explain TestNG with hybrid framework in interview. Thanks for your support in advance.
Wishes for Happy New Year
Mukesh Otwani says
Hi Litton,
I have not updated till yet so could not reply.
You can refer http://toolsqa.com/selenium-webdriver/selenium-automation-hybrid-framework/ which covers the same
susheel says
nice post ..
Mukesh Otwani says
Hi Susheel,
Thanks for nice comment. Keep visiting and please let me know if any help needed from my side.
Ashok kumar M V says
It really good and helpful, also i have some doubts, will write you an email.
Mukesh Otwani says
yes please 🙂
name says
hey you are awesome….its really helpful to the people who really want to update themselves
Mukesh Otwani says
Thank you Siva keep visiting 🙂
kiran says
So easy to understand… awesome… great job
Mukesh Otwani says
Hey Kiran,
Thank you keep visiting 🙂
Tejeshwar jaiswal says
Really Great work carried by your team !!!!! keep it up the good work!!!
Articles were really helpful.
Thank you very much 🙂
Mukesh Otwani says
Thanks Tejeshwar 🙂 keep visting.
divakar says
Very good website for learning automation thank you Mukesh!!!!!
Mukesh Otwani says
Thanks Divakar,
Keep visiting