Premium Employer

i

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

Infosys Verified Tick Work with us arrow

Compare button icon Compare button icon Compare

Filter interviews by

Infosys Automation Test Engineer Interview Questions and Answers for Experienced

Updated 4 Jul 2025

29 Interview questions

An Automation Test Engineer was asked 3mo ago
Q. Write a program to swap the values of two numbers.
Ans. 

Swapping two numbers can be done using various methods, including arithmetic operations and temporary variables.

  • Using a Temporary Variable: Store the first number in a temporary variable, assign the second number to the first, and then assign the temporary variable to the second. Example: a = 5, b = 10; temp = a; a = b; b = temp.

  • Using Arithmetic Operations: You can swap numbers without a temporary variable by usin...

An Automation Test Engineer was asked 5mo ago
Q. Write a program to find the order of occurrence of characters in a string.
Ans. 

The order of occurrence program determines the sequence of elements based on their first appearance.

  • Use a data structure like a dictionary to track the first occurrence of each element.

  • Iterate through the array and store elements in the order they appear.

  • Example: For array [3, 1, 2, 3, 1], the output should be [3, 1, 2].

  • Consider using a set to avoid duplicates while maintaining order.

Automation Test Engineer Interview Questions Asked at Other Companies for Experienced

asked in Capgemini
Q1. What is assertion? What is soft assertion? What is hard assertion ... read more
asked in Globant
Q2. How do you remove repeated words from a string without using pred ... read more
asked in TCS
Q3. 1) cucumber 2) Defects worked on, tell me about the bugs you foun ... read more
Q4. What is Automation? what is selenium?what is xpath? what is regre ... read more
asked in Capgemini
Q5. What is TestNG? Write the methods name? Importance.
An Automation Test Engineer was asked
Q. Where have you used OOPS concepts in your framework?
Ans. 

I used OOPs concepts in my framework for creating reusable components, inheritance, and encapsulation.

  • Used inheritance to create a base test class with common methods and properties

  • Implemented encapsulation to hide the internal details of the test cases

  • Utilized polymorphism for creating different types of test cases using the same interface

An Automation Test Engineer was asked
Q. What is Postman?
Ans. 

Postman is a popular API testing tool used for testing and debugging APIs.

  • Postman allows users to send requests to APIs and receive responses

  • It provides a user-friendly interface for creating and managing API requests

  • Postman can be used for automated testing of APIs

  • It supports various request types such as GET, POST, PUT, DELETE, etc.

An Automation Test Engineer was asked
Q. How does Postman help with API testing?
Ans. 

Postman helps in API testing by providing a user-friendly interface to send requests, automate testing, and analyze responses.

  • Postman allows testers to easily send requests to APIs and view responses in a user-friendly interface.

  • It provides features for automating API testing, such as creating test scripts and running collections of tests.

  • Postman also offers tools for analyzing responses, including detailed logs a...

An Automation Test Engineer was asked
Q. Describe your testing framework.
Ans. 

My framework is a data-driven framework using Selenium WebDriver and TestNG for automated testing.

  • Data-driven approach for test data management

  • Integration of Selenium WebDriver for web automation

  • Utilization of TestNG for test case management and reporting

An Automation Test Engineer was asked
Q. Write Java code to find the count of occurrences of each letter in your name.
Ans. 

This Java code counts the occurrences of each letter in a given name using a HashMap.

  • Use a HashMap<Character, Integer> to store letter counts.

  • Iterate through each character of the name.

  • For each character, update its count in the HashMap.

  • Example: For the name 'John', the output will be: J: 1, o: 1, h: 1, n: 1.

Are these interview questions helpful?
An Automation Test Engineer was asked
Q. How do you handle pop-ups?
Ans. 

Handle popups by using automation tools, handling alerts, switching to popup windows, and using explicit waits.

  • Use automation tools like Selenium to handle popups

  • Handle alerts using switchTo().alert() method

  • Switch to popup windows using switchTo().window() method

  • Use explicit waits to ensure popup elements are loaded before interacting with them

An Automation Test Engineer was asked
Q. Which method do you use to remove spaces in a string?
Ans. 

One method to remove spaces in a string is by using the replace() method in JavaScript.

  • Use the replace() method with a regular expression to replace all spaces with an empty string

  • Example: str.replace(/\s/g, '') will remove all spaces from the string 'hello world'

  • Another method is to use the split() method to split the string by spaces and then join the array elements without spaces

An Automation Test Engineer was asked
Q. What kind of bugs might you encounter during API testing?
Ans. 

Common bugs in API testing include incorrect data formats, authentication issues, and performance problems.

  • Incorrect data formats such as missing or incorrect parameters

  • Authentication issues like invalid tokens or permissions

  • Performance problems such as slow response times or timeouts

Infosys Automation Test Engineer Interview Experiences for Experienced

13 interviews found

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

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

Round 1 - Coding Test 

Fundamental questions about Selenium encompass topics such as: 1. right-click actions and mouse movement, 2. screenshot methods and functions, 3. handling multiple window controls, 4. concepts of Object-Oriented Programming (OOP), 5. differences among collections, sets, and maps, 6. framework architecture, 7. sorting an array without using built-in functions, and 8. managing failed test cases in TestNG.

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

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

Round 1 - Technical 

(9 Questions)

  • Q1. What is postman
  • Ans. 

    Postman is a popular API testing tool used for testing and debugging APIs.

    • Postman allows users to send requests to APIs and receive responses

    • It provides a user-friendly interface for creating and managing API requests

    • Postman can be used for automated testing of APIs

    • It supports various request types such as GET, POST, PUT, DELETE, etc.

  • Answered by AI
  • Q2. How postman helps for api testing
  • Ans. 

    Postman helps in API testing by providing a user-friendly interface to send requests, automate testing, and analyze responses.

    • Postman allows testers to easily send requests to APIs and view responses in a user-friendly interface.

    • It provides features for automating API testing, such as creating test scripts and running collections of tests.

    • Postman also offers tools for analyzing responses, including detailed logs and te...

  • Answered by AI
  • Q3. Method Overloading and overriding
  • Q4. Locators in Selenium
  • Ans. 

    Locators in Selenium are used to identify web elements on a webpage for automation testing purposes.

    • Locators include ID, class name, name, tag name, link text, partial link text, and xpath.

    • ID is the most efficient locator as it is unique for each element.

    • Xpath is powerful but can be slow and brittle if not used correctly.

    • Using CSS selectors is preferred over xpath for better performance.

    • Locators can be used with findEl...

  • Answered by AI
  • Q5. SQL scenario based question
  • Q6. Smoke And Sanity
  • Q7. Many project based scenario question
  • Q8. Describe Your Framework
  • Ans. 

    My framework is a data-driven framework using Selenium WebDriver and TestNG for automated testing.

    • Data-driven approach for test data management

    • Integration of Selenium WebDriver for web automation

    • Utilization of TestNG for test case management and reporting

  • Answered by AI
  • Q9. Jenkins and Maven

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare your resume .you are shortlisted based on your resume for tech round.

Skills evaluated in this interview

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

(1 Question)

  • Q1. Order of occurrence program
  • Ans. 

    The order of occurrence program determines the sequence of elements based on their first appearance.

    • Use a data structure like a dictionary to track the first occurrence of each element.

    • Iterate through the array and store elements in the order they appear.

    • Example: For array [3, 1, 2, 3, 1], the output should be [3, 1, 2].

    • Consider using a set to avoid duplicates while maintaining order.

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Almost same as round 1
Interview experience
2
Poor
Difficulty level
Hard
Process Duration
2-4 weeks
Result
Not Selected

I applied via Company Website and was interviewed in Feb 2024. There was 1 interview round.

Round 1 - Technical 

(13 Questions)

  • Q1. Write a Selenium Program to Input Username and Password (Notepad no IDE)
  • Ans. 

    A Selenium program to automate login by inputting username and password using Java without an IDE.

    • 1. Import necessary Selenium libraries: 'import org.openqa.selenium.*;'

    • 2. Set up WebDriver: 'WebDriver driver = new ChromeDriver();'

    • 3. Navigate to the login page: 'driver.get("http://example.com/login");'

    • 4. Locate username field: 'WebElement username = driver.findElement(By.id("username"));'

    • 5. Input username: 'username.sen...

  • Answered by AI
  • Q2. How to check the password is encrypted
  • Ans. 

    Check the password encryption by verifying the hashing algorithm used and comparing the encrypted password with a known hash value.

    • Check the hashing algorithm used to encrypt the password (e.g. MD5, SHA-256)

    • Compare the encrypted password with a known hash value for the same password

    • Ensure that the encryption process is irreversible, meaning the original password cannot be easily obtained from the encrypted version

  • Answered by AI
  • Q3. How to get URL of webpage
  • Ans. 

    To get the URL of a webpage, you can use the window.location object in JavaScript.

    • Use window.location.href to get the full URL of the webpage

    • Use window.location.hostname to get the domain of the webpage

    • Use window.location.pathname to get the path of the webpage

    • Use window.location.protocol to get the protocol of the webpage (http or https)

  • Answered by AI
  • Q4. Which method you use to remove spaces in the string
  • Ans. 

    One method to remove spaces in a string is by using the replace() method in JavaScript.

    • Use the replace() method with a regular expression to replace all spaces with an empty string

    • Example: str.replace(/\s/g, '') will remove all spaces from the string 'hello world'

    • Another method is to use the split() method to split the string by spaces and then join the array elements without spaces

  • Answered by AI
  • Q5. How to handle POPUPS
  • Ans. 

    Handle popups by using automation tools, handling alerts, switching to popup windows, and using explicit waits.

    • Use automation tools like Selenium to handle popups

    • Handle alerts using switchTo().alert() method

    • Switch to popup windows using switchTo().window() method

    • Use explicit waits to ensure popup elements are loaded before interacting with them

  • Answered by AI
  • Q6. Defect Lifecycle
  • Q7. Agile Process (Agile vs Waterfall model)
  • Ans. 

    Agile is iterative and flexible, while Waterfall is sequential and rigid.

    • Agile involves continuous feedback and adaptation, while Waterfall follows a linear approach.

    • Agile allows for changes throughout the development process, while Waterfall requires detailed planning upfront.

    • Agile promotes collaboration and communication among team members, while Waterfall has distinct phases with limited interaction.

    • Agile is better ...

  • Answered by AI
  • Q8. What kind of bugs you will encounter in API testing
  • Ans. 

    Common bugs in API testing include incorrect data formats, authentication issues, and performance problems.

    • Incorrect data formats such as missing or incorrect parameters

    • Authentication issues like invalid tokens or permissions

    • Performance problems such as slow response times or timeouts

  • Answered by AI
  • Q9. Selenium vs Selenium Webdriver
  • Ans. 

    Selenium is a suite of tools for web automation testing, while Selenium WebDriver is a tool specifically for automating web browsers.

    • Selenium is a suite of tools that includes Selenium WebDriver, Selenium IDE, and Selenium Grid.

    • Selenium WebDriver is a tool for automating web browsers and is the most commonly used component of Selenium.

    • Selenium WebDriver allows testers to write tests in various programming languages lik...

  • Answered by AI
  • Q10. Write java locator to get all elements in the webpage
  • Ans. 

    Use Selenium WebDriver to find all elements on a webpage using Java locators

    • Use findElements method to locate all elements on the webpage

    • Use By class to specify the locator strategy (e.g. By.xpath, By.id, By.className)

    • Store the located elements in a List

  • Answered by AI
  • Q11. What is polymorphism
  • Ans. 

    Polymorphism is the ability of a function or method to behave differently based on the object it is called with.

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

    • It enables a single interface to be used for different data types or classes.

    • Examples include method overloading and method overriding in object-oriented programming.

  • Answered by AI
  • Q12. What is interface
  • Ans. 

    An interface in programming is a contract that defines the methods that a class must implement.

    • Interfaces in programming are used to define a set of methods that a class must implement.

    • They provide a way to achieve abstraction and multiple inheritance in programming languages.

    • Interfaces are used to define the behavior of a class without specifying how it is implemented.

    • In languages like Java, classes can implement mult...

  • Answered by AI
  • Q13. Why do you want to join Infosys
  • Ans. 

    I want to join Infosys for its innovative culture, career growth opportunities, and commitment to excellence in technology solutions.

    • Infosys is known for its strong emphasis on innovation, which aligns with my passion for exploring new technologies.

    • The company's commitment to employee development through training programs and mentorship is appealing for my career growth.

    • Infosys has a diverse range of projects across va...

  • Answered by AI

Skills evaluated in this interview

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

I applied via Referral and was interviewed in Mar 2024. There were 3 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Asked basic questions related to Java, Selenium and postman
Round 2 - Technical 

(1 Question)

  • Q1. Given a coding question in Java(write java code to find count of occurrence of a letters in your Name)
  • Ans. 

    This Java code counts the occurrences of each letter in a given name using a HashMap.

    • Use a HashMap<Character, Integer> to store letter counts.

    • Iterate through each character of the name.

    • For each character, update its count in the HashMap.

    • Example: For the name 'John', the output will be: J: 1, o: 1, h: 1, n: 1.

  • Answered by AI
Round 3 - One-on-one 

(1 Question)

  • Q1. QA Process in your company, Complete agile methodologies, API related questions, Prepare all the items in your resume
Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I appeared for an interview in Oct 2024, where I was asked the following questions.

  • Q1. Tell me something about yourself?
  • Q2. Swap the value of two numbers
  • Ans. 

    Swapping two numbers can be done using various methods, including arithmetic operations and temporary variables.

    • Using a Temporary Variable: Store the first number in a temporary variable, assign the second number to the first, and then assign the temporary variable to the second. Example: a = 5, b = 10; temp = a; a = b; b = temp.

    • Using Arithmetic Operations: You can swap numbers without a temporary variable by using add...

  • Answered by AI
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

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

Round 1 - HR 

(2 Questions)

  • Q1. Where did you work
  • Ans. 

    I have worked at multiple companies in the software industry.

    • Worked at ABC Software as a QA Engineer for 2 years

    • Currently employed at XYZ Tech as an Automation Test Engineer

    • Freelanced for various startups on testing projects

  • Answered by AI
  • Q2. Salary expectation
  • Ans. 

    I expect a competitive salary based on my skills, experience, and industry standards for Automation Test Engineers.

    • Research industry standards: For example, the average salary for Automation Test Engineers in my region is around $80,000 to $100,000.

    • Consider my experience: With over 5 years in automation testing, I believe a salary in the range of $90,000 to $110,000 is appropriate.

    • Highlight skills: My expertise in tool...

  • Answered by AI
Round 2 - Coding Test 

Asked middle level java codes output

Round 3 - One-on-one 

(2 Questions)

  • Q1. What was your project
  • Ans. 

    I worked on a project to automate testing for a web-based e-commerce platform.

    • Developed automated test scripts using Selenium WebDriver in Java

    • Performed regression testing to ensure new features did not break existing functionality

    • Collaborated with developers to identify and fix bugs in the code

    • Used Jira for tracking test cases and defects

  • Answered by AI
  • Q2. What did you do

Interview Preparation Tips

Interview preparation tips for other job seekers - Good
Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Tell me about ur self
  • Q2. Where u used oops concepts in ur framework
  • Ans. 

    I used OOPs concepts in my framework for creating reusable components, inheritance, and encapsulation.

    • Used inheritance to create a base test class with common methods and properties

    • Implemented encapsulation to hide the internal details of the test cases

    • Utilized polymorphism for creating different types of test cases using the same interface

  • Answered by AI
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 Jan 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Why string immutable in java ?
  • Ans. 

    String is immutable in Java to ensure security, thread safety, and optimization.

    • Immutable strings prevent accidental modification of data.

    • Immutable strings can be safely shared among multiple threads.

    • Immutable strings allow for efficient memory allocation and caching.

    • Immutable strings are used in various security-related operations.

    • Immutable strings enable the use of string pooling for optimization.

  • Answered by AI
  • Q2. Function overloading and function overriding

Skills evaluated in this interview

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

I applied via Recruitment Consulltant and was interviewed in Apr 2023. There were 3 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 

(1 Question)

  • Q1. How to handle broken links in selenium
  • Ans. 

    To handle broken links in Selenium, we can use the HTTPURLConnection class to check the response code of the link.

    • Get all the links on the page using findElements() method

    • Iterate through each link and get the href attribute

    • Create a URL object for the href attribute

    • Open a connection using HTTPURLConnection class

    • Get the response code using getResponseCode() method

    • If the response code is not 200, mark the link as broken

  • Answered by AI
Round 3 - HR 

(1 Question)

  • Q1. They are asking what is salary expection

Skills evaluated in this interview

What people are saying about Infosys

View All
yedabhai
1w
works at
Hyperpure
Are we not even safe in our own workplaces?
An Infosys employee was arrested for secretly recording women in the office washroom. Over 30 videos were found on his phone. This isn't just shocking, it's horrifying. Offices are meant to be safe, respectful spaces. 🙎 When will companies truly prioritize safety and surveillance in all corners, not just the visible ones?
FeedCard Image
Got a question about Infosys?
Ask anonymously on communities.

Infosys Interview FAQs

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

Some of the top questions asked at the Infosys Automation Test Engineer interview for experienced candidates -

  1. 3. What are different types of waits in seleni...read more
  2. 2.How to execute test cases in parall...read more
  3. 1. Automation Framework used in proje...read more
How long is the Infosys Automation Test Engineer interview process?

The duration of Infosys 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.5/5

based on 11 interview experiences

Difficulty level

Easy 11%
Moderate 78%
Hard 11%

Duration

Less than 2 weeks 67%
2-4 weeks 33%
View more
Join Infosys Creating the next opportunity for people, businesses & communities
Infosys Automation Test Engineer Salary
based on 1.2k salaries
₹3.2 L/yr - ₹10.8 L/yr
6% less than the average Automation Test Engineer Salary in India
View more details

Infosys Automation Test Engineer Reviews and Ratings

based on 74 reviews

4.1/5

Rating in categories

4.0

Skill development

4.2

Work-life balance

3.0

Salary

4.4

Job security

4.1

Company culture

3.0

Promotions

3.7

Work satisfaction

Explore 74 Reviews and Ratings
C# Appium Automation Test Engineer

Bangalore / Bengaluru

5-8 Yrs

₹ 5-12 LPA

Python Appium Automation Test Engineer

Pune

5-8 Yrs

₹ 5.5-12 LPA

Mobile Automation/Appium Automation Test Engineer

Bangalore / Bengaluru

3-5 Yrs

₹ 3.6-12 LPA

Explore more jobs
Technology Analyst
54.7k salaries
unlock blur

₹4.8 L/yr - ₹10 L/yr

Senior Systems Engineer
53.9k salaries
unlock blur

₹2.5 L/yr - ₹6.3 L/yr

Technical Lead
35.1k salaries
unlock blur

₹9.4 L/yr - ₹16.4 L/yr

System Engineer
32.6k salaries
unlock blur

₹2.4 L/yr - ₹5.5 L/yr

Senior Associate Consultant
31.4k salaries
unlock blur

₹8.2 L/yr - ₹15 L/yr

Explore more salaries
Compare Infosys with

TCS

3.6
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare

Accenture

3.7
Compare
write
Share an Interview