QA Engineer
1000+ QA Engineer Interview Questions and Answers
Q51. Write selenium automation code for login yatra.com and add to cart
Selenium code to login and add to cart on yatra.com
Launch the yatra.com website
Enter login credentials and click on login button
Search for desired product and add to cart
Verify the product is added to cart
Q52. Difference between Quality Assurance and Quality Control
Quality Assurance focuses on preventing defects, while Quality Control focuses on identifying and fixing defects.
Quality Assurance is a proactive process that involves establishing and maintaining standards, processes, and procedures to prevent defects.
Quality Control is a reactive process that involves inspecting and testing products or services to identify and fix defects.
Quality Assurance is focused on the entire software development lifecycle, ensuring that quality is bui...read more
Q53. Which of the following is an appropriate positive test case for a login system?
Entering valid username and password and successfully logging in
Enter a valid username and password
Click on the login button
Verify that the user is successfully logged in
Q54. What is the least count of vernier caliper
The least count of a vernier caliper is the smallest measurement that can be read on the scale.
The least count is determined by the number of divisions on the main scale and the vernier scale.
It is calculated by dividing the smallest division on the main scale by the number of divisions on the vernier scale.
For example, if the smallest division on the main scale is 0.1 mm and the vernier scale has 10 divisions, the least count would be 0.01 mm.
Q55. Which of the following test cases is most appropriate for testing the security of a login system?
Test case with invalid credentials and check for error message
Test with invalid username and password
Check for error message displayed
Test with SQL injection
Test with brute force attack
Test with session timeout
Q56. Visit the plant and tell me the problems and the non conformity in the processes that conducting in the manufacturing of products
Identifying problems and non-conformities in manufacturing processes during plant visit.
Observe the production line for any bottlenecks or delays
Check if the workers are following safety protocols
Inspect the quality of raw materials used in production
Review the documentation and records of the manufacturing process
Identify any deviations from the standard operating procedures
Look for any equipment or machinery that needs maintenance or repair
Check if the finished products mee...read more
Share interview questions and help millions of jobseekers 🌟
Q57. 4)How to face vendor company issue for poor quality?
Address the issue with the vendor company by following a structured approach.
Identify the root cause of the poor quality
Communicate the issue to the vendor company in a professional manner
Provide evidence to support your claim
Work with the vendor company to come up with a solution
Set clear expectations for future quality standards
Q58. 7)What type of measuring instrument do you have handle ?
As a QA Engineer, I have experience handling various measuring instruments such as calipers, micrometers, gauges, and rulers.
Calipers
Micrometers
Gauges
Rulers
QA Engineer Jobs
Q59. How to write e2e tests in automation?
E2E tests in automation are written to simulate real user scenarios from start to finish.
Identify end-to-end scenarios to test
Use automation tools like Selenium or Cypress
Write test scripts to simulate user actions
Verify expected outcomes and results
Run tests regularly to ensure functionality
Q60. Python star pattern 1 12 123, Differnce between List and Dictionary
Python star pattern 1 12 123 is a pattern printing question. List and Dictionary are data structures in Python.
Python star pattern 1 12 123 can be achieved using nested loops.
Lists are ordered collections of items, accessed by index. Dictionaries are key-value pairs, accessed by key.
Example: List - [1, 2, 3], Dictionary - {'a': 1, 'b': 2, 'c': 3}
Q61. What is the major difference between driver.close() and driver.quit()?
driver.close() closes the current window while driver.quit() closes all windows and ends the session.
driver.close() only closes the current window while driver.quit() closes all windows and ends the session
driver.close() can be used when multiple windows are open and you want to close only one of them
driver.quit() should be used at the end of the script to ensure all windows are closed and the session is ended
Q62. SQL Commands Writing Test Cases for any Product Type of testing
SQL commands are used to interact with databases, writing test cases involves creating scenarios to test product functionality, types of testing include unit, integration, regression, etc.
SQL commands like SELECT, INSERT, UPDATE, DELETE are used to retrieve, add, modify, and delete data in databases
Writing test cases involves creating scenarios to test different aspects of the product such as functionality, performance, security, etc.
Types of testing include unit testing to t...read more
Q63. Types of instruments & use of beval protector or how to cal list count
Bevel protectors are used to protect the edges of instruments. Calibration is important for accurate measurement.
Bevel protectors are used to prevent damage to the edges of instruments.
Calibration ensures accurate measurement of instruments.
Counting instruments is important for inventory management.
Types of instruments include measuring tools, cutting tools, and diagnostic tools.
Q64. What is BBT?
BBT stands for Behavior-Based Testing, a software testing technique that focuses on the behavior of the system under test.
BBT involves creating test cases based on the expected behavior of the system
It is a black-box testing technique that does not require knowledge of the internal workings of the system
BBT can be used to test both functional and non-functional requirements
Examples of BBT tools include Selenium, Cucumber, and FitNesse
Q65. What technologies are you working?
I am currently working with Selenium WebDriver, JIRA, and Jenkins.
Selenium WebDriver for automated testing
JIRA for bug tracking and project management
Jenkins for continuous integration and deployment
Q66. 1.Is the given string is pallindrome. 2.what is inheritance ? 3.Explain STLC 4.Do you know Agile Testing ? 5.Different testing approach. 6.White box and black box. 7.Explain any SDLC model .
The interview questions cover topics like palindrome checking, inheritance, STLC, Agile Testing, testing approaches, white box vs black box testing, and SDLC models.
Palindrome checking involves determining if a string reads the same forwards and backwards.
Inheritance in programming allows a class to inherit properties and methods from another class.
STLC (Software Testing Life Cycle) is a series of steps followed to ensure high-quality software.
Agile Testing is a software test...read more
Q67. What is API? what are the different status codes ? how 400 status code gets explain in details
API stands for Application Programming Interface. It is a set of protocols and tools for building software applications.
API allows different software applications to communicate with each other
APIs can be used to retrieve data from a remote server
APIs can be used to send data to a remote server
APIs can be used to perform actions on a remote server
HTTP status codes are used to indicate the status of a request
400 status code indicates a bad request
400 status code is returned wh...read more
Q68. What is the difference between TDD and BDD?
TDD focuses on testing the functionality of individual units of code, while BDD focuses on testing the behavior of the system as a whole.
TDD stands for Test-Driven Development, where tests are written before the code is implemented to drive the development process.
BDD stands for Behavior-Driven Development, where tests are written in a human-readable format to describe the behavior of the system.
TDD is more focused on the technical aspects of the code, ensuring that individua...read more
Q69. What is Interface. What are the interface in selenium
An interface is a contract between two entities defining the communication between them. In Selenium, interfaces are used to define the behavior of web elements.
An interface defines a set of methods that a class implementing it must implement
In Selenium, the WebElement interface is used to interact with web elements on a page
Other interfaces in Selenium include WebDriver, TakesScreenshot, and JavascriptExecutor
Interfaces allow for abstraction and modularity in code
Q70. Write a code for launching 100 windows and select a particular window from opened tabs
Launch 100 windows and select a particular window from opened tabs
Use a loop to launch 100 windows
Keep track of each window's handle or identifier
Use the handle or identifier to select the desired window
Q71. write a code for sorting the elements in array and result should be without duplicates
Code to sort array elements without duplicates
Use a Set to store unique elements while iterating through the array
Convert the Set back to an array for the final result
Use Array.sort() method to sort the elements in the array
Q72. 1.What is quality.2. What is MSA.3.how many years of experienced I have.4Some gauges least count.5.Some knowledge about drawing
Questions related to quality, MSA, experience, gauges least count, and drawing knowledge for QA Engineer position.
Quality refers to the degree of excellence of a product or service.
MSA stands for Measurement System Analysis, which is a statistical method used to determine the accuracy and precision of a measurement system.
Years of experience in QA field is important for this position.
Least count is the smallest value that can be measured by a gauge.
Knowledge about drawing is ...read more
Q73. Write xpath and css selectors for some elements present on that element.
The candidate is asked to write XPath and CSS selectors for elements on a webpage.
XPath is a language used to navigate XML documents and can be used to locate elements on a webpage.
CSS selectors are patterns used to select elements on a webpage based on their attributes.
XPath selectors start with a forward slash (/) and can traverse the DOM hierarchy.
CSS selectors can select elements based on their tag name, class, ID, or other attributes.
Examples of XPath selector: /html/bod...read more
Q74. Write a program to store the characters of a string in arraylist and print the arraylist.
Program to store characters of a string in an arraylist and print it.
Create an ArrayList to store characters
Iterate through the string and add each character to the ArrayList
Print the ArrayList
Q75. 3. What are priority and severity. Explain level with example.
Priority and severity are terms used in software testing to indicate the importance and impact of a defect.
Priority refers to the level of urgency in fixing a defect, based on its impact on the system and business goals.
Severity refers to the degree of impact a defect has on the system's functionality and user experience.
Priority and severity are often assigned numerical values or labels, such as high, medium, or low.
Examples of high priority and severity defects include crit...read more
Q76. If module have 10 bugs and if have no bug . What is in your mind why this so
The number of bugs in a module can vary due to various factors.
The complexity of the module can affect the number of bugs.
The experience and skill level of the developer can also play a role.
The testing process can catch and eliminate bugs before release.
The use of automated testing tools can help identify and fix bugs.
The quality of the code review process can also impact the number of bugs.
The use of best practices and coding standards can reduce the likelihood of bugs.
Q77. what is Object Oriented Programming and define its features?
Object Oriented Programming is a programming paradigm that uses objects to represent real-world entities and their interactions.
Encapsulation: bundling of data and methods that operate on that data within a single unit
Inheritance: ability of a class to inherit properties and methods from a parent class
Polymorphism: ability of objects to take on many forms or have multiple behaviors
Abstraction: hiding of complex implementation details and providing a simplified interface for t...read more
Q78. what is access specifiers define access specifers
Access specifiers define the level of access to classes, methods, and variables in object-oriented programming.
Access specifiers include public, private, protected, and default.
Public access specifier allows access from any other class.
Private access specifier restricts access to only within the same class.
Protected access specifier allows access within the same package and subclasses.
Default access specifier (no keyword) restricts access to only within the same package.
Q79. What is difference between smoke and sanity testing?
Smoke testing is a quick test to check if the software build is stable, while sanity testing is a more thorough test to check specific functionalities.
Smoke testing is done to ensure the critical functionalities of the software are working fine after a build, while sanity testing is done to verify specific features or functionalities.
Smoke testing is usually performed before detailed testing, while sanity testing is performed after regression testing.
Smoke testing is a subset...read more
Q80. what is SDLC, STLC, priority, serverity, agile methodlogy, test plan, types of testing techniques,writing test cases on a e-commerce scenario,what is jira
SDLC is Software Development Life Cycle, STLC is Software Testing Life Cycle, priority and severity are used to prioritize bugs, Agile methodology is a software development approach, Jira is a project management tool.
SDLC (Software Development Life Cycle) is a process used by software development teams to design, develop, and test high-quality software.
STLC (Software Testing Life Cycle) is a process used by testing teams to plan, design, execute, and report on tests.
Priority ...read more
Q81. What is Regression Testing What is integration Testing Smoke Testing Black box Technic API Validation and verification Alpha testing API method Function Testing
Regression testing is retesting of previously tested software to ensure that changes made to the software have not affected its existing functionality.
Regression testing is done to ensure that changes made to the software have not introduced new bugs or affected its existing functionality.
It is usually done after a new feature or bug fix is implemented.
Examples include running a test suite after a code change or after a new release of the software.
Integration testing is testi...read more
Q82. Which of the following test cases is most appropriate for testing a login system?
Test case with valid credentials and expected successful login is most appropriate for testing a login system.
Test with valid credentials
Test with invalid credentials
Test with blank credentials
Test with special characters in credentials
Q83. 1)What is the sanity testing 2) what is the regression testing or re testing 3) scenario based questions 4)defect bug Life cycle 5)what is RTM and TRM
Answers to common QA Engineer interview questions
Sanity testing is a quick check to ensure that the major functionalities of the software are working as expected
Regression testing is retesting of the software after changes have been made to ensure that the existing functionalities are not affected
Scenario-based questions are used to test the software in different scenarios to ensure that it works as expected in all situations
Defect bug life cycle includes identification, logg...read more
Q84. Can we overload/override function having same signatures but have different return types in java!
No, in Java you cannot overload/override functions based on return types.
In Java, method overloading is based on the number and type of parameters, not the return type.
Method overriding is based on the method signature, which includes the method name, parameter types, and order, but not the return type.
Attempting to overload or override a method based solely on return type will result in a compilation error.
Q85. How you can print numbers from one to 1000 without using any loop
Use recursion to print numbers from 1 to 1000 without using loops
Create a recursive function that takes a number as input
Print the number and call the function with the next number until 1000 is reached
Q86. How you can validate the button present on the UI is actually blue in colour
To validate the button color, inspect the CSS properties or use a color picker tool.
Inspect the CSS properties of the button element to check the color value
Use a color picker tool to sample the color of the button on the UI
Compare the sampled color with the expected blue color value
Q87. How you can validate the data with any value is present in the table in selenium
You can validate data presence in a table using Selenium by locating the table element and then searching for the desired value.
Locate the table element using Selenium WebDriver
Iterate through the rows and columns of the table to find the desired value
Use assertions to validate if the value is present in the table
Q88. Negative test cases for site authentication?
Negative test cases for site authentication
Entering an incorrect username and password combination
Leaving the username field blank and entering a valid password
Leaving the password field blank and entering a valid username
Entering a valid username and password combination but with additional spaces
Entering a username and password that exceed the maximum character limit
Entering special characters in the username or password fields
Q89. Explain SDLC. Tell me test cases on T. V What is your short term goal? What is your long term goal?
SDLC is a process followed for software development. Test cases for T.V. include image quality, sound quality, remote control functionality, etc. Short term goal is to learn new skills. Long term goal is to become a team lead.
SDLC is Software Development Life Cycle
It includes planning, designing, coding, testing, and maintenance
Test cases for T.V. include checking image and sound quality, remote control functionality, connectivity, etc.
Short term goal is to learn new skills a...read more
Q90. What do you mean data query language and data definition language?
Data query language is used to retrieve data from a database, while data definition language is used to define and modify the structure of a database.
Data query language (DQL) is used to retrieve data from a database, such as SQL SELECT statement.
Data definition language (DDL) is used to define and modify the structure of a database, such as SQL CREATE TABLE statement.
DQL focuses on querying and retrieving data, while DDL focuses on defining and modifying the database schema....read more
Q91. How many web element selector and tell me one by one ?
There are multiple web element selectors used in QA testing, such as ID, class name, name, tag name, link text, partial link text, xpath, and css selector.
ID selector - Selects an element based on its ID attribute
Class name selector - Selects elements based on their class attribute
Name selector - Selects elements based on their name attribute
Tag name selector - Selects elements based on their tag name
Link text selector - Selects elements based on their exact text
Q92. If u have 2 eggs and 100 floor building determine the maximum number of floor from which u can drop egg without breaking
The maximum number of floors from which you can drop an egg without breaking is determined using a binary search approach.
Start by dropping the first egg from the 14th floor, then increment by 13 floors (13, 12, 11, ...) until the first egg breaks.
Once the first egg breaks, use the second egg to test each floor starting from the last unbroken floor.
The optimal solution involves dropping the first egg at intervals that decrease by 1 each time (14, 13, 12, ...).
Q93. What is Test plan , Write a Test plan on Flipkart application
A test plan is a document outlining the scope, approach, resources, and schedule for testing a software application.
Identify test objectives and scope
Define test strategies and methodologies
List resources and tools required for testing
Outline test schedule and milestones
Specify test cases and scenarios
Include risk assessment and mitigation plan
Q94. What's the difference between Regression, Sanity and Smoke. which testing you will do when
Regression, Sanity, and Smoke testing are different types of testing performed at different stages of the software development lifecycle.
Regression testing is performed to ensure that new code changes have not adversely affected existing functionality.
Sanity testing is a subset of regression testing and is performed to quickly determine if a new build is stable enough for more rigorous testing.
Smoke testing is performed to check if the critical functionalities of the software...read more
Q95. Find out bugs on particular PDP page as well as what are you going test on that same page
Identify bugs and test cases on a specific PDP page
Check for broken links or images on the page
Verify that all product information is displayed correctly
Test the add to cart functionality
Ensure that the product price is accurate
Validate the product reviews section
Q96. What is high severity low priority bug?
A high severity low priority bug is a software defect that has a significant impact on the system but can be deferred for a later release.
It is a bug that affects a critical functionality of the system
It does not require an immediate fix and can be postponed
It may not affect the end user experience directly
It can be fixed in a future release or patch
Examples include cosmetic issues, minor UI glitches, etc.
Q97. What you under stand about register color coding can you calculate sample resistance color coding
Register color coding is used to identify the resistance value of electronic components. Sample resistance color coding can be calculated using the color bands on the resistor.
Register color coding uses colored bands to represent different digits and multipliers for resistance values.
To calculate the resistance value of a resistor, you need to identify the color bands and their corresponding values.
For example, a resistor with color bands of brown, black, red, and gold repres...read more
Q98. Fdma tdma CDMA How to reduce latency in tdma?
Reducing latency in TDMA can be achieved by optimizing time slot allocation, reducing frame size, and implementing efficient scheduling algorithms.
Optimize time slot allocation to minimize idle time between transmissions.
Reduce frame size to decrease the time required for transmitting a complete frame.
Implement efficient scheduling algorithms to prioritize critical data and reduce waiting time.
Use advanced modulation techniques to increase the data rate within each time slot....read more
Q99. What is QA's main work ? What is different b/t bug & error?
QA's main work is to ensure quality of software by testing and identifying bugs and errors.
QA's main work is to test software and identify bugs and errors
They ensure that the software meets the requirements and specifications
Bugs are coding mistakes that cause unexpected behavior
Errors are mistakes made by the user that cause the software to fail
QA engineers use various testing techniques to identify and report bugs and errors
Q100. Mention the types of web locator What are the types of waits supported by web driver..?
Web locators include ID, name, class name, tag name, link text, and partial link text. Web driver supports implicit, explicit, and fluent waits.
Web locators are used to identify elements on a web page
ID and name locators are unique to an element
Class name and tag name locators can identify multiple elements
Link text and partial link text locators are used for links
Implicit waits wait for a certain amount of time before throwing an exception
Explicit waits wait for a certain co...read more
Interview Questions of Similar Designations
Top Interview Questions for QA Engineer Related Skills
Interview experiences of popular companies
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/Month