Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Tech Mahindra Team. If you also belong to the team, you can get access from here

Tech Mahindra Verified Tick

Compare button icon Compare button icon Compare
3.5

based on 33.8k Reviews

Filter interviews by

Tech Mahindra Software Testing Interview Questions and Answers

Updated 5 Feb 2022

Tech Mahindra Software Testing Interview Experiences

1 interview found

I applied via Naukri.com and was interviewed in Jan 2022. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Coding Test 

Test cases

Interview Preparation Tips

Interview preparation tips for other job seekers - This company is good for job apportunity.

Interview questions from similar companies

Software Testing Interview Questions & Answers

TCS user image Neha Santosh Lade

posted on 18 Mar 2023

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Walk-in and was interviewed in Feb 2023. There were 5 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - One-on-one 

(2 Questions)

  • Q1. Manual software testing
  • Q2. Manual automation testing
Round 3 - One-on-one 

(2 Questions)

  • Q1. Manual software testing
  • Q2. Manual automation testing
Round 4 - One-on-one 

(2 Questions)

  • Q1. Manual software testing
  • Q2. Manual automation testing
Round 5 - HR 

(2 Questions)

  • Q1. Manual software testing
  • Q2. Manual automation testing

Interview Preparation Tips

Interview preparation tips for other job seekers - I am software tester, please ask questions of manual software tester
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - HR 

(3 Questions)

  • Q1. What is hotfix in software testing
  • Ans. 

    A hotfix is a software patch or update that is released to fix a critical issue or bug in a software application.

    • Hotfixes are typically released quickly to address urgent issues that cannot wait for the next regular software update.

    • They are often targeted at specific problems or bugs reported by users or discovered during testing.

    • Hotfixes are usually smaller in scope and size compared to regular software updates.

    • They a...

  • Answered by AI
  • Q2. What is software testing
  • Ans. 

    Software testing is the process of evaluating a software application to ensure it meets the specified requirements and functions correctly.

    • Software testing is essential to identify defects or bugs in the software.

    • It involves executing test cases and comparing the actual results with expected results.

    • Testing can be done manually or using automated tools.

    • Types of software testing include functional testing, performance t...

  • Answered by AI
  • Q3. What is bug in software testing
  • Ans. 

    A bug is a defect or error in software that causes it to behave unexpectedly or not as intended.

    • A bug can be caused by a mistake in the code, a misunderstanding of requirements, or a failure to test properly.

    • Bugs can range from minor issues, such as a typo in the user interface, to major problems, such as a security vulnerability.

    • Effective bug reporting and tracking is essential for identifying and resolving issues in ...

  • Answered by AI
Round 3 - Assignment 

Any explanation

Round 4 - Group Discussion 

Any explanation about software testing

Interview Preparation Tips

Interview preparation tips for other job seekers - I am so happy to do that work in Infosys

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(9 Questions)

  • Q1. Difference between absolute and relative Xpath
  • Ans. 

    Absolute Xpath starts from the root element, while relative Xpath starts from any node in the DOM structure.

    • Absolute Xpath starts with a single forward slash (/) and starts selection from the root node.

    • Relative Xpath starts with a double forward slash (//) and starts selection from the current node or any node in the DOM structure.

    • Absolute Xpath is more brittle and prone to breaking if the structure of the page changes...

  • Answered by AI
  • Q2. What would be return if multiple tabs are open
  • Ans. 

    The return would be the number of tabs open in the browser.

    • The return value would be an integer representing the count of open tabs.

    • For example, if there are 5 tabs open, the return value would be 5.

  • Answered by AI
  • Q3. What are the waits in selenium
  • Ans. 

    Types of waits in Selenium include Implicit Wait, Explicit Wait, and Fluent Wait.

    • Implicit Wait: Waits for a certain amount of time before throwing a NoSuchElementException.

    • Explicit Wait: Waits for a certain condition to occur before proceeding further in the code.

    • Fluent Wait: Waits for a condition to be true with a defined polling frequency.

    • Example: driver.manage().timeouts().implicitlyWait(10, TimeUnit.SECONDS);

  • Answered by AI
  • Q4. Exceptions in selenium
  • Ans. 

    Exceptions in Selenium are errors that occur during test execution, disrupting the flow of the test script.

    • Exceptions are thrown when there is an unexpected behavior in the application under test or in the test script itself.

    • Common exceptions in Selenium include NoSuchElementException, ElementNotVisibleException, TimeoutException, and StaleElementReferenceException.

    • Handling exceptions in Selenium can be done using try-...

  • Answered by AI
  • Q5. What is feature and step definitions in cucumber BDD
  • Ans. 

    Feature files contain high-level description of the functionality to be tested, while step definitions are the implementation of the steps in the feature file using code.

    • Feature files are written in Gherkin syntax and describe the behavior of the application in plain text.

    • Step definitions are written in programming languages like Java, Ruby, etc., and map the steps in the feature file to automation code.

    • Feature files a...

  • Answered by AI
  • Q6. How to input data in cucumber
  • Ans. 

    Data can be input in Cucumber using feature files and step definitions.

    • Data can be input in feature files using scenarios and scenario outlines

    • Step definitions can be used to define the actions to be taken with the input data

    • Data tables can be used in feature files to input structured data

    • Examples keyword can be used in scenario outlines to provide multiple sets of input data

  • Answered by AI
  • Q7. Basic Java questions like access modifiers, method overloading and overriding
  • Q8. What is Test case, Test plan and Test Secenarios
  • Ans. 

    Test case is a set of conditions or variables under which a tester will determine whether a system under test satisfies requirements. Test plan is a document outlining the scope, approach, resources, and schedule of testing activities. Test scenarios are detailed descriptions of possible interactions with the system.

    • Test case: specific conditions to be tested, expected results, steps to execute

    • Test plan: overall strate...

  • Answered by AI
  • Q9. Hooks in Java
  • Ans. 

    Hooks in Java are methods that allow subclasses to override or extend the behavior of a superclass.

    • Hooks are commonly used in frameworks like JUnit and TestNG for test automation.

    • They are often used for setup and teardown operations before and after test methods.

    • Examples include @Before, @After, @BeforeClass, and @AfterClass annotations in JUnit.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - The second round interview was quite challenging, with numerous questions focused on core Java topics such as data structures and linked lists. It felt less like a testing interview and more akin to a developer interview.

Skills evaluated in this interview

Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.

Round 1 - One-on-one 

(7 Questions)

  • Q1. What is a constructor and it's purpose?
  • Ans. 

    A constructor is a special type of method in a class that is automatically called when an object of that class is created.

    • Constructors have the same name as the class they belong to

    • They are used to initialize the object's state or perform any necessary setup

    • Constructors can have parameters to customize the initialization process

    • Example: public class Car { public Car(String color) { this.color = color; } }

  • Answered by AI
  • Q2. Can you override a Static Method?
  • Ans. 

    Yes, a static method can be overridden in Java using the concept of method hiding.

    • In Java, static methods cannot be overridden in the traditional sense like instance methods.

    • When a subclass defines a static method with the same signature as a static method in the superclass, it is called method hiding.

    • Method hiding does not follow polymorphism and is resolved at compile time based on the reference type.

    • Example: class...

  • Answered by AI
  • Q3. Can you create a Static local variable inside a Static method
  • Ans. 

    Yes, a static local variable can be created inside a static method.

    • Yes, a static local variable can be declared inside a static method in programming languages like C++.

    • Static local variables retain their values between function calls.

    • Example: static void myStaticMethod() { static int count = 0; count++; }

  • Answered by AI
  • Q4. What is the memory allocation for a String?
  • Ans. 

    String memory allocation is dynamic and depends on the length of the string.

    • String memory allocation is dynamic and can change based on the length of the string.

    • In Java, a String object is stored in the heap memory.

    • Each character in a String typically takes up 2 bytes of memory.

    • String objects in Java are immutable, meaning once a String object is created, it cannot be changed.

  • Answered by AI
  • Q5. Can you create a Static method inside an Abstract class or Interface?
  • Ans. 

    Yes, you can create a static method inside an abstract class or interface.

    • Static methods can be defined in interfaces since Java 8.

    • Static methods in interfaces are used for providing utility methods that are not tied to any specific instance of the interface.

    • Static methods in abstract classes can be used for common functionality that does not require an instance of the class.

  • Answered by AI
  • Q6. What is the Parent class of Java?
  • Ans. 

    The parent class of Java is the Object class.

    • All classes in Java are directly or indirectly derived from the Object class.

    • The Object class is the root class in Java's class hierarchy.

    • It provides methods that are common to all objects in Java, such as toString(), equals(), and hashCode().

  • Answered by AI
  • Q7. What is Window Handles in Selenium?
  • Ans. 

    Window Handles in Selenium are unique identifiers used to handle multiple browser windows in a Selenium test script.

    • Window Handles are unique alphanumeric strings assigned to each browser window opened by Selenium.

    • They are used to switch between different browser windows during a test script execution.

    • Window Handles can be obtained using getWindowHandles() method in Selenium.

    • Example: Set handles = driver.getWindowHandl

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Mphasis Automation Test Engineer interview:
  • Selenium
  • Java
  • OOPS
  • Manual Testing
Interview preparation tips for other job seekers - Nowadays, the interviewers expect the same Java language of a Developer as a Tester. But, how will that be possible? If a Tester has the same knowledge as a Developer, then why would he/she become a Tester instead of a Developer? Please open up your thoughts to the Interviewer, so that they can think before confusing with the deep logical knowledge.

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Recruitment Consulltant and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(5 Questions)

  • Q1. Digital testing concepts
  • Q2. What is RS232 & 422
  • Q3. What RPS in power testing
  • Q4. Digital communication
  • Q5. Semiconductor basic information

Interview Preparation Tips

Interview preparation tips for other job seekers - Noting
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - One-on-one 

(7 Questions)

  • Q1. Appium architecture
  • Q2. Java oops concepts n where did u apply that in automation framework
  • Ans. 

    Java OOPs concepts are used in automation framework design for better code organization and reusability.

    • Encapsulation: Used to hide the internal implementation details of classes and provide access through methods.

    • Inheritance: Allows for code reuse by creating parent-child relationships between classes.

    • Polymorphism: Enables methods to behave differently based on the object they are called on.

    • Abstraction: Helps in defin...

  • Answered by AI
  • Q3. How to handle otp
  • Ans. 

    OTP can be handled by generating, sending, and verifying it in automated tests.

    • Generate OTP using a random number generator

    • Send OTP to the user via email, SMS, or any other communication channel

    • Verify OTP entered by the user against the generated OTP

  • Answered by AI
  • Q4. How start appium in automation
  • Ans. 

    To start Appium in automation, you need to install Appium server, set up desired capabilities, and run the server.

    • Install Appium server using npm install -g appium

    • Set up desired capabilities in your test script

    • Start the Appium server using the command appium

  • Answered by AI
  • Q5. What are the types of mobile apps
  • Ans. 

    Types of mobile apps include native apps, web apps, and hybrid apps.

    • Native apps are developed for specific platforms like iOS or Android

    • Web apps are accessed through a web browser and do not need to be downloaded from an app store

    • Hybrid apps combine elements of both native and web apps

    • Examples include Instagram (native), Twitter (web), and Uber (hybrid)

  • Answered by AI
  • Q6. Program to remove duplicate letters in a string
  • Ans. 

    Program to remove duplicate letters in a string

    • Iterate through the string and keep track of seen characters in a set

    • Append characters to a new string only if they are not already in the set

    • Return the new string without duplicate letters

  • Answered by AI
  • Q7. How to perform swipe action in mobile devices
  • Ans. 

    Swipe action in mobile devices can be performed using swipe() method in Appium or TouchAction class in Selenium.

    • Use swipe() method in Appium to perform swipe action in mobile devices

    • Alternatively, use TouchAction class in Selenium for swipe action

    • Specify the start and end coordinates for the swipe action

    • Adjust the duration and speed of the swipe as needed

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.

Round 1 - Technical 

(5 Questions)

  • Q1. Explain your framework, API fundamentals
  • Q2. Exception handling in selenium, error codes in api testing etc
  • Q3. Synchronization handling in code
  • Q4. Oops concepts used in project
  • Q5. Agile process and terminologies
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Basic selenium and Basic Java
Round 2 - Technical 

(1 Question)

  • Q1. Java Program - Reverse a string Selenium - stale element
  • Ans. 

    Reverse a string using Java program and handle stale element in Selenium

    • Create a Java program to reverse a string using StringBuilder or char array

    • In Selenium, handle stale element exception by refreshing the element or using WebDriverWait

    • Example: Java program - input: 'hello', output: 'olleh'; Selenium - handle stale element by refreshing the element before interacting with it

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. What is your expected salary
  • Ans. 

    My expected salary is based on my experience, skills, and the market rate for Automation Test Engineers.

    • I have researched the average salary range for Automation Test Engineers in this location.

    • I am looking for a competitive salary that reflects my expertise in automation testing.

    • I am open to negotiation based on the overall compensation package offered.

  • Answered by AI
Interview experience
1
Bad
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
No response

I applied via Approached by Company and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - Technical 

(5 Questions)

  • Q1. Asked me to write a two programs - identifying duplicates words 2. Sum of series of numbers
  • Q2. What is cucumber options
  • Ans. 

    Cucumber options are configuration settings used in Cucumber to customize test execution.

    • Cucumber options can be used to specify features, tags, formats, and more in the test execution

    • Examples include specifying tags to run specific scenarios, setting output formats for test reports, and defining feature files to run

  • Answered by AI
  • Q3. Oops concepts used in my project
  • Ans. 

    In my project, I have used Oops concepts like Inheritance, Polymorphism, Encapsulation, and Abstraction.

    • Inheritance: Reusing code and creating a hierarchy of classes.

    • Polymorphism: Ability to present the same interface for different data types.

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

    • Abstraction: Hiding the implementation details and showing only the necessary features.

  • Answered by AI
  • Q4. Data providers, invocation count
  • Q5. Find elements, window handles return type
  • Ans. 

    The find elements method returns a list of web elements matching a specified locator. Window handles return type is a set of strings representing unique identifiers for browser windows.

    • Find elements method returns a list of web elements matching a specified locator

    • Window handles return type is a set of strings representing unique identifiers for browser windows

  • Answered by AI

Skills evaluated in this interview

Tech Mahindra Interview FAQs

How many rounds are there in Tech Mahindra Software Testing interview?
Tech Mahindra interview process usually has 2 rounds. The most common rounds in the Tech Mahindra interview process are Resume Shortlist and Coding Test.
How to prepare for Tech Mahindra Software Testing interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Tech Mahindra. The most common topics and skills that interviewers at Tech Mahindra expect are Selenium.

Tell us how to improve this page.

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.3k Interviews
Accenture Interview Questions
3.9
 • 8.1k Interviews
Infosys Interview Questions
3.7
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Cognizant Interview Questions
3.8
 • 5.5k Interviews
Capgemini Interview Questions
3.8
 • 4.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.9
 • 3k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
Tech Mahindra Software Testing Salary
based on 6 salaries
₹2 L/yr - ₹8.4 L/yr
42% more than the average Software Testing Salary in India
View more details

Tech Mahindra Software Testing Reviews and Ratings

based on 2 reviews

4.7/5

Rating in categories

4.7

Skill development

4.7

Work-life balance

4.7

Salary

4.7

Job security

4.7

Company culture

4.7

Promotions

4.7

Work satisfaction

Explore 2 Reviews and Ratings
Software Engineer
26.4k salaries
unlock blur

₹2 L/yr - ₹9 L/yr

Senior Software Engineer
21.3k salaries
unlock blur

₹5.5 L/yr - ₹23.3 L/yr

Technical Lead
11.6k salaries
unlock blur

₹9.5 L/yr - ₹37 L/yr

Associate Software Engineer
5.2k salaries
unlock blur

₹1.8 L/yr - ₹6 L/yr

Team Lead
4.9k salaries
unlock blur

₹5.2 L/yr - ₹17 L/yr

Explore more salaries
Compare Tech Mahindra with

Infosys

3.7
Compare

Cognizant

3.8
Compare

Accenture

3.9
Compare

Wipro

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview