Test Engineer

100+ Test Engineer Interview Questions and Answers for Freshers

Updated 28 Nov 2024

Q51. Write a program to add two numbers in c#

Ans.

Program to add two numbers in c#

  • Declare two variables to store the numbers

  • Take input from user for both variables

  • Add the variables and store the result in a third variable

  • Display the result

Q52. Write xpath using AND and OR condition

Ans.

Xpath can use AND and OR conditions to locate elements based on multiple criteria.

  • To use AND, simply chain multiple conditions together with no operator in between.

  • To use OR, use the 'or' keyword between conditions.

  • Example: //div[@class='class1' and @id='id1'] or //div[@class='class2']

Q53. what is block& white box testing

Ans.

Black box testing is testing without knowledge of the internal workings of the system, while white box testing is testing with knowledge of the internal workings of the system.

  • Black box testing focuses on testing the functionality of the system without knowledge of the internal workings of the system.

  • White box testing focuses on testing the internal workings of the system, including code and algorithms.

  • Black box testing is often used for user acceptance testing, while white b...read more

Q54. What is sanity testing?

Ans.

Sanity testing is a subset of regression testing that quickly checks if the critical functionalities of an application are working after minor changes.

  • Sanity testing is a high-level testing technique

  • It focuses on verifying the stability of the system after minor changes

  • It ensures that the critical functionalities are still intact

  • It is performed to avoid wasting time on testing if the basic functionality is broken

  • It is a subset of regression testing

  • It is usually performed manu...read more

Are these interview questions helpful?

Q55. Explain performance testing life cycle.

Ans.

Performance testing life cycle involves planning, preparation, execution, analysis, and reporting.

  • Planning phase involves defining objectives, identifying performance metrics, and creating test plans.

  • Preparation phase includes setting up test environments, creating test scripts, and configuring monitoring tools.

  • Execution phase involves running tests, monitoring system performance, and collecting data.

  • Analysis phase includes analyzing test results, identifying bottlenecks, and...read more

Q56. what is manual anda automation testing

Ans.

Manual testing is done by humans, while automation testing is done by software tools.

  • Manual testing involves executing test cases manually without any automation tools.

  • Automation testing involves using software tools to execute test cases.

  • Manual testing is time-consuming and prone to human errors.

  • Automation testing is faster, more reliable, and can be repeated multiple times.

  • Manual testing is suitable for exploratory testing, while automation testing is suitable for regressio...read more

Share interview questions and help millions of jobseekers 🌟

man-with-laptop

Q57. What is the Laiminar Air Flow

Ans.

Laminar air flow is a smooth, uninterrupted flow of air in a single direction.

  • Laminar air flow is used in cleanrooms to prevent contamination.

  • It is achieved by passing air through HEPA filters and directing it in a single direction.

  • Laminar air flow is measured in air changes per hour (ACH).

Q58. What is JDK in java?

Ans.

JDK stands for Java Development Kit, which is a software development kit used for developing Java applications.

  • JDK includes JRE (Java Runtime Environment) and development tools such as compiler, debugger, etc.

  • It is necessary for compiling, debugging, and running Java programs.

  • Examples of JDK versions include JDK 8, JDK 11, and JDK 15.

Test Engineer Jobs

Engineer Testing & Evaluation 3-10 years
Reliance Jio Infocomm Ltd.
3.9
Mumbai
Testing Engineer 2-5 years
Schneider Electric
4.2
₹ 4 L/yr - ₹ 5 L/yr
Vadodara
Prod & Mfg Test Engineering Practitioner 4-6 years
Accenture Solutions Pvt Ltd
3.9
Bangalore / Bengaluru

Q59. Character count in string. To be written on paper

Ans.

Count the number of characters in a given string.

  • Iterate through each character in the string and increment a counter for each character.

  • Return the final count of characters in the string.

Q60. What are components of drum brakes ?

Ans.

Components of drum brakes include brake drum, brake shoes, wheel cylinder, return springs, and adjuster mechanism.

  • Brake drum: circular drum that rotates with the wheel

  • Brake shoes: curved metal plates that press against the drum to create friction

  • Wheel cylinder: contains pistons that push the brake shoes against the drum

  • Return springs: retract the brake shoes after braking

  • Adjuster mechanism: used to adjust the distance between the brake shoes and drum

Q61. What is SDLC and expalin its steps

Ans.

SDLC stands for Software Development Life Cycle, which is a process used by software development teams to design, develop, and test high-quality software.

  • 1. Planning: Define the scope, requirements, and objectives of the project.

  • 2. Analysis: Gather and analyze user requirements.

  • 3. Design: Create a detailed design plan for the software.

  • 4. Implementation: Develop the software based on the design plan.

  • 5. Testing: Test the software to ensure it meets the requirements.

  • 6. Deploymen...read more

Q62. Explain cellular communication?

Ans.

Cellular communication is a technology that allows devices to communicate wirelessly using cellular networks.

  • Cellular communication uses radio waves to transmit and receive data between devices and cellular towers.

  • It enables voice calls, text messaging, and internet access on mobile devices.

  • Cellular networks are divided into cells, each served by a base station or tower.

  • Devices connect to the nearest tower, and as they move, they hand off the connection to a new tower seamles...read more

Q63. What is Regration testing

Ans.

Regression testing is a type of software testing that ensures changes made to the software do not affect its existing functionality.

  • It involves retesting the previously tested functionalities

  • It is done to ensure that new changes do not break the existing code

  • It helps in identifying and fixing defects early on

  • Examples include smoke testing, sanity testing, and full regression testing

Q64. What is waterfall model

Ans.

Waterfall model is a linear sequential approach to software development.

  • It follows a sequential process where each phase must be completed before moving on to the next.

  • It is a rigid model and changes cannot be made easily once a phase is completed.

  • It is suitable for projects with well-defined requirements and a stable scope.

  • Examples of industries that use this model are construction and manufacturing.

  • Phases include requirements gathering, design, implementation, testing, depl...read more

Q65. How to run test using maven comment

Ans.

To run tests using Maven, use the 'mvn test' command in the terminal.

  • Navigate to the project directory in the terminal

  • Run the 'mvn test' command to execute all tests in the project

  • View the test results in the terminal or generated reports

Q66. What is sql and which data type is sql

Ans.

SQL stands for Structured Query Language, used for managing and manipulating relational databases.

  • SQL is a standard language for accessing and manipulating databases.

  • Common data types in SQL include INTEGER, VARCHAR, DATE, and BOOLEAN.

  • Examples of SQL data types: INT, VARCHAR(50), DATE, BOOLEAN.

Q67. 4g 5g testing experience

Ans.

I have experience in testing 4G and 5G networks.

  • I have tested 4G and 5G networks for functionality, performance, and interoperability.

  • I have used tools such as Wireshark, JMeter, and LoadRunner for testing.

  • I have also tested various features such as VoLTE, VoWiFi, and video calling.

  • I have worked with different network elements such as eNodeB, MME, SGW, and PGW.

  • I have experience in both manual and automated testing of 4G and 5G networks.

Q68. Which games do you play?

Ans.

I enjoy playing a variety of games, including both video games and board games.

  • I play a mix of video games and board games

  • Some of my favorite video games include The Legend of Zelda series and Overwatch

  • I enjoy strategic board games like Settlers of Catan and Ticket to Ride

Q69. types of testing and methods of gane testing

Ans.

Types of testing include functional, non-functional, manual, automated, and game testing methods such as regression, load, stress, and compatibility testing.

  • Functional testing: Ensures the software functions as intended.

  • Non-functional testing: Tests aspects like performance, usability, and security.

  • Manual testing: Testing performed by humans without automation tools.

  • Automated testing: Testing using automation tools to execute test cases.

  • Game testing methods: Regression testin...read more

Q70. Write Basic RestAssured code on paper.

Ans.

Basic RestAssured code for API testing

  • Import necessary RestAssured libraries

  • Set base URI for the API

  • Send a GET request to the API endpoint

  • Validate response status code and body

Q71. Explain any one game thay you play.

Ans.

I play the game 'The Legend of Zelda: Breath of the Wild'.

  • It is an action-adventure game.

  • The game is set in an open world environment.

  • Players control the protagonist, Link, as he explores the kingdom of Hyrule.

  • There are various quests, puzzles, and combat encounters to complete.

  • Players can also interact with non-playable characters and collect items.

  • The game offers a vast and immersive gameplay experience.

Q72. Last ctc expected ctc

Ans.

I am expecting a salary in line with industry standards and commensurate with my experience.

  • My expected salary is based on my experience, skills, and the job responsibilities.

  • I am open to negotiation and willing to discuss the salary package.

  • I am looking for a fair and competitive salary package.

  • I am expecting a salary that reflects my value to the company.

  • I am aware of the industry standards and salary ranges for this position.

  • I am not just looking for a high salary, but als...read more

Q73. Write test case by giving some scenario

Ans.

Test case for login functionality

  • Enter valid username and password, verify successful login

  • Enter invalid username and password, verify error message displayed

  • Leave username or password field empty, verify error message displayed

Q74. Tell me Oops Concept?

Ans.

Oops concept stands for Object-Oriented Programming concepts which include inheritance, polymorphism, encapsulation, and abstraction.

  • Inheritance: Allows a class to inherit properties and behavior from another class.

  • Polymorphism: Allows objects of different classes to be treated as objects of a common superclass.

  • Encapsulation: Bundling data and methods that operate on the data into a single unit.

  • Abstraction: Hides the complex implementation details and only shows the necessary...read more

Q75. what about yours feature goal

Ans.

My feature goal is to ensure high-quality software by designing and executing effective test cases.

  • Designing and executing test cases to identify defects

  • Collaborating with developers to resolve issues

  • Automating tests to increase efficiency

  • Continuously improving testing processes

  • Ensuring software meets customer requirements

Q76. What is risc and cisc

Ans.

RISC (Reduced Instruction Set Computing) and CISC (Complex Instruction Set Computing) are two types of CPU architectures.

  • RISC processors have a smaller set of simple instructions, while CISC processors have a larger set of complex instructions.

  • RISC processors typically execute instructions faster than CISC processors.

  • Examples of RISC architectures include ARM and MIPS, while examples of CISC architectures include x86 and x86-64.

  • RISC architectures are more efficient in terms o...read more

Q77. Explain Api testing

Ans.

API testing is a type of software testing that involves testing APIs directly and ensuring they meet functional and performance requirements.

  • API testing involves testing the functionality, reliability, performance, and security of APIs

  • API testing can be done manually or using automated tools

  • API testing can be done at different levels such as unit, integration, and end-to-end testing

  • API testing involves sending requests to the API and verifying the responses

  • API testing can als...read more

Q78. how to perform DB testing

Ans.

DB testing involves verifying data integrity, performance, security, and functionality of the database.

  • Verify data integrity by checking for data duplication, missing data, and data accuracy.

  • Test performance by measuring response time, throughput, and scalability.

  • Ensure security by testing access controls, encryption, and data privacy.

  • Test functionality by verifying data manipulation, retrieval, and storage.

  • Use SQL queries, stored procedures, and triggers to test the database...read more

Q79. What is waits in selenium

Ans.

Waits in Selenium are used to pause the execution of the test script for a certain amount of time.

  • Waits are used to synchronize the test script with the application under test.

  • There are two types of waits in Selenium: implicit wait and explicit wait.

  • Implicit wait sets a default waiting time for the entire test script.

  • Explicit wait is used to wait for a specific condition to occur before proceeding with the test script.

  • Examples of conditions for explicit wait include element v...read more

Q80. regression testing and real time example

Ans.

Regression testing is retesting of software to ensure new changes do not negatively impact existing functionality.

  • Regression testing is performed to verify that recent code changes have not adversely affected existing features.

  • It involves running previously executed test cases to ensure that no new bugs have been introduced.

  • Example: After adding a new feature to a website, regression testing is done to make sure all existing functionalities still work correctly.

  • Example: After...read more

Q81. Differences between smoke and sanity

Ans.

Smoke testing is a preliminary test to check if the software is stable enough for further testing. Sanity testing is a subset of regression testing to check if the bugs have been fixed.

  • Smoke testing is done to check if the critical functionalities of the software are working fine.

  • Sanity testing is done to check if the bugs have been fixed and the software is ready for further testing.

  • Smoke testing is done before sanity testing.

  • Smoke testing is a quick and shallow test while s...read more

Q82. Diff between scenario and Test case

Ans.

Scenario is a high-level description of a use case, while a test case is a detailed step-by-step procedure to validate a specific aspect of the scenario.

  • Scenario is a broad overview of a user interaction or system behavior, while a test case is a specific set of steps to verify a particular functionality.

  • Scenarios are used for high-level planning and understanding, while test cases are used for detailed testing and validation.

  • A scenario may encompass multiple test cases, each...read more

Q83. what about software testing

Ans.

Software testing is the process of evaluating a software application or system to find defects and ensure it meets the specified requirements.

  • Testing is done to identify defects and ensure the software meets the requirements

  • It involves various types of testing such as functional, performance, security, etc.

  • Testing can be done manually or using automated tools

  • Test cases are designed to cover all possible scenarios and edge cases

  • Defects found during testing are reported and fix...read more

Q84. Compatibility with companies work environment

Ans.

I am adaptable and can work in any work environment.

  • I have experience working in various work environments and can easily adapt to new ones.

  • I am a team player and can work well with others regardless of the work environment.

  • I am open to feedback and willing to learn new things to fit in with the company's work environment.

Q85. What is NAM Media ?

Ans.

NAM Media is a digital marketing agency that specializes in creating and executing effective marketing strategies for businesses.

  • NAM Media offers services such as social media management, search engine optimization, and email marketing.

  • They work with clients in various industries, including healthcare, finance, and technology.

  • NAM Media's goal is to help businesses increase their online presence and drive more traffic to their websites.

Q86. Different scenarios in testing

Ans.

Different scenarios in testing

  • Functional testing

  • Performance testing

  • Security testing

  • Usability testing

  • Compatibility testing

Q87. Why we do the testing

Ans.

Testing is done to ensure the quality, reliability, and functionality of the software being developed.

  • To identify defects or bugs in the software

  • To ensure the software meets the requirements and specifications

  • To improve the user experience and satisfaction

  • To reduce the risk of software failures and malfunctions

  • To validate that the software functions as intended

Q88. How to read property file

Ans.

To read a property file, use Java's Properties class to load the file and retrieve values using keys.

  • Use Properties class to load the property file

  • Retrieve values using keys

  • Handle exceptions like FileNotFoundException or IOException

Q89. Types of Testing & STLC

Ans.

Types of testing include functional, non-functional, regression, performance, and security testing. STLC includes planning, design, execution, and reporting.

  • Functional testing ensures that the software meets the specified requirements.

  • Non-functional testing checks the software's performance, usability, and security.

  • Regression testing ensures that changes to the software do not affect existing functionality.

  • Performance testing checks the software's speed, scalability, and stab...read more

Q90. what is automation testing

Ans.

Automation testing is the use of software to execute test cases and compare actual outcomes with expected outcomes.

  • Automation testing helps in reducing human intervention and increasing test coverage

  • It is faster and more reliable compared to manual testing

  • Common tools used for automation testing include Selenium, Appium, and JUnit

Q91. Write Java program for Fibonacci series

Ans.

Java program to generate Fibonacci series

  • Use a loop to generate Fibonacci numbers

  • Start with 0 and 1 as the first two numbers

  • Add the previous two numbers to get the next number

Q92. Impact of AI in testing field

Ans.

AI has revolutionized the testing field by automating repetitive tasks, improving accuracy, and enabling faster testing cycles.

  • AI helps in test case generation, execution, and analysis, reducing manual effort.

  • AI-powered tools can identify patterns and anomalies in data to improve test coverage.

  • Machine learning algorithms can predict potential issues based on historical data, aiding in proactive testing.

  • AI can simulate user behavior to test software applications in real-world ...read more

Q93. What is OA and QC

Ans.

OA stands for Open Architecture and QC stands for Quality Control.

  • OA refers to a system that allows for customization and integration of different software components.

  • QC refers to the process of ensuring that a product or service meets the desired quality standards.

  • OA and QC are both important concepts in software testing and development.

  • Examples of tools that support OA include Selenium and Appium.

  • Examples of QC tools include JIRA and HP Quality Center.

Q94. Difference b/w STLC & SDLC

Ans.

STLC is a subset of SDLC that focuses on testing activities.

  • SDLC is a software development life cycle that includes all phases of software development.

  • STLC is a software testing life cycle that includes all phases of software testing.

  • SDLC includes requirements gathering, design, development, testing, deployment, and maintenance.

  • STLC includes test planning, test design, test execution, and test closure.

  • SDLC is a broader term that encompasses STLC.

  • STLC is a subset of SDLC that ...read more

Q95. Limitations of selenium?

Ans.

Selenium has limitations in handling non-web-based applications and requires technical expertise for maintenance.

  • Selenium cannot automate desktop applications or mobile applications

  • It cannot handle CAPTCHA and reCAPTCHA challenges

  • Selenium requires technical expertise for maintenance and updates

  • It cannot handle complex dynamic web pages

  • Selenium does not have built-in reporting capabilities

Q96. What is electronic.

Ans.

Electronics is the branch of physics and engineering that deals with the behavior and control of electrons.

  • Electronics deals with the study of electronic components and their behavior.

  • It involves the design, development, and testing of electronic circuits and devices.

  • Examples of electronic devices include smartphones, computers, televisions, and radios.

Q97. What is RTM ?

Ans.

RTM stands for Requirements Traceability Matrix, a document that links requirements to test cases to ensure all requirements are covered.

  • RTM is used to ensure that all requirements are covered by test cases

  • It helps in tracking the progress of testing and ensures no requirements are missed

  • RTM can be created using tools like Excel or specialized test management software

  • Example: If a software requirement is to have a login feature, the RTM will show which test cases cover testin...read more

Q98. Discuss oops concepts.

Ans.

OOPs concepts are the fundamental principles of object-oriented programming.

  • Encapsulation - binding data and functions together

  • Inheritance - reusing code from existing classes

  • Polymorphism - ability of objects to take on multiple forms

  • Abstraction - hiding implementation details from users

  • Example: A car class can inherit properties from a vehicle class

  • Example: Polymorphism can be seen in a shape class with different child classes like circle, square, etc.

Q99. Different types of Xpath?

Ans.

Types of Xpath include Absolute Xpath, Relative Xpath, Contains Xpath, and Attribute Xpath.

  • Absolute Xpath: Specifies the location of an element starting from the root node.

  • Relative Xpath: Specifies the location of an element starting from the current node.

  • Contains Xpath: Finds elements that contain a specific value in their attributes.

  • Attribute Xpath: Finds elements based on their attributes.

Q100. Write a query to link keys

Ans.

Query to link keys in a database

  • Use JOIN clause to link keys from different tables

  • Specify the columns to link on using ON keyword

  • Consider using INNER JOIN, LEFT JOIN, or RIGHT JOIN based on requirements

Previous
1
2
3
Next
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Interview experiences of popular companies

3.7
 • 10k Interviews
3.9
 • 7.8k Interviews
3.7
 • 7.3k Interviews
3.8
 • 5.4k Interviews
3.7
 • 5.2k Interviews
3.6
 • 3.6k Interviews
3.7
 • 1.3k Interviews
4.0
 • 124 Interviews
3.6
 • 111 Interviews
View all

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

Test Engineer Interview Questions
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
65 L+

Reviews

4 L+

Interviews

4 Cr+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter