Sitemap

Top Automation QA Interview Questions Asked at Infosys.

6 min readApr 23, 2025

🧑‍💻 1. Brief Introduction

Hi! I’m an SDET (Software Development Engineer in Test) with hands-on experience in designing automated test frameworks, writing scalable test cases, and working with modern tools and technologies like Selenium, TestNG, RestAssured, and CI/CD pipelines. I’m passionate about improving product quality and performance through robust automated testing and collaboration with development teams.

2. Three OOPs Concepts Used in Test Automation Frameworks

1. Encapsulation

  • What it is: Wrapping data (variables) and methods into a single unit, i.e., class.
  • Usage in Framework: We encapsulate web elements and actions inside Page Object Model (POM) classes to avoid code duplication.
  • Example:
public class LoginPage {
private WebElement username = driver.findElement(By.id("username"));
public void enterUsername(String user) {
username.sendKeys(user);
}
}

2. Inheritance

  • What it is: One class inherits properties and behavior from another.
  • Usage in Framework: Commonly used to create base classes for common setup/teardown…

Create an account to read the full story.

The author made this story available to Medium members only.
If you’re new to Medium, create a new account to read this story on us.

Or, continue in mobile web
Already have an account? Sign in

Responses (2)

To respond to this story,
get the free Medium app.

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
I really appreciate the depth of research you’ve put into this piece—it shows a strong command of the subject.🍸✌️ Please feel free to explore my stories too. 🍸✌️
I really appreciate the depth of research you’ve put into this piece—it shows a strong command of the subject.🍸✌️ Please feel free to explore my stories too. 🍸✌️