LTI MindTree QA Engineer Interview Prep
LTI MindTree QA Engineer Interview Prep
Preparation
Selenium / Automation Framework
Q: How do you locate elements in Selenium?
A: You can locate elements using locators like By.id, By.name, By.className, By.linkText,
By.partialLinkText, By.cssSelector, and By.xpath.
A: For alerts, use driver.switchTo().alert(). For popups, handle with window handles. For
iframes, use driver.switchTo().frame().
A: Implicit wait sets a default wait time for the driver. Explicit wait waits for a specific
condition before proceeding. Fluent wait defines max wait time, polling frequency, and can
ignore exceptions.
A: POM is a design pattern where each page of the application is represented by a class. It
improves readability, maintainability, and reusability of test code.
Programming (Java/Python)
Q: Difference between abstract class and interface in Java.
A: Abstract class can have both abstract and concrete methods. Interface only had abstract
methods before Java 8, but from Java 8 onwards it can have default and static methods.
A: Using try-catch blocks. 'throw' is used to throw an exception, while 'throws' declares
exceptions in the method signature.
A: List allows duplicates and maintains order, Set does not allow duplicates, and Map stores
key-value pairs.
QA Methodologies
Q: What are different types of testing?
A: Regression testing ensures that new changes have not broken existing functionality.
Managed using automation suites and CI/CD pipelines.
A: Severity is the impact of the bug on the system, priority is the order in which the bug
should be fixed.
Q: Have you worked with Git? What commands do you use daily?
A: Common commands: git clone, git pull, git add, git commit, git push, git checkout, git
branch.
A: By creating a Jenkins job that runs Maven/Gradle commands to execute test suites, and
integrates reports like Allure or Extent.
A: CI/CD pipeline automates building, testing, and deployment of code. It ensures quick
feedback, faster delivery, and reliable software quality.