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 Test Engineer Interview Questions and Answers

Updated 11 Jun 2025

64 Interview questions

An Automation Test Engineer was asked 3w ago
Q. Write an SQL query to find the second highest salary from an employee table.
Ans. 

To find the 2nd highest salary, use SQL queries to retrieve distinct salaries and order them.

  • Use the SQL query: SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 1;

  • This query selects distinct salaries, orders them in descending order, and skips the highest salary.

  • Ensure the table has at least two distinct salary values to get a valid result.

An Automation Test Engineer was asked 6mo ago
Q. Write a program demonstrating the use of decorators.
Ans. 

Decorators in Python are a design pattern that allows behavior to be added to individual objects.

  • Decorators are functions that modify the behavior of other functions.

  • They are used to add functionality to existing functions without changing their code.

  • Decorators are commonly used in Python with the @ symbol before the function definition.

  • Example: Creating a decorator to log the execution time of a function.

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
🔥 Asked by recruiter 4 times
An Automation Test Engineer was asked 6mo ago
Q. Write a program to generate the Fibonacci sequence.
Ans. 

Program to generate Fibonacci series using iterative approach.

  • Initialize variables for first two numbers in the series (0 and 1)

  • Use a loop to generate subsequent numbers by adding the previous two numbers

  • Store the generated numbers in an array

  • Repeat the process until desired number of Fibonacci numbers are generated

An Automation Test Engineer was asked 6mo ago
Q. What is a string, and why is it immutable?
Ans. 

A string is a sequence of characters. It is immutable because once created, its value cannot be changed.

  • Strings are used to represent text data in programming languages.

  • Immutable means that the value of a string cannot be altered once it is created.

  • Any operation that appears to modify a string actually creates a new string with the modified value.

  • Example: 'hello' -> 'hello world'

What people are saying about Capgemini

View All
thrivingsnapdragon
1w
works at
Accenture
Need feedback regarding One Finance BU at Capgemini
I am planning to join the One Finance Transformation team under Group IT at Capgemini. Can you please provide some insights if it is a good option to join in terms of learning, career progression and monetary benefits? Thanks.
Got a question about Capgemini?
Ask anonymously on communities.
An Automation Test Engineer was asked 6mo ago
Q. Write an API to fetch employee details.
Ans. 

API to fetch employee details

  • Create a GET endpoint /employees to fetch all employee details

  • Include parameters like employee ID or department to filter results

  • Return employee details in JSON format with fields like name, age, position, etc.

An Automation Test Engineer was asked 7mo ago
Q. What is the git command for pushing code?
Ans. 

The git command to push code to a remote repository is 'git push', which uploads local changes to the remote server.

  • Use 'git push origin main' to push changes to the main branch of the remote repository.

  • If you're working on a feature branch, use 'git push origin feature-branch-name'.

  • To push all branches, use 'git push --all origin'.

  • To set the upstream branch for the current branch, use 'git push -u origin branch-n...

🔥 Asked by recruiter 2 times
An Automation Test Engineer was asked 7mo ago
Q. What is Selenium?
Ans. 

Selenium is an open-source framework for automating web applications for testing purposes across different browsers and platforms.

  • Supports multiple programming languages like Java, C#, Python, and Ruby.

  • Allows for cross-browser testing, ensuring compatibility with Chrome, Firefox, Safari, etc.

  • Provides a suite of tools including Selenium WebDriver, Selenium IDE, and Selenium Grid.

  • WebDriver interacts directly with th...

Are these interview questions helpful?
An Automation Test Engineer was asked 12mo ago
Q. Explain the STLC process.
Ans. 

STLC (Software Testing Life Cycle) is a systematic process for testing software applications.

  • STLC involves planning, designing, executing, and reporting on tests.

  • It includes phases like requirement analysis, test planning, test design, test execution, and test closure.

  • Each phase has specific activities and deliverables to ensure thorough testing of the software.

  • STLC helps in identifying defects early in the develo...

An Automation Test Engineer was asked 12mo ago
Q. What is the difference between WebDriver and ChromeDriver?
Ans. 

WebDriver is a general interface for web automation, while ChromeDriver is a specific implementation for Chrome browser.

  • WebDriver is a generic interface that allows interaction with different web browsers, while ChromeDriver is a specific implementation for Chrome browser.

  • WebDriver can be used to automate tests on various browsers like Chrome, Firefox, Safari, etc., while ChromeDriver is specifically designed for ...

An Automation Test Engineer was asked
Q. How do you scroll a page?
Ans. 

To scroll a page, use JavaScript to execute a scroll function.

  • Use window.scrollTo(x-coord, y-coord) to scroll to a specific position on the page.

  • Use window.scrollBy(x-pixels, y-pixels) to scroll by a certain amount of pixels.

  • Use document.getElementById('elementId').scrollIntoView() to scroll to a specific element on the page.

Capgemini Automation Test Engineer Interview Experiences

45 interviews found

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 Nov 2024. There were 3 interview rounds.

Round 1 - Coding Test 

Java related coding and questions related to selenium

Round 2 - Technical 

(1 Question)

  • Q1. Selenium,java,testng,cucumber related questions
Round 3 - Technical 

(1 Question)

  • Q1. Framework Related Questions

Interview Preparation Tips

Interview preparation tips for other job seekers - Must have knowledge in framework that we use
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
No response

I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Coding Test 

Write a java code to find the vowels from given string

Round 2 - One-on-one 

(2 Questions)

  • Q1. What is string and why it is immutable
  • Ans. 

    A string is a sequence of characters. It is immutable because once created, its value cannot be changed.

    • Strings are used to represent text data in programming languages.

    • Immutable means that the value of a string cannot be altered once it is created.

    • Any operation that appears to modify a string actually creates a new string with the modified value.

    • Example: 'hello' -> 'hello world'

  • Answered by AI
  • Q2. Write a api to fetch the employee details
  • Ans. 

    API to fetch employee details

    • Create a GET endpoint /employees to fetch all employee details

    • Include parameters like employee ID or department to filter results

    • Return employee details in JSON format with fields like name, age, position, etc.

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare more on the java coding and rest api
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Write a program for Fibonacci series?
  • Ans. 

    Program to generate Fibonacci series using iterative approach.

    • Initialize variables for first two numbers in the series (0 and 1)

    • Use a loop to generate subsequent numbers by adding the previous two numbers

    • Store the generated numbers in an array

    • Repeat the process until desired number of Fibonacci numbers are generated

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Write a program for decorators?
  • Ans. 

    Decorators in Python are a design pattern that allows behavior to be added to individual objects.

    • Decorators are functions that modify the behavior of other functions.

    • They are used to add functionality to existing functions without changing their code.

    • Decorators are commonly used in Python with the @ symbol before the function definition.

    • Example: Creating a decorator to log the execution time of a function.

  • Answered by AI
Interview experience
2
Poor
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Git command for pushing the code
  • Ans. 

    The git command to push code to a remote repository is 'git push', which uploads local changes to the remote server.

    • Use 'git push origin main' to push changes to the main branch of the remote repository.

    • If you're working on a feature branch, use 'git push origin feature-branch-name'.

    • To push all branches, use 'git push --all origin'.

    • To set the upstream branch for the current branch, use 'git push -u origin branch-name'.

  • Answered by AI
  • Q2. What is selenium
  • Ans. 

    Selenium is an open-source framework for automating web applications for testing purposes across different browsers and platforms.

    • Supports multiple programming languages like Java, C#, Python, and Ruby.

    • Allows for cross-browser testing, ensuring compatibility with Chrome, Firefox, Safari, etc.

    • Provides a suite of tools including Selenium WebDriver, Selenium IDE, and Selenium Grid.

    • WebDriver interacts directly with the bro...

  • Answered by AI

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 Aug 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Code to check the current webpage url,types of functional testing,authentication nd authorisation, http methods,status codes,how to select dropdown 5th value,sql queries
  • Ans. 

    Code to check current webpage URL, types of functional testing, authentication and authorization, HTTP methods, status codes, selecting dropdown value, and SQL queries.

    • To check current webpage URL, use driver.getCurrentUrl() in Selenium WebDriver.

    • Types of functional testing include smoke testing, regression testing, integration testing, etc.

    • Authentication ensures the user is who they claim to be, while authorization de...

  • Answered by AI

Skills evaluated in this interview

Automation Test Engineer Interview Questions & Answers

user image Anita Padmakar Limkar

posted on 12 Jul 2024

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

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

Round 1 - One-on-one 

(2 Questions)

  • Q1. Explain STLC process
  • Ans. 

    STLC (Software Testing Life Cycle) is a systematic process for testing software applications.

    • STLC involves planning, designing, executing, and reporting on tests.

    • It includes phases like requirement analysis, test planning, test design, test execution, and test closure.

    • Each phase has specific activities and deliverables to ensure thorough testing of the software.

    • STLC helps in identifying defects early in the development...

  • Answered by AI
  • Q2. Difference between web driver and Chromedriver
  • Ans. 

    WebDriver is a general interface for web automation, while ChromeDriver is a specific implementation for Chrome browser.

    • WebDriver is a generic interface that allows interaction with different web browsers, while ChromeDriver is a specific implementation for Chrome browser.

    • WebDriver can be used to automate tests on various browsers like Chrome, Firefox, Safari, etc., while ChromeDriver is specifically designed for Chrom...

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
-
Result
No response

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

Round 1 - Technical 

(3 Questions)

  • Q1. Write a java program to find the frequency of character in a string.
  • Ans. 

    Java program to find frequency of characters in a string.

    • Create a HashMap to store characters and their frequencies.

    • Iterate through the string and update the frequencies in the HashMap.

    • Print the frequencies of each character in the string.

  • Answered by AI
  • Q2. Which locater in selenium is fastest
  • Ans. 

    The fastest locator in Selenium is By ID.

    • By ID is the fastest locator in Selenium as it directly targets the unique ID attribute of an element.

    • Using By ID reduces the time taken to locate an element compared to other locators like By XPath or By CSS Selector.

    • Example: driver.findElement(By.id("elementID"));

  • Answered by AI
  • Q3. Difference between scenario and scenario outline in BDD framework
  • Ans. 

    Scenario is a single test case in BDD framework, while scenario outline is a template for multiple similar test cases.

    • Scenario is a single test case with specific inputs and expected outcomes.

    • Scenario outline is a template for multiple similar test cases, with placeholders for different inputs.

    • Scenario outline uses Examples section to provide different sets of inputs for each test case.

    • Scenario outline helps in reducin...

  • Answered by AI

Skills evaluated in this interview

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 May 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. About project last worked
  • Q2. Python coding string question
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Job Portal and was interviewed in Mar 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Framework, Collection, OOPS, Selenium WebDriver

Interview Preparation Tips

Interview preparation tips for other job seekers - tips for preparing for a QA automation testing interview focusing on Selenium WebDriver and Java:

Understand Selenium WebDriver: Ensure you have a strong understanding of Selenium WebDriver, including its features, capabilities, and limitations.

Java Programming: Brush up on your Java programming skills, as Selenium WebDriver primarily uses Java for scripting. Be prepared for questions on object-oriented programming concepts, data types, loops, conditional statements, etc.

Test Automation Frameworks: Familiarize yourself with test automation frameworks like TestNG or JUnit. Understand their advantages, how to set them up, and how to use them effectively in Selenium WebDriver.
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
  • Q1. 2nd Highest salary from table
  • Ans. 

    To find the 2nd highest salary, use SQL queries to retrieve distinct salaries and order them.

    • Use the SQL query: SELECT DISTINCT salary FROM employees ORDER BY salary DESC LIMIT 1 OFFSET 1;

    • This query selects distinct salaries, orders them in descending order, and skips the highest salary.

    • Ensure the table has at least two distinct salary values to get a valid result.

  • Answered by AI
  • Q2. Project details

Capgemini Interview FAQs

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

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

  1. 1] Introduction 2] Sanity Vs Smoke testing 3] Waits in selenium and code for it...read more
  2. What is assertion? What is soft assertion? What is hard asserti...read more
  3. What is TestNG? Write the methods name? Importan...read more
How long is the Capgemini Automation Test Engineer interview process?

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

based on 38 interview experiences

Difficulty level

Easy 10%
Moderate 90%

Duration

Less than 2 weeks 73%
2-4 weeks 20%
More than 8 weeks 7%
View more
Capgemini Automation Test Engineer Salary
based on 1.9k salaries
₹4.8 L/yr - ₹21.5 L/yr
44% more than the average Automation Test Engineer Salary in India
View more details

Capgemini Automation Test Engineer Reviews and Ratings

based on 138 reviews

3.7/5

Rating in categories

3.7

Skill development

3.7

Work-life balance

3.0

Salary

3.9

Job security

3.6

Company culture

2.8

Promotions

3.5

Work satisfaction

Explore 138 Reviews and Ratings
Test Automation Engineer - B

Bangalore / Bengaluru

3-6 Yrs

₹ 3.8-15.2 LPA

Test Automation Engineer - B

Pune

3-6 Yrs

₹ 3.5-15 LPA

Test Automation Engineer - C

Pune

3-6 Yrs

₹ 3.5-15 LPA

Explore more jobs
Consultant
58.6k salaries
unlock blur

₹8.9 L/yr - ₹16.5 L/yr

Associate Consultant
51.2k salaries
unlock blur

₹4.5 L/yr - ₹10 L/yr

Senior Consultant
50k salaries
unlock blur

₹12.4 L/yr - ₹21 L/yr

Senior Analyst
22.1k salaries
unlock blur

₹3.1 L/yr - ₹7.5 L/yr

Senior Software Engineer
21.6k salaries
unlock blur

₹4.7 L/yr - ₹12.9 L/yr

Explore more salaries
Compare Capgemini with

Wipro

3.7
Compare

Accenture

3.7
Compare

Cognizant

3.7
Compare

TCS

3.6
Compare
write
Share an Interview