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

Filter interviews by

Tech Mahindra Senior Test Engineer Interview Questions and Answers

Updated 9 Apr 2025

15 Interview questions

A Senior Test Engineer was asked 7mo ago
Q. Write a query to find the sum of the price per product name for the last month.
Ans. 

Use SQL query with GROUP BY clause to find sum of price per product name for last month

  • Use SQL query with GROUP BY clause to group by product name

  • Filter the data for last month using WHERE clause

  • Sum the price column for each product name

A Senior Test Engineer was asked 11mo ago
Q. What is integration testing?
Ans. 

Integration testing is a type of testing where individual units are combined and tested as a group to ensure they work together correctly.

  • Integration testing verifies the interactions between different components/modules of a system.

  • It helps in detecting issues related to communication between units, data flow, and interfaces.

  • Examples include testing the integration of a database with a web application, or testing...

Senior Test Engineer Interview Questions Asked at Other Companies

asked in LTIMindtree
Q1. What should be done when a defect is found in production?
asked in Sapiens
Q2. From Selenium -> Which Automation framework I have implemented ... read more
asked in LTIMindtree
Q3. How did you perform incremental load in your project?
asked in LTIMindtree
Q4. What is meant by regression and retesting?
asked in LTIMindtree
Q5. How can a circular cake be cut into 8 equal pieces with only 3 cu ... read more
A Senior Test Engineer was asked
Q. How can you handle file uploads using Selenium?
Ans. 

File uploads in Selenium can be handled using the sendKeys() method to input the file path.

  • Use the sendKeys() method to input the file path in the file upload field

  • Make sure the file path is correct and accessible

  • Verify the file upload by checking for the presence of the uploaded file on the page

A Senior Test Engineer was asked
Q. Explain your framework.
Ans. 

My framework is a combination of tools, libraries, coding standards, and guidelines used for automation testing.

  • My framework is based on the Page Object Model design pattern.

  • It uses Selenium WebDriver for browser automation.

  • It includes test data management using Excel or CSV files.

  • It has reporting capabilities using tools like ExtentReports or Allure.

  • It supports parallel execution of test cases using TestNG or JUn...

What people are saying about Tech Mahindra

View All
a senior software engineer
2d (edited)
Need Insights – Choosing Between Companies
Hi all, Currently have offers from Capgemini, Tech Mahindra, LTIMindTree, Zen&Art, CitiusTech, Nagarro & Persistent. Before making a decision, I need some clarity: 1. Do you get admin access on laptop or need IT for every install? 2. Are office hours flexible or fixed 9 AM login? 3. Is 9 hrs of active laptop time mandatory? 4. What's the leave policy — casual or strict approval? 5. Do projects use the latest technologies or older versions? Thanks in advance!
Got a question about Tech Mahindra?
Ask anonymously on communities.
A Senior Test Engineer was asked
Q. What Git commands have you used?
Ans. 

Various Git commands used for version control and collaboration

  • git clone: to clone a repository from a remote server

  • git add: to stage changes for commit

  • git commit: to save changes to the local repository

  • git push: to push changes to a remote repository

  • git pull: to fetch and merge changes from a remote repository

  • git branch: to create, list, delete, or switch branches

  • git merge: to merge changes from one branch into a...

A Senior Test Engineer was asked
Q. Write a program to remove duplicate characters from a string, ensuring each character appears only once. For example, "Hello World" should become "Helo Wrd". Use a LinkedHashSet.
Ans. 

The program removes duplicates from a given string using a Set data structure.

  • Create a LinkedHashSet to maintain the order of characters while removing duplicates

  • Iterate through each character in the input string and add it to the set

  • Convert the set back to a string and return the result

A Senior Test Engineer was asked
Q. Identify test scenarios and write test cases.
Ans. 

Test scenarios and cases are identified based on requirements and specifications.

  • Identify functional and non-functional requirements

  • Create test scenarios based on requirements

  • Write test cases for each scenario

  • Include positive and negative test cases

  • Consider boundary conditions and edge cases

  • Perform exploratory testing

  • Use automation tools for repetitive tests

Are these interview questions helpful?
A Senior Test Engineer was asked
Q. What are objects and classes?
Ans. 

Objects are instances of classes that encapsulate data and behavior. Classes are templates for creating objects.

  • Objects are created from classes using the 'new' keyword.

  • Classes define the properties and methods that objects will have.

  • Objects can interact with each other through their methods and properties.

  • Inheritance allows classes to inherit properties and methods from parent classes.

  • Polymorphism allows objects ...

A Senior Test Engineer was asked
Q. 1. Explain Automation project structure 2. Explanation for TestNG annotations 3. Exception Handling
Ans. 

Automation project structure involves organizing test scripts, resources, and configurations. TestNG annotations are used to control the flow of test methods. Exception handling is used to manage errors during test execution.

  • Automation project structure includes organizing test scripts, resources, and configurations in a systematic manner.

  • TestNG annotations like @Test, @BeforeMethod, @AfterMethod are used to contr...

A Senior Test Engineer was asked
Q. How you can reslove merge conflicts in git ? Share your experience ?
Ans. 

Resolve merge conflicts in git by using git commands and tools.

  • Use 'git status' to identify conflicted files

  • Open conflicted file(s) in text editor and resolve conflicts manually

  • Use 'git add' to stage resolved files

  • Commit changes using 'git commit'

  • Use 'git merge --abort' to abort merge if needed

Tech Mahindra Senior Test Engineer Interview Experiences

20 interviews found

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Query to find the sum of price per product name for last month
  • Ans. 

    Use SQL query with GROUP BY clause to find sum of price per product name for last month

    • Use SQL query with GROUP BY clause to group by product name

    • Filter the data for last month using WHERE clause

    • Sum the price column for each product name

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Test technique's and methodology
  • Ans. 

    Test techniques and methodologies are essential for ensuring thorough testing of software applications.

    • Test techniques refer to the approach or strategy used to design and execute tests, such as boundary value analysis, equivalence partitioning, and exploratory testing.

    • Test methodologies are the overall process or framework for managing testing activities, such as Agile, Waterfall, and DevOps.

    • It is important for a Seni...

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

    Integration testing is a type of testing where individual units are combined and tested as a group to ensure they work together correctly.

    • Integration testing verifies the interactions between different components/modules of a system.

    • It helps in detecting issues related to communication between units, data flow, and interfaces.

    • Examples include testing the integration of a database with a web application, or testing the ...

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. Testing life cycle
  • Q2. Agile methodology

Interview Preparation Tips

Interview preparation tips for other job seekers - nice

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Mobile testing concepts for Android
  • Ans. 

    Mobile testing concepts for Android involve testing on various devices, OS versions, screen sizes, and network conditions.

    • Testing on different Android devices to ensure compatibility

    • Testing on various OS versions to check for compatibility and performance

    • Testing on different screen sizes to ensure proper layout and functionality

    • Testing under different network conditions to assess performance and reliability

  • Answered by AI
  • Q2. Automation concepts for iOS
  • Ans. 

    Automation concepts for iOS involve using tools like Appium, XCUITest, and XCTest to automate testing of iOS applications.

    • Use Appium for cross-platform testing of iOS apps

    • XCUITest is Apple's native UI testing framework for iOS apps

    • XCTest is Apple's unit testing framework for iOS apps

  • Answered by AI
Round 2 - HR 

(2 Questions)

  • Q1. Expectations of salary
  • Ans. 

    I expect a competitive salary based on my experience and industry standards, ideally in the range of $90,000 to $120,000.

    • Research industry standards: For a Senior Test Engineer, salaries typically range from $90,000 to $120,000 depending on location and company size.

    • Consider my experience: With over 7 years in testing and quality assurance, I bring valuable skills that justify a higher salary.

    • Evaluate the job responsib...

  • Answered by AI
  • Q2. What are you looking for in the organization

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Manual Testing related questions
Interview experience
1
Bad
Difficulty level
-
Process Duration
-
Result
-
  • Q1. Sql question for the manual testing
  • Q2. Db and api question
Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Aug 2023. 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 - Technical 

(9 Questions)

  • Q1. Explain about your Framework ?
  • Ans. 

    My framework is a combination of tools, libraries, coding standards, and guidelines used for automation testing.

    • My framework is based on the Page Object Model design pattern.

    • It uses Selenium WebDriver for browser automation.

    • It includes test data management using Excel or CSV files.

    • It has reporting capabilities using tools like ExtentReports or Allure.

    • It supports parallel execution of test cases using TestNG or JUnit.

  • Answered by AI
  • Q2. What your roles and responsibilities in your Project ? What are sprint ceremonies happening in your Agile? X path assignment given(Prepare well on CSS and X path ) without tools ? What are Interfaces an...
  • Q3. Java OOPS concepts Java Coding: 1.W.A.P to Reverse the given String ?(Program)
  • Ans. String s="WelCome"; String rev=""; int n=s.length(); for(int i=n-1;i>=0; i--){ rev=rev+s.charAt(i); } System.out.println(rev);
  • Answered Anonymously
  • Q4. 2.WAP to provide String without duplicates.(Each character repeated only once) eg: "Hello World" => "Helo Wrd"; Hint:Use Set (Linked hashset)
  • Ans. 

    The program removes duplicates from a given string using a Set data structure.

    • Create a LinkedHashSet to maintain the order of characters while removing duplicates

    • Iterate through each character in the input string and add it to the set

    • Convert the set back to a string and return the result

  • Answered by AI
  • Q5. What are Java Collections you have used in your Project ?
  • Ans. 

    I have used Java Collections such as ArrayList, HashMap, and HashSet in my project.

    • ArrayList: Used to store and manipulate a list of elements.

    • HashMap: Used to store key-value pairs for efficient retrieval.

    • HashSet: Used to store unique elements without duplicates.

  • Answered by AI
  • Q6. For File uploads how can you handle in selenium ?
  • Ans. 

    File uploads in Selenium can be handled using the sendKeys() method to input the file path.

    • Use the sendKeys() method to input the file path in the file upload field

    • Make sure the file path is correct and accessible

    • Verify the file upload by checking for the presence of the uploaded file on the page

  • Answered by AI
  • Q7. Asked about Defect life Cycle High seviority and low priority ? Low Priority and High seviority ? Medium priority bugs ?
  • Q8. How you can reslove merge conflicts in git ? Share your experience ?
  • Ans. 

    Resolve merge conflicts in git by using git commands and tools.

    • Use 'git status' to identify conflicted files

    • Open conflicted file(s) in text editor and resolve conflicts manually

    • Use 'git add' to stage resolved files

    • Commit changes using 'git commit'

    • Use 'git merge --abort' to abort merge if needed

  • Answered by AI
  • Q9. Git comands what you have used
  • Ans. 

    Various Git commands used for version control and collaboration

    • git clone: to clone a repository from a remote server

    • git add: to stage changes for commit

    • git commit: to save changes to the local repository

    • git push: to push changes to a remote repository

    • git pull: to fetch and merge changes from a remote repository

    • git branch: to create, list, delete, or switch branches

    • git merge: to merge changes from one branch into anothe...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Please be prepared well on Xpath and basics ?

java Programing concepts ?( I didn't find logic at the time of interview for set question)

Manual testing concepts ?

Git and Build tools ?

Ready with Editor or any Java Compiler Online(They can ask you regarding programing)

Skills evaluated in this interview

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

I applied via Referral and was interviewed in Jan 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Technical interview with selenium
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. TestNG related questions Real time
Round 2 - Technical 

(1 Question)

  • Q1. Java related to frameworks
Round 3 - HR 

(1 Question)

  • Q1. Salary discussion and location discussion

Interview Preparation Tips

Interview preparation tips for other job seekers - Focus at your Resume technical knowledge
Interview experience
5
Excellent
Difficulty level
Hard
Process Duration
2-4 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Nov 2022. 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 - HR 

(1 Question)

  • Q1. How much is your experience
  • Ans. 

    I have 8 years of experience as a Senior Test Engineer.

    • I have worked in the software testing industry for 8 years.

    • I have experience in designing and executing test cases.

    • I have expertise in test automation using tools like Selenium.

    • I have worked on various projects and have experience in different testing methodologies.

    • I have strong problem-solving and analytical skills.

    • I have experience in leading and mentoring junior...

  • Answered by AI
Round 3 - Technical 

(2 Questions)

  • Q1. Related to Automation testing
  • Q2. Find xpath,design pom classes,test classes,etc.
  • Ans. 

    To find xpath, design POM classes and test classes for Senior Test Engineer role.

    • Use browser developer tools to inspect elements and find xpath

    • Design POM classes to represent web pages and their elements

    • Create test classes to write test cases and execute them

    • Use testing frameworks like TestNG or JUnit for test automation

    • Use tools like Selenium WebDriver for browser automation

  • Answered by AI
Round 4 - Technical 

(2 Questions)

  • Q1. Ask about manual testing
  • Q2. Identify test scenarios, write test cases
  • Ans. 

    Test scenarios and cases are identified based on requirements and specifications.

    • Identify functional and non-functional requirements

    • Create test scenarios based on requirements

    • Write test cases for each scenario

    • Include positive and negative test cases

    • Consider boundary conditions and edge cases

    • Perform exploratory testing

    • Use automation tools for repetitive tests

  • Answered by AI
Round 5 - HR 

(2 Questions)

  • Q1. What is your preferred location
  • Ans. 

    I prefer to work in a location that offers a good work-life balance and opportunities for professional growth.

    • I value a location that has a strong tech industry and a supportive community of professionals.

    • A location with a diverse range of industries can provide interesting testing opportunities.

    • Access to good transportation options and amenities is important for convenience and quality of life.

    • Consider mentioning any ...

  • Answered by AI
  • Q2. As per company requirement

Interview Preparation Tips

Interview preparation tips for other job seekers - Practice program and visit naukari profile daily, update resume

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I appeared for an interview before Jan 2024.

Round 1 - Coding Test 

Online java string reversed. oops,

Round 2 - One-on-one 

(2 Questions)

  • Q1. Selenium appium, API AUTOMATION QUESTION
  • Q2. Selenium dynamic locator
Round 3 - HR 

(1 Question)

  • Q1. Salary negotiations

Tech Mahindra Interview FAQs

How many rounds are there in Tech Mahindra Senior Test Engineer interview?
Tech Mahindra interview process usually has 2-3 rounds. The most common rounds in the Tech Mahindra interview process are Technical, HR and Coding Test.
How to prepare for Tech Mahindra Senior Test Engineer 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 Automation Testing, Test Engineering, Selenium, Java and Python.
What are the top questions asked in Tech Mahindra Senior Test Engineer interview?

Some of the top questions asked at the Tech Mahindra Senior Test Engineer interview -

  1. What are Java Collections you have used in your Projec...read more
  2. How you can reslove merge conflicts in git ? Share your experienc...read more
  3. 2.WAP to provide String without duplicates.(Each character repeated only once) ...read more
How long is the Tech Mahindra Senior Test Engineer interview process?

The duration of Tech Mahindra Senior Test Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Overall Interview Experience Rating

3.7/5

based on 19 interview experiences

Difficulty level

Moderate 89%
Hard 11%

Duration

Less than 2 weeks 67%
2-4 weeks 22%
4-6 weeks 11%
View more
Tech Mahindra Senior Test Engineer Salary
based on 2.2k salaries
₹8.3 L/yr - ₹16 L/yr
7% more than the average Senior Test Engineer Salary in India
View more details

Tech Mahindra Senior Test Engineer Reviews and Ratings

based on 196 reviews

3.4/5

Rating in categories

2.9

Skill development

3.5

Work-life balance

2.8

Salary

3.4

Job security

3.2

Company culture

2.4

Promotions

3.2

Work satisfaction

Explore 196 Reviews and Ratings
Software Engineer
26.6k salaries
unlock blur

₹3.7 L/yr - ₹9.2 L/yr

Senior Software Engineer
22.2k salaries
unlock blur

₹9.1 L/yr - ₹18.5 L/yr

Technical Lead
12.5k salaries
unlock blur

₹16.9 L/yr - ₹30 L/yr

Associate Software Engineer
6.1k salaries
unlock blur

₹1.9 L/yr - ₹5.7 L/yr

Team Lead
5.4k salaries
unlock blur

₹5.7 L/yr - ₹17.7 L/yr

Explore more salaries
Compare Tech Mahindra with

Infosys

3.6
Compare

Cognizant

3.7
Compare

Accenture

3.7
Compare

Wipro

3.7
Compare
write
Share an Interview