Senior QA Engineer

200+ Senior QA Engineer Interview Questions and Answers

Updated 2 Jul 2025
search-icon

Asked in LinkedIn

4d ago

Q. Combination Sum Problem Statement

Given an array of distinct positive integers ARR and a non-negative integer 'B', find all unique combinations in the array where the sum is equal to 'B'. Numbers can be chosen ...read more

Ans.

The task is to find all unique combinations in an array where the sum is equal to a given target sum, with elements in non-decreasing order.

  • Use backtracking to generate all possible combinations.

  • Sort the array to ensure elements are in non-decreasing order.

  • Keep track of the current combination and sum while exploring the array.

  • Recursively explore all possible combinations.

  • Return the valid combinations that sum up to the target sum.

3d ago

Q. Next Greater Number Problem Statement

Given a string S which represents a number, determine the smallest number strictly greater than the original number composed of the same digits. Each digit's frequency from...read more

Ans.

The task is to find the smallest number greater than the given number with the same set of digits.

  • Iterate from right to left to find the first digit that can be swapped with a larger digit to make the number greater.

  • Swap this digit with the smallest digit to its right that is larger than it.

  • Sort all digits to the right of the swapped digit in ascending order to get the smallest number.

  • If no such number exists, return -1.

  • Example: For input '56789', output '56798'.

Senior QA Engineer Interview Questions and Answers for Freshers

illustration image
6d ago

Q. How do you retrieve data from a file using Selenium?

Ans.

To get data from a file in Selenium, we can use Java IO classes and read the file content.

  • Create a File object with the file path

  • Create a FileReader object with the File object

  • Create a BufferedReader object with the FileReader object

  • Use the BufferedReader object to read the file content line by line

  • Close the BufferedReader object

3d ago

Q. If you have two threads, and one thread burns completely in 30 minutes, how can you measure 45 minutes?

Ans.

To count 45 minutes with 2 threads, burn the first thread at both ends and the second thread at one end.

  • Burn the first thread at both ends, it will last for 15 minutes.

  • At the same time, burn the second thread at one end.

  • When the first thread is burnt out, light the other end of the second thread.

  • The second thread will last for 30 minutes, completing the 45 minutes.

  • This is an example of using logic and creativity to solve a problem.

Are these interview questions helpful?
1d ago

Q. How can you execute a test case multiple times?

Ans.

Test case can be executed multiple times using automation tools or by manually running the test case.

  • Use automation tools like Selenium or Appium to execute test cases multiple times.

  • Create a loop in the automation script to execute the test case multiple times.

  • Manually execute the test case multiple times by following the steps in the test case document.

  • Use data-driven testing to execute the same test case with different input values.

  • Use random testing to execute the test ca...read more

Asked in Tata Motors

4d ago

Q. What is the difference between QC and QA?

Ans.

QA is the process of preventing defects while QC is the process of identifying defects.

  • QA focuses on preventing defects from occurring in the first place

  • QC focuses on identifying defects after they have occurred

  • QA is a proactive approach while QC is a reactive approach

  • QA involves processes such as reviews, inspections, and testing

  • QC involves processes such as testing, debugging, and fixing defects

  • Example: QA involves creating test plans and test cases to prevent defects, whil...read more

Senior QA Engineer Jobs

Shapoorji Pallonji Group logo
Deputy Manager/Senior Engineer-QA/QC 9-14 years
Shapoorji Pallonji Group
4.1
Karwar
Thomson Reuters International Services Pvt Ltd logo
Senior QA Engineer 6-11 years
Thomson Reuters International Services Pvt Ltd
4.1
Bangalore / Bengaluru
Thomson Reuters International Services Pvt Ltd logo
Senior QA Engineer 7-12 years
Thomson Reuters International Services Pvt Ltd
4.1
Bangalore / Bengaluru

Asked in Milliman

2d ago

Q. What is the role of QA when the built functionality does not match the requirements?

Ans.

QA plays a crucial role in identifying and communicating the discrepancies between built functionality and requirements.

  • QA should thoroughly review the requirements documentation to understand the expected functionality.

  • QA should conduct thorough testing to identify any discrepancies between the built functionality and the requirements.

  • QA should communicate any discrepancies found to the development team and stakeholders for resolution.

  • QA should work closely with the developm...read more

6d ago

Q. How can you exclude a test case from execution?

Ans.

A test case can be excluded from execution by using tags or annotations.

  • Add a tag or annotation to the test case with a specific value

  • Configure the test runner to exclude test cases with that tag or annotation

  • Use conditional statements in the test code to skip the test case based on certain conditions

Share interview questions and help millions of jobseekers 🌟

man-with-laptop
4d ago

Q. What are alpha testing and beta testing?

Ans.

Alpha testing and beta testing are two types of software testing performed before releasing the software to the public.

  • Alpha testing is performed by the developers in-house, before releasing the software to external testers.

  • Beta testing is performed by external testers, after the software has been released to a limited audience.

  • Alpha testing is focused on identifying bugs and issues in the software, while beta testing is focused on gathering feedback from users.

  • Alpha testing ...read more

Asked in Milliman

2d ago

Q. What new things have you contributed to your current project to improve the overall quality process?

Ans.

Implemented automated test scripts using Selenium for regression testing, introduced code review process for test scripts, and conducted training sessions on new testing tools.

  • Implemented automated test scripts using Selenium for regression testing

  • Introduced code review process for test scripts

  • Conducted training sessions on new testing tools

Asked in Milliman

1d ago

Q. How many offer letters you hold? Current CTC, Expected CTC

Ans.

I currently hold 2 offer letters. My current CTC is $80,000 and my expected CTC is $90,000.

  • I hold 2 offer letters

  • Current CTC is $80,000

  • Expected CTC is $90,000

Asked in Coforge

1d ago

Q. 1. infotest INFOTEST info How to do correlation that INFOTEST should print. 2. Knowledge in AWS 3. Difference between parametrization and correlation 4. Challanges in correlation in your previous projects 5. If...

read more
Ans.

Correlation in performance testing, AWS knowledge, parametrization vs correlation, challenges in correlation, motivating new customers for performance testing, using perfmon, rampup/rampdown/steady state, concurrent vs simultaneous users, matrices in HTML report

  • Correlation in performance testing ensures that the response time of different components in a system are correlated to each other

  • AWS knowledge is important for understanding cloud-based performance testing environment...read more

3d ago

Q. Write a program to extract and print all alphabets from the string "selenium 123java456". The expected output is "seleniumjava".

Ans.

Write a program to print all the alphabets from a given string.

  • Loop through each character in the string

  • Check if the character is an alphabet using isalpha() function

  • If it is an alphabet, add it to a new string

  • Print the new string

Q. what is regression testing,smoke,functional testing, what is your current roles and responsibility, What is severity and priority of bug. Which automation tools and framework have you used.

Ans.

Regression, smoke, and functional testing are types of software testing. Severity and priority of bugs are important factors in bug reporting. Automation tools and frameworks are used to automate testing processes.

  • Regression testing is performed to ensure that changes made to the software do not affect the existing functionality.

  • Smoke testing is a quick test to ensure that the basic functionality of the software is working.

  • Functional testing is performed to ensure that the so...read more

Asked in MakeMyTrip

2d ago

Q. Write a program to find all possible combinations of elements from two arrays such that the sum of the elements equals one of the elements in the array itself.

Ans.

Program to find all possible combinations of elements from two sets of arrays such that the sum of elements is equal to one of the elements in the array itself.

  • Create two arrays of integers

  • Loop through both arrays and find all possible combinations

  • Check if the sum of elements is equal to any element in the array

  • Return all combinations that meet the criteria

Asked in Infosys

1d ago

Q. What is the difference between a List and a Set?

Ans.

List is an ordered collection of elements while Set is an unordered collection of unique elements.

  • List allows duplicate elements while Set does not.

  • List maintains the order of elements while Set does not.

  • List is implemented using an array while Set is implemented using a hash table.

  • Example: List - [1, 2, 3, 3, 4], Set - {1, 2, 3, 4}

Q. what is difference between regression and retesting. what all thing are included in regression testing.

Ans.

Regression testing is testing the entire application after a change, while retesting is testing a specific bug fix.

  • Regression testing is done to ensure that new code changes do not adversely affect existing functionality.

  • Retesting is done to verify that a specific bug or issue has been fixed.

  • Regression testing includes testing all the previously tested features to ensure they still work correctly.

  • Retesting focuses on the specific bug or issue that was fixed.

  • Examples of regres...read more

Asked in Milliman

4d ago

Q. Overall tools used for database, build deployment, bug tracking, test case/plan track

Ans.

Various tools used for database, build deployment, bug tracking, and test case/plan tracking in QA engineering.

  • Database: SQL Server, MySQL, Oracle

  • Build Deployment: Jenkins, TeamCity, Bamboo

  • Bug Tracking: Jira, Bugzilla, Redmine

  • Test Case/Plan Tracking: TestRail, HP ALM, Zephyr

Asked in Milliman

4d ago

Q. Are you comfortable coming to the office regularly, even though it is a hybrid model?

Ans.

Yes, I am comfortable with coming to the office regularly in a hybrid model.

  • I value face-to-face interactions with team members for better collaboration and communication.

  • I am able to manage my time effectively to balance office and remote work.

  • I understand the importance of being present in the office for certain tasks or meetings.

  • I am adaptable and flexible in my work environment.

Asked in Stryker

4d ago

Q. What is the difference between Quality Control and Quality Assurance?

Ans.

Quality Control focuses on identifying defects in the final product, while Quality Assurance focuses on preventing defects from occurring in the first place.

  • Quality Control is product oriented, while Quality Assurance is process oriented

  • Quality Control involves testing and inspecting the final product, while Quality Assurance involves establishing processes and standards to prevent defects

  • Quality Control occurs after the product is developed, while Quality Assurance occurs th...read more

Asked in MakeMyTrip

3d ago

Q. Write a program to find the next bigger number for the given number by just interchanging its digits. For example, for a given number, the answer is the next bigger number formed by interchanging its digits.

Ans.

Program to find the next bigger number for the given number by interchanging its digits.

  • Convert the number to a string to access individual digits

  • Start from the rightmost digit and find the first digit that is smaller than the digit to its right

  • Swap this digit with the smallest digit to its right that is greater than it

  • Sort the digits to the right of the swapped digit in ascending order

  • Convert the string back to a number and return

Asked in ServiceNow

6d ago

Q. Given a String contains only 0s, 1s and 2s, count the number of sub strings that have equal number of 0s, 1s, and 2s.

Ans.

Count the number of substrings with equal number of 0s, 1s, and 2s in a given string.

  • Iterate through the string and maintain counts of 0s, 1s, and 2s encountered so far.

  • Keep track of the counts in a hashmap and increment the count of substrings whenever counts of 0s, 1s, and 2s are equal.

  • Return the total count of substrings at the end.

Q. How can you run n number of test cases in Java without compiling?

Ans.

Use a test automation tool like Selenium or Appium to run test cases without compiling in Java.

  • Choose a test automation tool that supports your application's technology stack.

  • Write test cases in the tool's scripting language or record them using the tool's recorder.

  • Execute the test cases using the tool's runner or integration with a continuous integration tool.

  • View the test results and debug failures as needed.

Asked in ServiceNow

2d ago

Q. Given an array of strings, group the anagrams together. Example: Input: ["eat", "tea", "tan", "ate", "nat", "bat"] Output: [["eat" ,"tea", "ate"],["tan", "nat"],["bat"]]

Ans.

Group anagrams together in an array of strings.

  • Create a hashmap to store sorted strings as keys and corresponding anagrams as values.

  • Iterate through the input array, sort each string, and add it to the hashmap.

  • Return the values of the hashmap as the grouped anagrams.

Asked in Milliman

5d ago

Q. Experience in automation testing, any learning in AI or other

Ans.

I have extensive experience in automation testing and have also taken courses in AI and machine learning.

  • I have worked on creating automation frameworks using tools like Selenium and Appium.

  • I have taken online courses on AI and machine learning to enhance my skills in these areas.

  • I have implemented AI-based testing techniques like neural networks for test automation.

4d ago

Q. How would you arrange the numbers on two dice to represent calendar dates?

Ans.

Arrange the numbers on two dice to show the calendar dates

  • Assign the numbers 0-9 to each dot on the dice

  • Use one die to represent the tens digit and the other for the ones digit

  • For example, 1st of January can be represented as 01 on the dice

4d ago

Q. How do you find the selected option text from a dropdown in Selenium?

Ans.

To find the selected option text from a dropdown in Selenium, you can use the getFirstSelectedOption() method.

  • Use the Select class to work with dropdown elements in Selenium

  • Use the getFirstSelectedOption() method to get the selected option

  • Retrieve the text of the selected option using getText() method

6d ago

Q. How do you switch to a frame and then switch back out of it in Selenium?

Ans.

To switch to a frame in Selenium, use driver.switchTo().frame() method. To come out of a frame, use driver.switchTo().defaultContent() method.

  • Use driver.switchTo().frame() method to switch to a frame

  • Use driver.switchTo().defaultContent() method to come out of a frame

  • Example: driver.switchTo().frame("frameName");

  • Example: driver.switchTo().defaultContent();

1d ago

Q. Given a dropdown containing options with duplicates, how would you find the duplicates and their frequency?

Ans.

Find duplicates in a dropdown along with their occurrence/frequency.

  • Iterate through the dropdown options and store each option in a hashmap with its frequency.

  • Identify options with frequency greater than 1 as duplicates.

  • Return the duplicates along with their occurrence/frequency.

Q. How would you automate the following feature: A parent node with multiple child nodes attached to it, where you can read and modify the node names?

Ans.

Automate feature to read and modify parent and child nodes

  • Use a scripting language like Python to automate the process

  • Identify parent nodes and their corresponding child nodes

  • Implement functions to read and modify node names

  • Utilize libraries like Selenium for web automation if nodes are on a webpage

1
2
3
4
5
6
7
Next

Interview Experiences of Popular Companies

Wipro Logo
3.7
 • 6.1k Interviews
Capgemini Logo
3.7
 • 5.1k Interviews
LTIMindtree Logo
3.7
 • 3k Interviews
Oracle Logo
3.7
 • 893 Interviews
Paytm Logo
3.2
 • 799 Interviews
View all
interview tips and stories logo
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary

Senior QA Engineer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
play-icon
play-icon
qr-code
Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+

Reviews

10L+

Interviews

4 Cr+

Salaries

1.5 Cr+

Users

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2025 Info Edge (India) Ltd.

Follow Us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter
Profile Image
Hello, Guest
AmbitionBox Employee Choice Awards 2025
Winners announced!
awards-icon
Contribute to help millions!
Write a review
Write a review
Share interview
Share interview
Contribute salary
Contribute salary
Add office photos
Add office photos
Add office benefits
Add office benefits