Senior QA Engineer
200+ Senior QA Engineer Interview Questions and Answers

Asked in LinkedIn

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

Asked in Goldman Sachs

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

Asked in QBurst Technologies

Q. How do you retrieve data from a file using Selenium?
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

Asked in Dassault Systemes

Q. If you have two threads, and one thread burns completely in 30 minutes, how can you measure 45 minutes?
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.

Asked in QBurst Technologies

Q. How can you execute a test case multiple times?
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

Q. What is the difference between QC and QA?
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




Asked in Milliman

Q. What is the role of QA when the built functionality does not match the requirements?
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

Asked in QBurst Technologies

Q. How can you exclude a test case from execution?
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 🌟

Asked in QBurst Technologies

Q. What are alpha testing and beta testing?
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

Q. What new things have you contributed to your current project to improve the overall quality process?
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

Q. How many offer letters you hold? Current CTC, Expected CTC
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

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 moreCorrelation 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

Asked in Cigniti Technologies

Q. Write a program to extract and print all alphabets from the string "selenium 123java456". The expected output is "seleniumjava".
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

Asked in Analytix Business Solutions

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

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

Q. What is the difference between a List and a Set?
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}

Asked in EMERSON PROCESS MANAGEMENT

Q. what is difference between regression and retesting. what all thing are included in regression testing.
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

Q. Overall tools used for database, build deployment, bug tracking, test case/plan track
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

Q. Are you comfortable coming to the office regularly, even though it is a hybrid model?
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

Q. What is the difference between Quality Control and Quality Assurance?
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

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

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

Asked in Nineleaps Technology Solutions

Q. How can you run n number of test cases in Java without compiling?
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

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"]]
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

Q. Experience in automation testing, any learning in AI or other
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.
Asked in Paytm Insider

Q. How would you arrange the numbers on two dice to represent calendar dates?
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

Asked in Tech Mahindra

Q. How do you find the selected option text from a dropdown in Selenium?
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

Asked in Tech Mahindra

Q. How do you switch to a frame and then switch back out of it in Selenium?
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();

Asked in Tech Mahindra

Q. Given a dropdown containing options with duplicates, how would you find the duplicates and their frequency?
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.

Asked in EMERSON PROCESS MANAGEMENT

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?
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
Interview Questions of Similar Designations
Interview Experiences of Popular Companies





Top Interview Questions for Senior QA Engineer Related Skills

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


Reviews
Interviews
Salaries
Users

