Upload Button Icon Add office photos
Engaged Employer

i

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

Capgemini Verified Tick

Compare button icon Compare button icon Compare

Filter interviews by

Capgemini Automation Engineer Interview Questions and Answers

Updated 25 Jan 2025

22 Interview questions

An Automation Engineer was asked 6mo ago
Q. Write code to implement a Robot class in Java.
Ans. 

Implementing a Robot class in Java

  • Create a Robot class with attributes like name, batteryLevel, etc.

  • Include methods for moving, turning, and charging the robot

  • Use inheritance if needed for different types of robots

An Automation Engineer was asked 6mo ago
Q. What will be the memory allocation for the code: String str1 = "Automation"; String str2 = new String("Automation");
Ans. 

str1 will be stored in the string pool while str2 will be stored in the heap memory.

  • str1 will be stored in the string pool, which is a part of the heap memory.

  • str2 will create a new String object in the heap memory, separate from the string pool.

Automation Engineer Interview Questions Asked at Other Companies

asked in GEA Group
Q1. 16) What is modbus ? Types of modbus? How many slaves we can conn ... read more
Q2. 1. Explain oops concepts in coding. 2. Write a program to find mi ... read more
asked in Blue Yonder
Q3. What is the difference between Absolute and Relative XPaths?
asked in GEA Group
Q4. What is the ASI protocol? How many slaves can be connected to one ... read more
Q5. Write a program to find the number of palindrome words in a given ... read more
An Automation Engineer was asked 6mo ago
Q. What is the difference between str1==str2 and str1.equals(str2)?
Ans. 

str1==str2 compares the memory addresses of the two strings, while str1.equals(str2) compares the actual contents of the strings.

  • str1==str2 checks if the two string variables point to the same memory location.

  • str1.equals(str2) compares the actual characters in the strings for equality.

  • Example: String str1 = "hello"; String str2 = "hello"; str1==str2 will return false, but str1.equals(str2) will return true.

An Automation Engineer was asked 6mo ago
Q. How would you locate the XPath for the "Today's Deal" menu item on Amazon?
Ans. 

To locate the Xpath for the 'Today's Deal' menu item on Amazon, inspect the element using browser developer tools.

  • Open the Amazon website and right-click on the 'Today's Deal' menu item.

  • Select 'Inspect' to open the browser developer tools.

  • Look for the HTML code corresponding to the 'Today's Deal' menu item.

  • Right-click on the HTML code and choose 'Copy' > 'Copy XPath'.

  • The copied XPath can be used to locate the '...

What people are saying about Capgemini

View All
staticsalamander
1w
works at
Startup
Node.js Dev Dilemma: LTIMindtree, Capgemini, or TCS?
Need some advice! I’m a Node.js dev with 6+ years of experience and I’ve got offers from: LTIMindtree (26 LPA) Capgemini (27 LPA) TCS (24 LPA) I'm trying to figure out which company would have better projects, especially in AI or newer tech. I’m really into AI-related stuff. Anyone working at these companies know about the overall work experience?
Got a question about Capgemini?
Ask anonymously on communities.
An Automation Engineer was asked 6mo ago
Q. Write a program to print the first 4 and last 4 characters of the string "www.amazon.com".
Ans. 

Print first 4 and last 4 letters of a given string

  • Use string slicing to extract the first 4 letters: str[:4]

  • Use string slicing to extract the last 4 letters: str[-4:]

What are the roles & responsibilities of a Automation Engineer at Capgemini?

Automation Development

  • Develop and maintain Ansible playbooks for IT infrastructure tasks
  • Create PowerShell scripts to automate operational and administrative tasks

Read full roles & responsibilities

An Automation Engineer was asked 6mo ago
Q. Write code to implement an explicit wait in Selenium.
Ans. 

Implementing an explicit wait in Selenium using WebDriverWait class

  • Import WebDriverWait class from Selenium

  • Specify the maximum time to wait and the polling interval

  • Use ExpectedConditions to define the condition to wait for

  • Apply the wait to a specific element or the entire page

Capgemini HR Interview Questions

500 questions and answers

Q. Can you provide details about your previous experience, including the numbe ... read more
Q. What are the reasons you want to leave your previous organization?
Q. What tasks have you undertaken in your current project?
An Automation Engineer was asked 8mo ago
Q. What does __init__ stand for in a Python class?
Ans. 

__init__ is a special method in Python classes that initializes object attributes upon creation.

  • __init__ is known as the constructor method in Python classes.

  • It is called automatically when a new object of the class is created.

  • You can define parameters in __init__ to set initial values for object attributes.

  • Example: class Person: def __init__(self, name): self.name = name creates a Person object with a name attrib...

Are these interview questions helpful?
An Automation Engineer was asked 8mo ago
Q. How do you achieve encapsulation in Python?
Ans. 

Encapsulation in Python is achieved through private and protected attributes and methods, promoting data hiding and abstraction.

  • Use a single underscore (_) before an attribute name to indicate it is protected: `self._protected_var`.

  • Use a double underscore (__) before an attribute name to make it private: `self.__private_var`.

  • Access private attributes through getter and setter methods to control access and modifica...

An Automation Engineer was asked 8mo ago
Q. What is the difference between @BeforeMethod and @BeforeTest?
Ans. 

The @BeforeMethod annotation is used to run a method before each test method in a class, while @BeforeTest is used to run a method before any test method in a test tag.

  • The @BeforeMethod annotation is specific to TestNG framework and is used to initialize test data before each test method.

  • @BeforeTest annotation is also specific to TestNG and is used to initialize test data before any test method in a test tag.

  • If a ...

An Automation Engineer was asked 8mo ago
Q. What is the difference between get and navigate.to?
Ans. 

get() loads a URL directly, while navigate.to() allows for more complex navigation options.

  • get() is a straightforward method to load a specific URL.

  • Example: driver.get('http://example.com') loads the page immediately.

  • navigate.to() can be used for more complex navigation scenarios.

  • Example: driver.navigate().to('http://example.com') allows for back and forward navigation.

  • navigate.to() can be part of a sequence of na...

Capgemini Automation Engineer Interview Experiences

18 interviews found

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

I appeared for an interview in Dec 2024.

Round 1 - Technical 

(7 Questions)

  • Q1. Write code to implement and explicit wait in Selenium
  • Ans. 

    Implementing an explicit wait in Selenium using WebDriverWait class

    • Import WebDriverWait class from Selenium

    • Specify the maximum time to wait and the polling interval

    • Use ExpectedConditions to define the condition to wait for

    • Apply the wait to a specific element or the entire page

  • Answered by AI
  • Q2. Write code to implement Robot class in java
  • Ans. 

    Implementing a Robot class in Java

    • Create a Robot class with attributes like name, batteryLevel, etc.

    • Include methods for moving, turning, and charging the robot

    • Use inheritance if needed for different types of robots

  • Answered by AI
  • Q3. How would you locate the Xpath for the "Today's Deal" menu item on Amazon
  • Ans. 

    To locate the Xpath for the 'Today's Deal' menu item on Amazon, inspect the element using browser developer tools.

    • Open the Amazon website and right-click on the 'Today's Deal' menu item.

    • Select 'Inspect' to open the browser developer tools.

    • Look for the HTML code corresponding to the 'Today's Deal' menu item.

    • Right-click on the HTML code and choose 'Copy' > 'Copy XPath'.

    • The copied XPath can be used to locate the 'Today...

  • Answered by AI
  • Q4. What will be the memory allocation for the code String str1 = "Automation"; String str2 = new String("Automation");
  • Ans. 

    str1 will be stored in the string pool while str2 will be stored in the heap memory.

    • str1 will be stored in the string pool, which is a part of the heap memory.

    • str2 will create a new String object in the heap memory, separate from the string pool.

  • Answered by AI
  • Q5. What is the difference between str1==str2 and str1.equals(str2)
  • Ans. 

    str1==str2 compares the memory addresses of the two strings, while str1.equals(str2) compares the actual contents of the strings.

    • str1==str2 checks if the two string variables point to the same memory location.

    • str1.equals(str2) compares the actual characters in the strings for equality.

    • Example: String str1 = "hello"; String str2 = "hello"; str1==str2 will return false, but str1.equals(str2) will return true.

  • Answered by AI
  • Q6. Meaning of status code 401 and 502
  • Ans. 

    401 - Unauthorized, 502 - Bad Gateway

    • 401 status code indicates that the request requires user authentication

    • 502 status code indicates that the server received an invalid response from an upstream server

  • Answered by AI
  • Q7. Print first 4 letter and last 4 letter of String str="www.amazon.com"
  • Ans. 

    Print first 4 and last 4 letters of a given string

    • Use string slicing to extract the first 4 letters: str[:4]

    • Use string slicing to extract the last 4 letters: str[-4:]

  • Answered by AI
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(5 Questions)

  • Q1. Difference between @BeforeMethod vs @BeforeTest
  • Ans. 

    The @BeforeMethod annotation is used to run a method before each test method in a class, while @BeforeTest is used to run a method before any test method in a test tag.

    • The @BeforeMethod annotation is specific to TestNG framework and is used to initialize test data before each test method.

    • @BeforeTest annotation is also specific to TestNG and is used to initialize test data before any test method in a test tag.

    • If a class...

  • Answered by AI
  • Q2. Difference between get vs navigate.to
  • Q3. How you extract data from excel file and which jar file is used
  • Q4. Methods of select class
  • Ans. 

    Select class methods are used to retrieve elements based on various criteria in automation testing frameworks.

    • findElement: Locates a single element. Example: driver.findElement(By.id('username'));

    • findElements: Locates multiple elements. Example: driver.findElements(By.className('btn'));

    • selectByVisibleText: Selects an option from a dropdown by visible text. Example: select.selectByVisibleText('Option 1');

    • selectByValue: ...

  • Answered by AI
  • Q5. Explicit wait conditions

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
Easy
Process Duration
-
Result
Not Selected

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

Round 1 - Technical 

(2 Questions)

  • Q1. How to achieve encapsulation in python
  • Q2. What is __init stands for in python class

Skills evaluated in this interview

Automation Engineer Interview Questions & Answers

user image sushishree jena

posted on 12 Nov 2024

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

(2 Questions)

  • Q1. Explain the framework
  • Q2. Why testng was used

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
No response

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

Round 1 - Technical 

(2 Questions)

  • Q1. Array based program: reverse the string
  • Q2. Api status codes: 200, 400

Interview Preparation Tips

Interview preparation tips for other job seekers - Prep java very well

Skills evaluated in this interview

Interview experience
1
Bad
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Project related

Automation Engineer Interview Questions & Answers

user image pratik sawant

posted on 16 Feb 2024

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

(1 Question)

  • Q1. What is automation testing
  • Ans. 

    Automation testing is the use of software tools to execute tests and compare actual outcomes with expected outcomes.

    • Automation testing involves writing scripts or using tools to automate repetitive tasks in testing.

    • It helps in reducing human errors and increasing efficiency.

    • It can be used for various types of testing such as functional, regression, performance, and load testing.

    • Examples of automation testing tools incl...

  • Answered by AI
Round 2 - HR 

(1 Question)

  • Q1. Tell me about yourself

Skills evaluated in this interview

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

(1 Question)

  • Q1. What is throw and throws in java?
  • Ans. 

    throw is used to throw an exception in Java, while throws is used to declare an exception that a method may throw.

    • throw is used to explicitly throw an exception within a method.

    • throws is used in the method signature to declare the exceptions that the method may throw.

    • Example: throw new Exception("Something went wrong!");

    • Example: public void someMethod() throws IOException {}

  • Answered by AI

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
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. Selenium basics question
Round 3 - Technical 

(1 Question)

  • Q1. Java selenium cucumber BDD

Automation Engineer Interview Questions & Answers

user image anita chilami

posted on 27 Feb 2024

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
-
Result
Not Selected

I applied via Naukri.com and was interviewed in Aug 2023. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. What is throw and throws in Java?

Skills evaluated in this interview

Capgemini Interview FAQs

How many rounds are there in Capgemini Automation Engineer interview?
Capgemini interview process usually has 1-2 rounds. The most common rounds in the Capgemini interview process are Technical, HR and Resume Shortlist.
How to prepare for Capgemini Automation 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 Capgemini. The most common topics and skills that interviewers at Capgemini expect are Python, Automation Engineering, Automation Testing, Selenium and Java.
What are the top questions asked in Capgemini Automation Engineer interview?

Some of the top questions asked at the Capgemini Automation Engineer interview -

  1. How would you locate the Xpath for the "Today's Deal" menu item on Ama...read more
  2. What will be the memory allocation for the code String str1 = "Automation"; Str...read more
  3. What is the difference between str1==str2 and str1.equals(st...read more

Tell us how to improve this page.

Overall Interview Experience Rating

3.9/5

based on 15 interview experiences

Difficulty level

Easy 38%
Moderate 63%

Duration

Less than 2 weeks 67%
2-4 weeks 17%
6-8 weeks 17%
View more
Capgemini Automation Engineer Salary
based on 261 salaries
₹4.9 L/yr - ₹11 L/yr
21% more than the average Automation Engineer Salary in India
View more details

Capgemini Automation Engineer Reviews and Ratings

based on 29 reviews

4.0/5

Rating in categories

4.0

Skill development

4.1

Work-life balance

2.5

Salary

3.9

Job security

4.2

Company culture

2.8

Promotions

3.7

Work satisfaction

Explore 29 Reviews and Ratings
Testing & Automation Engineer

Bangalore / Bengaluru

6-9 Yrs

Not Disclosed

Automation Engineer - RPA with Power Automattion

Bangalore / Bengaluru

4-7 Yrs

₹ 4.9-14.5 LPA

Powerflex Automation Engineer || 6 To 12 years || Gurgaon

Gurgaon / Gurugram

3-8 Yrs

Not Disclosed

Explore more jobs
Consultant
59.6k salaries
unlock blur

₹8.9 L/yr - ₹15 L/yr

Associate Consultant
51.2k salaries
unlock blur

₹4.5 L/yr - ₹10 L/yr

Senior Consultant
51k salaries
unlock blur

₹12.5 L/yr - ₹21.1 L/yr

Senior Analyst
22.5k salaries
unlock blur

₹3.1 L/yr - ₹7.7 L/yr

Senior Software Engineer
21.8k salaries
unlock blur

₹4.6 L/yr - ₹13.5 L/yr

Explore more salaries
Compare Capgemini with

Wipro

3.7
Compare

Accenture

3.7
Compare

Cognizant

3.7
Compare

TCS

3.5
Compare
write
Share an Interview