Tech Mahindra
10+ Interview Questions and Answers
Q1. Difference between regression, retesting and sanity
Regression tests changes in existing functionality, retesting tests fixed defects, and sanity tests basic functionality.
Regression testing ensures that changes in code do not affect existing functionality.
Retesting is done to ensure that defects have been fixed and do not reoccur.
Sanity testing is a quick check to ensure that basic functionality is working as expected.
Regression and retesting are usually done after changes have been made to the code, while sanity testing is d...read more
Q2. Difference between STLC AND SDLC
STLC is a subset of SDLC that focuses on the testing phase of software development.
STLC stands for Software Testing Life Cycle.
SDLC stands for Software Development Life Cycle.
STLC is a subset of SDLC that focuses on the testing phase of software development.
SDLC encompasses all the phases of software development including requirements gathering, design, coding, testing, and maintenance.
STLC includes activities like test planning, test design, test execution, and test closure....read more
Q3. Bug finding from any product or area
Bug finding involves thorough testing and analysis of the product or area.
Conducting various types of testing such as functional, regression, and performance testing
Using tools like JIRA, Bugzilla, and Selenium for bug tracking and reporting
Collaborating with developers and stakeholders to understand the product and its requirements
Analyzing logs and error messages to identify the root cause of the bug
Reproducing the bug and creating detailed bug reports with steps to reprodu...read more
Q4. Difference between serialisation and deserialisation?
Serialisation is converting data into a format that can be stored or transmitted, while deserialisation is the opposite process.
Serialisation is used to convert objects into a stream of bytes for storage or transmission.
Deserialisation is used to convert the stream of bytes back into an object.
Serialisation and deserialisation are commonly used in network communication and file storage.
Examples of serialisation formats include JSON, XML, and binary formats like Protocol Buffe...read more
Q5. What are locator, exception handling
Locators are used to identify web elements on a webpage, while exception handling is used to handle errors and unexpected events in software testing.
Locators are used in test automation to find and interact with web elements on a webpage, such as buttons, text fields, and dropdowns.
Common locators include ID, class name, name, tag name, link text, and CSS selectors.
Exception handling is used to handle errors and unexpected events that occur during test execution, ensuring tha...read more
Q6. Difference between veification and validation
Verification ensures the product is built right, while validation ensures the right product is built.
Verification focuses on process of building the product correctly
Validation focuses on whether the product meets the customer's needs and requirements
Verification is done before validation
Examples: Verification - code reviews, walkthroughs, inspections; Validation - testing, user feedback
Q7. what is software testing?
Software testing is the process of evaluating a software application or system to find defects and ensure it meets the specified requirements.
Software testing involves executing a program or application with the intent of finding errors.
It ensures that the software meets the functional and non-functional requirements.
It helps to identify defects early in the development cycle, reducing the cost of fixing them later.
Types of testing include unit testing, integration testing, s...read more
Q8. What is your fav color
My favorite color is blue.
Blue is a calming and peaceful color.
It reminds me of the ocean and the sky.
I find it visually appealing and soothing.
Q9. What are Oops concepts
Oops concepts are the principles of Object-Oriented Programming, including Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability to present the same interface for different data types.
Abstraction: Hiding the complex implementation details and showing only the necessary features.
Q10. rest assured for API testing
Rest Assured is a Java-based library used for API testing and validation.
Rest Assured simplifies API testing by providing a domain-specific language (DSL) for writing tests.
It supports various HTTP methods like GET, POST, PUT, DELETE, etc.
It can validate response status codes, headers, and body using built-in or custom assertions.
It can also handle authentication, cookies, and SSL certificates.
Example: RestAssured.given().get("https://api.example.com/users").then().statusCode...read more
Q11. Write mcdc for a requirement
MCDC testing involves creating test cases that ensure every condition in a decision has been tested at least once.
Identify all conditions in the decision
Create test cases that cover all possible combinations of conditions
Ensure each condition is tested at least once in each test case
Q12. What is a python
Python is a high-level programming language known for its simplicity and readability.
Python is interpreted, not compiled
It supports multiple programming paradigms like object-oriented, imperative, and functional programming
Python is widely used for web development, data analysis, artificial intelligence, and scientific computing
Q13. what is a sql
SQL stands for Structured Query Language, used for managing and manipulating relational databases.
SQL is a standard language for accessing and manipulating databases.
It is used to perform tasks such as querying data, updating data, and creating databases.
Common SQL commands include SELECT, INSERT, UPDATE, DELETE, and JOIN.
Example: SELECT * FROM customers WHERE country = 'USA';
Q14. Reverse a string
Reverse a string by iterating through the characters and swapping them
Create a function that takes a string as input
Initialize two pointers, one at the beginning and one at the end of the string
Swap the characters at the two pointers and move them towards the center until they meet
Interview Process at null
Top Softwaretest Engineer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month