Member-only story
Top Automation QA Interview Questions Asked at Infosys.
🧑💻 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…