Upload Button Icon Add office photos
Engaged Employer

i

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

Mphasis Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Mphasis Automation Test Engineer Interview Questions and Answers

Updated 10 Jun 2025

19 Interview questions

🔥 Asked by recruiter 2 times
An Automation Test Engineer was asked 3w ago
Q. Tell me about OOP concepts.
Ans. 

OOP (Object-Oriented Programming) is a programming paradigm based on objects that encapsulate data and behavior.

  • Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).

  • Inheritance: Mechanism to create a new class using properties and methods of an existing class (e.g., a 'Dog' class inheriting from an 'Animal' class).

  • Polymorphism: Ability to present the same interface for ...

An Automation Test Engineer was asked 9mo ago
Q. 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.

Automation Test Engineer Interview Questions Asked at Other Companies

asked in TCS
Q1. How to handle scrollbar and mouse activities Jenkins and Github S ... read more
asked in Infosys
Q2. Introduce yourself 1.What is STLC 2. difference between Test plan ... read more
asked in LTIMindtree
Q3. 1. diff b/w findelements vs findelement? 2. set vs map? 3. wap fo ... read more
asked in Capgemini
Q4. 1] Introduction 2] Sanity Vs Smoke testing 3] Waits in selenium a ... read more
asked in Capgemini
Q5. What is assertion? What is soft assertion? What is hard assertion ... read more
An Automation Test Engineer was asked 9mo ago
Q. What are 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<String> handles = dr...

An Automation Test Engineer was asked 9mo ago
Q. What is a constructor and its 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; } }

An Automation Test Engineer was asked 9mo ago
Q. 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++; }

An Automation Test Engineer was asked 9mo ago
Q. 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: ...

An Automation Test Engineer was asked 9mo ago
Q. 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().

Are these interview questions helpful?
An Automation Test Engineer was asked 9mo ago
Q. 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.

An Automation Test Engineer was asked 10mo ago
Q. Write code to find the second largest number in an array without sorting.
Ans. 

Use two variables to keep track of the largest and second largest numbers in the array.

  • Iterate through the array and compare each element with the largest and second largest variables.

  • Update the variables accordingly to find the second largest number.

  • Return the second largest number once the iteration is complete.

An Automation Test Engineer was asked 10mo ago
Q. How do you find the XPath of a product on Amazon?
Ans. 

The xpath of a product on Amazon can be found by inspecting the HTML code of the product page.

  • Right click on the product on Amazon and select 'Inspect' to view the HTML code

  • Locate the unique identifier of the product, such as class name or id

  • Construct the xpath using the unique identifier and other relevant attributes

Mphasis Automation Test Engineer Interview Experiences

11 interviews found

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<String> handles = driver....

  • 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
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

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

Round 1 - Technical 

(4 Questions)

  • Q1. Explain Framework
  • Ans. 

    A framework is a set of guidelines, tools, and libraries used to develop and maintain software applications.

    • Provides structure and guidelines for development

    • Promotes code reusability and maintainability

    • Includes libraries and tools for common tasks

    • Supports automation and scalability

    • Examples: Selenium WebDriver for web automation, TestNG for test execution

  • Answered by AI
  • Q2. Code to find second largest number in array without sorting
  • Ans. 

    Use two variables to keep track of the largest and second largest numbers in the array.

    • Iterate through the array and compare each element with the largest and second largest variables.

    • Update the variables accordingly to find the second largest number.

    • Return the second largest number once the iteration is complete.

  • Answered by AI
  • Q3. Find xpath of product on amazon
  • Ans. 

    The xpath of a product on Amazon can be found by inspecting the HTML code of the product page.

    • Right click on the product on Amazon and select 'Inspect' to view the HTML code

    • Locate the unique identifier of the product, such as class name or id

    • Construct the xpath using the unique identifier and other relevant attributes

  • Answered by AI
  • Q4. Oops concept in java
  • Ans. 

    Object-oriented programming concept in Java

    • Encapsulation: bundling data and methods that operate on the data

    • Inheritance: creating new classes using existing classes

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

  • Answered by AI

Skills evaluated in this interview

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

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

Round 1 - One-on-one 

(3 Questions)

  • Q1. Tell me about yourself
  • Ans. 

    I am a dedicated Automation Test Engineer with 5 years of experience in creating and executing test cases for software applications.

    • Experienced in creating automated test scripts using tools like Selenium and Appium

    • Proficient in writing test cases, executing tests, and reporting defects

    • Skilled in analyzing test results and providing recommendations for improvements

    • Strong knowledge of software testing methodologies and ...

  • Answered by AI
  • Q2. Explain project framework
  • Ans. 

    Project framework is a structure that provides guidelines, best practices, and tools for developing and maintaining software projects.

    • Project framework defines the overall structure of the project, including directories, files, and naming conventions.

    • It includes guidelines for coding standards, testing procedures, and documentation requirements.

    • Frameworks like Selenium, TestNG, and JUnit provide tools and libraries for...

  • Answered by AI
  • Q3. Agile scrum: Velocity?
  • Ans. 

    Velocity in Agile Scrum measures the amount of work completed in a sprint, guiding future planning and forecasting.

    • Velocity is calculated by summing the story points of completed user stories in a sprint.

    • For example, if a team completes 30 story points in one sprint, their velocity is 30.

    • Velocity helps teams estimate how much work they can take on in future sprints.

    • It can vary from sprint to sprint due to team dynamics...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare accordingly with your resume

Skills evaluated in this interview

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

I appeared for an interview before Mar 2022, where I was asked the following questions.

  • Q1. Can you explain your project?
  • Q2. Tell me about OOP’s concept
  • Ans. 

    OOP (Object-Oriented Programming) is a programming paradigm based on objects that encapsulate data and behavior.

    • Encapsulation: Bundling data and methods that operate on the data within one unit (e.g., a class).

    • Inheritance: Mechanism to create a new class using properties and methods of an existing class (e.g., a 'Dog' class inheriting from an 'Animal' class).

    • Polymorphism: Ability to present the same interface for diffe...

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

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

Round 1 - Technical 

(1 Question)

  • Q1. Asked about Access Modifier? Framework Describe Cucumber Runner File, Monochrome

Interview Preparation Tips

Interview preparation tips for other job seekers - Learn Java Basics and Selenium Basics
Interview experience
1
Bad
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. What do you mean by BrowserContext in Playwright
  • Ans. 

    BrowserContext in Playwright refers to an isolated environment for running tests in a browser.

    • BrowserContext allows for separate cookies, local storage, and caches for each context

    • It can be used to simulate multiple users interacting with a website simultaneously

    • Contexts can be created and closed as needed during test execution

  • Answered by AI

Skills evaluated in this interview

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

I applied via Naukri.com and was interviewed in Mar 2023. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Properly align and format text in your resume. A recruiter will have to spend more time reading poorly aligned text, leading to high chances of rejection.
View all tips
Round 2 - Technical 

(1 Question)

  • Q1. Java,selenium related question, be strong with logics and core java
Round 3 - One-on-one 

(1 Question)

  • Q1. It was client round, they ask java with selenium, and finding xpath, problems related java, and oops concept

Interview Preparation Tips

Interview preparation tips for other job seekers - be prepare for java, selenium. Be bold and confident.Good luck.
Interview experience
5
Excellent
Difficulty level
-
Process Duration
Less than 2 weeks
Result
-
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 - Technical 

(1 Question)

  • Q1. 1.Difference between findElement and findElements. 2. What is interface?
  • Ans. 

    Explaining the difference between findElement and findElements and defining interface.

    • findElement returns the first matching element on the page while findElements returns a list of all matching elements.

    • Both methods are used to locate web elements on a page using locators such as ID, class name, name, etc.

    • An interface is a collection of abstract methods that can be implemented by a class. It defines a contract that th...

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. Regarding salary expectation

Interview Preparation Tips

Interview preparation tips for other job seekers - Study well for automation and rest API.
Proper knowledge of Java

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected

I appeared for an interview before Mar 2022.

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 - Aptitude Test 

Basic aptitude questions and 2 programming questions

Round 3 - Technical 

(3 Questions)

  • Q1. Will ask java basic questions and explanation of code and it's response
  • Q2. Code to Reverse a string
  • Q3. Palindrome code in java
  • Ans. 

    Palindrome code in Java

    • A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward

    • To check if a string is a palindrome, we can compare the first and last characters, then the second and second-to-last characters, and so on

    • We can use a loop to iterate through the string and compare the characters

    • We can also use StringBuilder to reverse the string and compare it to the...

  • Answered by AI
Round 4 - HR 

(1 Question)

  • Q1. Will ask self intro and fav movie /book and why it was favourite?
Round 5 - Communication Skill test 

(1 Question)

  • Q1. It was like a system assessment.System will pronounce few sentences and we have to understand it and we need to respond with an answer and other was system will display few paragraphs and after 3-4 min, pa...

Interview Preparation Tips

Interview preparation tips for other job seekers - Please attend Communication skills round carefully. Only thing we need is concentration and understanding of foreign accent.

Skills evaluated in this interview

I applied via Naukri.com and was interviewed in Sep 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Basis of knowledge and confidence, process and problem solving skills.

Interview Preparation Tips

Interview preparation tips for other job seekers - Be aware of whatever you know and be confident in your area.

Top trending discussions

View All
Interview Tips & Stories
6d (edited)
a team lead
Why are women still asked such personal questions in interview?
I recently went for an interview… and honestly, m still trying to process what just happened. Instead of being asked about my skills, experience, or how I could add value to the company… the questions took a totally unexpected turn. The interviewer started asking things like When are you getting married? Are you engaged? And m sure, if I had said I was married, the next question would’ve been How long have you been married? What does my personal life have to do with the job m applying for? This is where I felt the gender discrimination hit hard. These types of questions are so casually thrown at women during interviews but are they ever asked to men? No one asks male candidates if they’re planning a wedding or how old their kids are. So why is it okay to ask women? Can we please stop normalising this kind of behaviour in interviews? Our careers shouldn’t be judged by our relationship status. Period.
Got a question about Mphasis?
Ask anonymously on communities.

Mphasis Interview FAQs

How many rounds are there in Mphasis Automation Test Engineer interview?
Mphasis interview process usually has 2-3 rounds. The most common rounds in the Mphasis interview process are Technical, Resume Shortlist and One-on-one Round.
How to prepare for Mphasis Automation 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 Mphasis. The most common topics and skills that interviewers at Mphasis expect are Automation Testing, Cucumber, Selenium, Java and Manual Testing.
What are the top questions asked in Mphasis Automation Test Engineer interview?

Some of the top questions asked at the Mphasis Automation Test Engineer interview -

  1. Can you create a Static method inside an Abstract class or Interfa...read more
  2. Can you create a Static local variable inside a Static met...read more
  3. What is the memory allocation for a Stri...read more
How long is the Mphasis Automation Test Engineer interview process?

The duration of Mphasis Automation 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 10 interview experiences

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 88%
2-4 weeks 13%
View more
Mphasis Automation Test Engineer Salary
based on 323 salaries
₹4.3 L/yr - ₹10.7 L/yr
6% less than the average Automation Test Engineer Salary in India
View more details

Mphasis Automation Test Engineer Reviews and Ratings

based on 31 reviews

3.1/5

Rating in categories

2.8

Skill development

3.2

Work-life balance

2.7

Salary

3.1

Job security

2.8

Company culture

2.5

Promotions

2.7

Work satisfaction

Explore 31 Reviews and Ratings
Software Engineer
6.7k salaries
unlock blur

₹4 L/yr - ₹8.4 L/yr

Senior Software Engineer
6k salaries
unlock blur

₹6.6 L/yr - ₹20 L/yr

Associate Software Engineer
4.9k salaries
unlock blur

₹2 L/yr - ₹5.6 L/yr

Module Lead
2.5k salaries
unlock blur

₹15.8 L/yr - ₹27 L/yr

Transaction Processing Officer
2.3k salaries
unlock blur

₹1.4 L/yr - ₹4.7 L/yr

Explore more salaries
Compare Mphasis with

Cognizant

3.7
Compare

Wipro

3.7
Compare

Accenture

3.7
Compare

TCS

3.6
Compare
write
Share an Interview