๐ฅ๐ผ๐๐ป๐ฑ ๐ญ โ ๐๐ผ๐ฟ๐ฒ ๐๐๐๐ผ๐บ๐ฎ๐๐ถ๐ผ๐ป & ๐๐ฎ๐๐ฎ
1- Explain your complete Automation
Framework architecture and the tools used.
2- Write the framework code for a Login page using the Page Object Model (POM).
3- Read test data from Excel and pass the Username & Password to the UI.
4- Java Program:
Input:
“I Love Java”
Output:
Java Love I
5- Java Program:
Input:
“I Love Java”
Output:
avaJ evoL I
6- Java Program:
Input:
abc-2019
Output:
abc
2019
7- Explain the practical use cases of StringBuffer.
๐ฅ๐ผ๐๐ป๐ฑ ๐ฎ โ ๐๐ฑ๐๐ฎ๐ป๐ฐ๐ฒ๐ฑ ๐๐๐๐ผ๐บ๐ฎ๐๐ถ๐ผ๐ป & ๐๐ฟ๐ฎ๐บ๐ฒ๐๐ผ๐ฟ๐ธ ๐๐ฒ๐๐ถ๐ด๐ป
1- What is the output?
String name = “Madhu”;
name.toUpperCase();
System.out.println(name);
2- Explain the TestNG framework in detail.
3- How would you store multiple values for the same key in Java Collections?
Example:
fruit โ apple
fruit โ mango
4- In TestNG, how do you execute @Test1 only after @Test2 has completed successfully?
5- How do you rerun failed test cases?
6- What is your testing approach on Day 1 of a Sprint?
7- Which Regression Suites do you execute first (P1, P2, P3), and why?
8- How do you decide which locator strategy to use in Selenium?
9- Explain your Regression Testing strategy for both Manual and Automation Testing.
10- Explain the difference between Smoke Testing and Sanity Testing.
11- Difference between throw and throws in Java.
12- Why is the final keyword important?
13- What is the purpose of the finalize() method?
14- When should you use the final keyword?
15- Why do Automation Frameworks use Jenkins and Maven?
Mphasis QA Automation Interview Questions (6+ Years)
By: Rohit BARAHATE
On: July 7, 2026
---Advertisement---
