• Skip to main content
  • Skip to primary sidebar
  • Skip to footer
  • Home
  • Programming Languages
    • Java Tutorials
    • Python Tutorials
    • JavaScript Tutorials
  • Automation Tools and Different Tools
    • Web Automation
      • Selenium with Java
        • Selenium Basic
        • Selenium Advance
        • Selenium Realtime
        • Framework
        • Selenium Interview
        • Selenium Videos
        • Selenium with Docker
      • Selenium with Python
      • WebdriverIO
        • Selenium Webdriver C# Tutorial
      • Cypress
      • Playwright
    • TestNG
    • Cucumber
    • Mobile Automation
      • Appium
    • API Testing
      • Postman
      • Rest Assured
      • SOAPUI
    • testRigor
    • Katalon
    • TestProject
    • Serenity BDD
    • Gradle- Build Tool
    • RPA-UiPath
    • Protractor
    • Windows Automation
  • Automation For Manual Testers
  • Services
  • Online Training
  • Contact us
  • About me
  • Follow us
    • Linkedin
    • Facebook Group
    • Facebook Page
    • Instagram

Automation

Selenium WebDriver tutorial Step by Step

You are here: Home / Interview Questions / How to Explain Test Automation Framework In Interview

How to Explain Test Automation Framework In Interview

February 25, 2021 by Mukesh Otwani 12 Comments

If you are attending an interview for the Automation profile then this is going to be the default question for you. In this post, I will guide you How to Explain Test Automation Framework In an Interview for Selenium.

There is 2 kind of framework in the market.
1- Free Open Source framework like Serenity, Katalium, Selenide, etc which is designed by set of people and we will use the same for our script

2- Custom framework- When we create or design a framework from scratch based on our needs then we have more options to customize it.

How To Explain Test Automation Framework In Interview

There is no fixed format of the framework but we need to design framework which standard component which will help us to achieve maximum result with less maintenance.

The framework is a set of rules/assumptions/guidelines to achieve the desired goal.

Test Automation Framework should have the below features.
Reusable
    Scalable
    Low maintenance

I have a detailed step-by-step video for Hybrid Framework on my channel, please watch Hybrid Framework for more clarification. 

We will be using the different components in the framework and each component plays a huge role in our framework.

We are going to use Java as a programming language, TestNG as a Unit Test Framework, Maven as a Build tool, Jenkins as CI Server, Apache POI for reading and writing excel, Extent report for reporting, POM (Page Object Model as design pattern) and few more.

 

Explain component one by one

TestData – This component will maintain data for our test. We are using Apache POI which is dealing with excel and properties file which have config details for our test.

Report and Log- This component generates logs and reports for our test and we are using Extent Report for the same.

Utility– This component deals with a common utility which is a project independent like capturing a screenshot, wait for alert, wait for web element, etc.

Test Script/ Test Cases– This component has the main test or script which performs the test on our application.

Pages – We are using the Page Object Model which is one of the design patterns for test automation and here we are maintaining all application pages. Each page contains locators and activities on the elements.

Runner– This component runs our test script. Basically, we have a set of testng.xml files (each XML has some set of test cases )which we have configured in Maven and we are running maven build via Jenkins.

Source Control- We are maintaining code on Github/Gitlab and Jenkins pulls the code from the same while running.

 

I also have a detailed video on the same which covers about the same.

 

 

This is how you can break down all components one by one and each component you can explain in detail.

I have detailed articles on each and every topic. I hope this post might have helped you. Do share with your friends and I will see you in the next post.

Filed Under: Interview, Interview Questions Tagged With: How to Explain Test Automation Framework In Interview

Reader Interactions

Comments

  1. Hasib says

    April 7, 2022 at 4:51 PM

    HI, Need all code of Framework.can u please mail me.

    Reply
    • Mukesh Otwani says

      April 9, 2022 at 10:06 AM

      Hi Hasib,

      If you are looking for one in all frameworks, then clone it from here

      Reply
  2. Sharad says

    November 4, 2021 at 6:43 PM

    Good Explain

    Reply
    • Mukesh Otwani says

      November 5, 2021 at 10:18 AM

      Thanks, Sharad 🙂
      You’re always welcome to ask doubts & queries. I’ll try my level best to answer them.

      Reply
  3. Manish sewlikar says

    August 27, 2021 at 8:31 AM

    natural explanation Mukesh thanks lot

    Reply
    • Mukesh Otwani says

      August 27, 2021 at 1:36 PM

      Thanks, Manish…)

      Reply
  4. RANJAN V says

    June 17, 2021 at 3:54 PM

    Nice one)))

    Reply
    • Mukesh Otwani says

      June 18, 2021 at 1:35 AM

      Thanks Ranjan…:)

      Reply
  5. Tarun Krishnaswamy says

    April 28, 2021 at 8:20 PM

    I am starting late. I hope I get where the other’s are. This was a good and well organized read. I subscribed.
    Thanks a lot Mukesh

    Reply
    • Mukesh Otwani says

      April 28, 2021 at 10:01 PM

      You are welcome to my blog. Keep learning…:)

      Reply
  6. Selenium says

    April 1, 2021 at 11:02 PM

    Nice, Good read

    Reply
    • Mukesh Otwani says

      April 3, 2021 at 9:00 PM

      Thanks Pavan…:)

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Free Selenium Videos

https://www.youtube.com/watch?v=w_iPCT1ETO4

Search topic

Top Posts & Pages

  • Selenium Webdriver tutorial for beginners
  • How To Fix Eclipse Autocomplete Or Code Suggestion In Eclipse
  • Selenium Webdriver C# Tutorial
  • WHAT ARE YOUR EXPECTATIONS FROM US?

Stay connected via Facebook

Stay connected via Facebook

Archives

Footer

Categories

Recent Post

  • API Testing Using Postman And RestAssured
  • Disable Personalise Your Web Experience Microsoft Edge Prompt In Selenium
  • How To Fix Error: No tests found In Playwright
  • How To Fix Eclipse Autocomplete Or Code Suggestion In Eclipse
  • Best and easy way to Group test cases in selenium

Top Posts & Pages

  • Selenium Webdriver tutorial for beginners
  • How To Fix Eclipse Autocomplete Or Code Suggestion In Eclipse
  • Selenium Webdriver C# Tutorial
  • WHAT ARE YOUR EXPECTATIONS FROM US?