Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
43 views3 pages

LTI MindTree QA Engineer Interview Prep

this a interview question to study for an Interview QA Automation

Uploaded by

systemgil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views3 pages

LTI MindTree QA Engineer Interview Prep

this a interview question to study for an Interview QA Automation

Uploaded by

systemgil
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

LTI MindTree - QA Engineer Interview

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.

 Q: Difference between findElement and findElements.

A: findElement returns the first matching element or throws NoSuchElementException if


not found. findElements returns a list of matching elements, or an empty list if none found.

 Q: How do you handle dynamic elements in Selenium?

A: By using dynamic XPath with contains(), starts-with(), or by combining attributes.


Sometimes explicit waits are also used until the element is available.

 Q: How to handle alerts, popups, or iframes in Selenium?

A: For alerts, use driver.switchTo().alert(). For popups, handle with window handles. For
iframes, use driver.switchTo().frame().

 Q: What are implicit, explicit, and fluent waits?

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.

 Q: Explain the Page Object Model (POM).

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.

 Q: What are OOP principles?


A: Encapsulation, Inheritance, Polymorphism, and Abstraction.

 Q: How do you handle exceptions?

A: Using try-catch blocks. 'throw' is used to throw an exception, while 'throws' declares
exceptions in the method signature.

 Q: Collections framework basics: List vs Set vs Map.

A: List allows duplicates and maintains order, Set does not allow duplicates, and Map stores
key-value pairs.

 Q: Write a Java program to reverse a string.

A: String input = "hello"; String reversed = new StringBuilder(input).reverse().toString();

QA Methodologies
 Q: What are different types of testing?

A: Smoke, Regression, Sanity, UAT, Integration, System testing.

 Q: What’s the difference between functional and non-functional testing?

A: Functional testing checks the functionality as per requirements, while non-functional


testing checks performance, usability, reliability, etc.

 Q: How do you decide which test cases to automate?

A: I choose repetitive, regression-heavy, high-risk, and time-consuming test cases for


automation.

 Q: What is regression testing and how do you manage it?

A: Regression testing ensures that new changes have not broken existing functionality.
Managed using automation suites and CI/CD pipelines.

 Q: Difference between severity and priority in defect reporting?

A: Severity is the impact of the bug on the system, priority is the order in which the bug
should be fixed.

Agile / CI/CD / Tools


 Q: What are the ceremonies in Scrum?

A: Sprint planning, Daily stand-up, Sprint review, and Sprint retrospective.

 Q: How do you participate in sprint planning and retrospectives as a QA?


A: I help estimate testing effort, identify test scenarios, raise risks, and suggest
improvements in retrospectives.

 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.

 Q: How do you trigger Selenium test execution from Jenkins?

A: By creating a Jenkins job that runs Maven/Gradle commands to execute test suites, and
integrates reports like Allure or Extent.

 Q: What is a CI/CD pipeline and why is it important for QA automation?

A: CI/CD pipeline automates building, testing, and deployment of code. It ensures quick
feedback, faster delivery, and reliable software quality.

You might also like