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

Compare button icon Compare button icon Compare

Filter interviews by

Clear (1)

Infosys Senior Automation Test Engineer Interview Questions and Answers

Updated 25 Aug 2021

Infosys Senior Automation Test Engineer Interview Experiences

1 interview found

I applied via Recruitment Consultant and was interviewed in Jul 2021. There were 3 interview rounds.

Interview Questionnaire 

4 Questions

  • Q1. Java OOPS concepts Selenium questions
  • Q2. Difference between abstract class and Interface
  • Ans. 

    Abstract class is a class that cannot be instantiated and can have both abstract and non-abstract methods. Interface is a collection of abstract methods and constants.

    • Abstract class can have constructors while interface cannot

    • A class can implement multiple interfaces but can only inherit from one abstract class

    • Abstract class can have instance variables while interface cannot

    • Abstract class is used for code reusability w...

  • Answered by AI
  • Q3. How do you handel windows,frames in selenium
  • Ans. 

    Windows and frames can be handled in Selenium using switchTo() method.

    • Use driver.switchTo().window() to switch between windows.

    • Use driver.switchTo().frame() to switch between frames.

    • To switch back to the default content, use driver.switchTo().defaultContent().

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

    Exceptions in Selenium are errors that occur during test execution.

    • Selenium throws exceptions when it encounters errors during test execution

    • Common exceptions include NoSuchElementException, TimeoutException, and StaleElementReferenceException

    • Handling exceptions is important for creating stable and reliable test scripts

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare on basics of java & selenium

Skills evaluated in this interview

Saint-Gobain

We thank our employees for rating us 4/5 on AmbitionBox

Join a company where our employee's ratings speak volumes.

Interview questions from similar companies

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

I was interviewed before Mar 2023.

Round 1 - Technical 

(1 Question)

  • Q1. Tell me about yourself Java basic questions Selenium basic questions
Round 2 - Technical 

(1 Question)

  • Q1. Java coding Selenium date picker Testing framework

Interview Questionnaire 

1 Question

  • Q1. Core java, Selenium, Restassured
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Campus Placement and was interviewed before Apr 2023. There were 4 interview rounds.

Round 1 - Aptitude Test 

Normal aptitude questions 60 Q 60 min (these are all when I was campus recruited)

Round 2 - Assignment 

I had to write an essay (it was when I was fresher)

Round 3 - Technical 

(1 Question)

  • Q1. Just asked fibonnaci series (these are all when I was campus recruited)
Round 4 - HR 

(1 Question)

  • Q1. Basic HR questions(these are all when I was campus recruited)
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed before Jul 2023. There were 3 interview rounds.

Round 1 - Technical 

(2 Questions)

  • Q1. Selenium and TestNg concepts
  • Q2. Java program logics
Round 2 - Technical 

(1 Question)

  • Q1. Selenium framework
Round 3 - HR 

(2 Questions)

  • Q1. Convenient timings and job location
  • Q2. Current pay and expected pay

I applied via Naukri.com and was interviewed in Jul 2022. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. What is overloading and overriding ? What are locators in Selenium? What is the syntax of xpath locator ? What are the methods to write the test cases? Is it mandatory to have input tag in defining xpath?
  • Ans. 

    Answers to questions related to automation testing using Selenium

    • Overloading is when a method has the same name but different parameters in the same class, while overriding is when a subclass provides its own implementation of a method already defined in its superclass

    • Locators in Selenium are used to identify web elements on a web page

    • The syntax of xpath locator is //tagname[@attribute='value']

    • Methods to write test cas...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Do keep your java basics clear and where you use these java concepts in automation.

Skills evaluated in this interview

I applied via Recruitment Consultant and was interviewed in Jan 2021. There was 1 interview round.

Interview Questionnaire 

1 Question

  • Q1. I attended interview on TOSCA Automation tool. Interviewer was very cool.. He asked basic questions about tosca tool usage but questions are some what tricky.. If we prepare like some interview questions f...

Interview Preparation Tips

Interview preparation tips for other job seekers - On any tool ur attending interview meanz you shoudl be having some handson usage otherwise it js very difficult to crack the interview
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
More than 8 weeks
Result
No response

I applied via Naukri.com and was interviewed before Jan 2024. There was 1 interview round.

Round 1 - Coding Test 

String reverse in JS, Framework related question

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

Explain your current testing framework
Method Overloading and Overriding.
find duplicate value from string
only 30mins interview

Round 2 - Technical 

(1 Question)

  • Q1. Manual testing question abstract class and interface difference
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
-

I applied via Walk-in and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(8 Questions)

  • Q1. Can you introduce yourself?
  • Ans. 

    I am a Senior Automation Test Engineer with 5+ years of experience in designing and implementing automated testing frameworks.

    • 5+ years of experience in automation testing

    • Proficient in designing and implementing automated testing frameworks

    • Strong knowledge of testing tools like Selenium, Appium, and JUnit

    • Experience in creating test scripts and executing test cases

    • Ability to analyze test results and identify defects

  • Answered by AI
  • Q2. What is the syntax for using driver.findElement in Selenium?
  • Ans. 

    The syntax for using driver.findElement in Selenium is driver.findElement(By locator)

    • Use driver.findElement(By locator) to locate a single element on the web page

    • Specify the locator strategy (e.g. By.id, By.name, By.xpath) to identify the element

    • Example: WebElement element = driver.findElement(By.id("username"));

  • Answered by AI
  • Q3. What are the different types of assertions, and what is the syntax for a hard assertion in TestNG?
  • Ans. 

    Different types of assertions and syntax for hard assertion in TestNG

    • Types of assertions: Hard assertions and Soft assertions

    • Syntax for hard assertion in TestNG: Assert.assertEquals(expected, actual)

  • Answered by AI
  • Q4. What types of wait mechanisms are utilized in your project?
  • Ans. 

    Types of wait mechanisms include implicit wait, explicit wait, fluent wait, and thread.sleep.

    • 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.

    • Fluent wait: Waits for a condition to be true with a specified polling frequency.

    • Thread.sleep: Pauses the execution for a specified amount of time.

  • Answered by AI
  • Q5. How do you manage frames in Selenium?
  • Ans. 

    Frames in Selenium can be managed using switchTo() method to navigate between frames.

    • Use driver.switchTo().frame() method to switch to a frame by index, name or WebElement

    • Use driver.switchTo().defaultContent() method to switch back to the main content

    • Use driver.switchTo().parentFrame() method to switch to the parent frame

  • Answered by AI
  • Q6. How do you remove duplicates from an array?
  • Ans. 

    Use a Set data structure to remove duplicates from an array of strings.

    • Create a Set from the array to automatically remove duplicates

    • Convert the Set back to an array to get the unique values

  • Answered by AI
  • Q7. What is the difference between List, Set, and Map collections in Java?
  • Ans. 

    List, Set, and Map are different types of collections in Java used to store and manipulate groups of objects.

    • List is an ordered collection that allows duplicate elements. Example: ArrayList, LinkedList

    • Set is a collection that does not allow duplicate elements. Example: HashSet, TreeSet

    • Map is a collection of key-value pairs where each key is unique. Example: HashMap, TreeMap

  • Answered by AI
  • Q8. What actions would you take if there is a mismatch between user stories and application functionality?
  • Ans. 

    I would analyze the user stories and application functionality to identify the root cause of the mismatch and work towards resolving it.

    • Review the user stories and application functionality to understand the discrepancies

    • Communicate with stakeholders to clarify requirements and expectations

    • Update test cases and automation scripts to align with the corrected user stories

    • Collaborate with developers to address any underly

  • Answered by AI
Round 2 - Technical 

(4 Questions)

  • Q1. What is your relevant experience, and what are your roles and responsibilities in your current company?
  • Ans. 

    I have over 5 years of experience in automation testing, with a focus on creating and executing test scripts for web applications.

    • Developing automation test scripts using tools like Selenium and TestNG

    • Creating test plans and test cases based on requirements

    • Executing test cases and reporting defects

    • Collaborating with developers and QA team to ensure quality of the product

    • Participating in Agile ceremonies such as sprint

  • Answered by AI
  • Q2. Can you provide a specific scenario from your previous project, and detail the feature file step definitions while demonstrating how to run the scenario with different sets of data?
  • Ans. 

    Demonstrating feature file step definitions with different sets of data in a previous project scenario

    • Create a feature file with a scenario outline that includes placeholders for different sets of data

    • Write step definitions that use the placeholders to run the scenario with different data sets

    • Use data tables or examples in the feature file to provide the different sets of data

    • Run the scenario with different data sets t...

  • Answered by AI
  • Q3. What approach can be used to count the number of URLs in an HTML page using Selenium and open the URL that contains your name?
  • Ans. 

    To count URLs in an HTML page using Selenium and open the URL containing your name, you can use a combination of Selenium WebDriver methods and regular expressions.

    • Use Selenium WebDriver to navigate to the HTML page and retrieve its source code

    • Use regular expressions to identify and count the URLs in the source code

    • Iterate through the list of URLs to find the one containing your name

    • Use Selenium WebDriver to open the U

  • Answered by AI
  • Q4. How can you separate letters and digits from a string in Java? Please provide the Java code for this task.
  • Ans. 

    Use regular expressions to separate letters and digits from a string in Java.

    • Use the String class's split() method with a regular expression to separate letters and digits.

    • Create a regular expression pattern that matches either letters or digits.

    • Store the separated letters and digits in separate arrays.

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Automation Test Engineer interview:
  • Java oops
  • Selenium
  • Cucumber
Interview preparation tips for other job seekers - Review fundamental concepts, practice coding daily, and utilize free websites for practice. Be well-versed in the roles and responsibilities of your current or previous projects, and answer confidently.
Contribute & help others!
anonymous
You can choose to be anonymous

Infosys Interview FAQs

What are the top questions asked in Infosys Senior Automation Test Engineer interview?

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

  1. How do you handel windows,frames in selen...read more
  2. Difference between abstract class and Interf...read more
  3. Exceptions in selen...read more

Recently Viewed

SALARIES

Spectrum Talent Management

INTERVIEWS

IMPACT Infotech

No Interviews

INTERVIEWS

Tech Mahindra

No Interviews

INTERVIEWS

Mphasis

No Interviews

SALARIES

Spectrum Talent Management

SALARIES

Spectrum Talent Management

SALARIES

Spectrum Talent Management

INTERVIEWS

Livespace Architects

No Interviews

SALARIES

Spectrum Talent Management

SALARIES

Spectrum Talent Management

Tell us how to improve this page.

HCLTech

There's no stopping you

Join Infosys Creating the next opportunity for people, businesses & communities
Infosys Senior Automation Test Engineer Salary
based on 35 salaries
₹4 L/yr - ₹16.5 L/yr
31% less than the average Senior Automation Test Engineer Salary in India
View more details

Infosys Senior Automation Test Engineer Reviews and Ratings

based on 3 reviews

4.9/5

Rating in categories

4.0

Skill development

4.0

Work-life balance

3.0

Salary

4.0

Job security

4.0

Company culture

4.0

Promotions

3.0

Work satisfaction

Explore 3 Reviews and Ratings
Technology Analyst
55.6k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Systems Engineer
50.7k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

System Engineer
39.6k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Technical Lead
30.7k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Senior Associate Consultant
28.1k salaries
unlock blur

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Infosys with

TCS

3.7
Compare

Wipro

3.7
Compare

Cognizant

3.7
Compare

Accenture

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview
Rate your experience using AmbitionBox
Terrible
Terrible
Poor
Poor
Average
Average
Good
Good
Excellent
Excellent