Automation Framework
Many people have asked me that how should we start creating automation framework. Here is the detail version on how one should plan, create and decide about frameworks.
The first step of any test automation framework is to do a quick POC with few high priority test cases. By doing POC, you can identify the object identification issues, challenges, complexities, required test-data and limitation and required add-ins
Once we have this information, we can proceed with next steps. On the basis of above information, you can decide what type of framework is most suitable to you.
But before starting, you must take some time to decide your strategies about..
1. Object Identification
2. Test-Data
3. Function Library
4. Error Handling
5. Controller script
6. Documents and Manuals
Now after planning your strategy, you can decide about type of framework suitable for your application under test.
Types of Frameworks:
Data Driven framework is useful when the flow application tests remain same but data values keep on changing. Application data play a key role and as the name suggests data drives the whole execution.
Example: Loan calculator application where we have the following parameters:
Loan amount: $
Loan term: years or months
Interest rate: % per year
Loan start date:
Monthly Payments:
and Calculation Results for validation
Keywords Driven framework, in this kind of framework, keywords plays a major role and decide the execution flow. There are two main types in these framework:
Generic keyword driven - generic keyword driven is created to be adapated for different sorts of applcation and technolgies
Application specfic keyword driven - application specific keyword driven framework are created to automate a specific type of application and are genrally not transferable to other apps/technologies.
Generic keyword driven Example: OpenBrowser - EnterURL - ClickButton etc.
Application keyword driven Example: Google_Launch - Google_Login - Google_VerifySomePage - Google_LogOut
The first step of any test automation framework is to do a quick POC with few high priority test cases. By doing POC, you can identify the object identification issues, challenges, complexities, required test-data and limitation and required add-ins
Once we have this information, we can proceed with next steps. On the basis of above information, you can decide what type of framework is most suitable to you.
But before starting, you must take some time to decide your strategies about..
1. Object Identification
2. Test-Data
3. Function Library
4. Error Handling
5. Controller script
6. Documents and Manuals
Now after planning your strategy, you can decide about type of framework suitable for your application under test.
Types of Frameworks:
Data Driven framework is useful when the flow application tests remain same but data values keep on changing. Application data play a key role and as the name suggests data drives the whole execution.
Example: Loan calculator application where we have the following parameters:
Loan amount: $
Loan term: years or months
Interest rate: % per year
Loan start date:
Monthly Payments:
and Calculation Results for validation
Keywords Driven framework, in this kind of framework, keywords plays a major role and decide the execution flow. There are two main types in these framework:
Generic keyword driven - generic keyword driven is created to be adapated for different sorts of applcation and technolgies
Application specfic keyword driven - application specific keyword driven framework are created to automate a specific type of application and are genrally not transferable to other apps/technologies.
Generic keyword driven Example: OpenBrowser - EnterURL - ClickButton etc.
Application keyword driven Example: Google_Launch - Google_Login - Google_VerifySomePage - Google_LogOut
I have to voice my passion for your kindness giving support to those people that should have guidance on this important matter.
ReplyDeleteBest Java Training Institute in chennai
Excellent content!!! After reading your blog, I am curious to read the next part of the blog.
ReplyDeleteSelenium Training in Chennai
Best Selenium Training Institute in Chennai
ios developer training in chennai
Digital Marketing Training in Chennai
.Net coaching centre in chennai
PHP Institutes in Chennai
PHP Training Center in Chennai
Wondeful Explanation with lots of useful information in this blog. Congrats and Keep Rocking
ReplyDeleteMicrosoft Windows Azure Training | Online Course | Certification in chennai | Microsoft Windows Azure Training | Online Course | Certification in bangalore | Microsoft Windows Azure Training | Online Course | Certification in hyderabad | Microsoft Windows Azure Training | Online Course | Certification in pune
Great Blog. Thnaks.
ReplyDeleteSAP Training in Chennai
Java Training in Chennai
Software Testing Training in Chennai
.Net Training in Chennai
Hardware and Networking Training in Chennai
AWS Training in Chennai
Azure Training in Chennai
Selenium Training in Chennai
QTP Training in Chennai
Android Training in Chennai
I feel very grateful that I read this. It is very helpful and very informative and I really learned a lot from it.
ReplyDeleteapp and you are doing well.
Dot Net Training in Chennai | Dot Net Training in anna nagar | Dot Net Training in omr | Dot Net Training in porur | Dot Net Training in tambaram | Dot Net Training in velachery
ReplyDeleteThanks for this post.
Software Testing Training in Chennai | Software Testing Training Institute in Chennai | Software Testing Training Center in Chennai | Best Software Testing Training in Chennai | Software Testing Training