i
Capgemini
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Clear (1)
I was interviewed before Mar 2023.
Implemented OOPs concepts in framework by creating classes for pages, utilities, and test cases.
Used inheritance to create base classes for common functionalities
Encapsulated data and methods within classes to promote reusability
Implemented polymorphism to allow different actions based on context
Utilized abstraction to hide complex implementation details from users
I applied via Company Website and was interviewed in Mar 2022. There was 1 interview round.
Interview questions for Automation Test Engineer
Sanity testing is a subset of regression testing while smoke testing is a subset of acceptance testing
Waits in Selenium are used to synchronize the test execution with the application's response
Types of frameworks include data-driven, keyword-driven, and hybrid frameworks
Reading data from Excel can be done using Apache POI library
Handling dropdown in Selenium can be done ...
What people are saying about Capgemini
I applied via Walk-in and was interviewed in Jun 2022. There were 2 interview rounds.
Mathematics and English and general questions
Capgemini interview questions for designations
posted on 13 Jan 2022
I applied via Recruitment Consultant and was interviewed in Feb 2021. There were 5 interview rounds.
My framework is a hybrid framework that uses both data-driven and keyword-driven approaches. The project is a web-based application for e-commerce.
The framework uses Selenium WebDriver for web automation
It has a modular structure with reusable components
Test data is stored in Excel sheets and accessed using Apache POI
Test cases are written in Java and organized using TestNG
Reporting is done using ExtentReports
The proje...
Parallel testing is running multiple tests simultaneously to save time and increase efficiency.
Parallel testing is useful for large test suites that take a long time to run.
It requires a test framework that supports parallel execution.
Code example: pytest -n 4 (runs 4 tests in parallel)
Parallel testing can be done on multiple machines or on a single machine with multiple cores.
It can help identify and isolate issues fa...
Code for switching between browser's tab
Use driver.switchTo().window() method to switch between tabs
Pass the window handle of the tab to be switched to as argument
Get the window handles of all tabs using driver.getWindowHandles() method
Example: String currentTab = driver.getWindowHandle(); driver.switchTo().window(currentTab);
Example: Set
Code for mouse click function
Use Selenium WebDriver's click() method to simulate mouse click
Identify the element using locators like ID, class name, xpath, etc.
Example: driver.findElement(By.id("elementID")).click();
To insert value in text box using excel sheet through Selenium, we need to read data from excel and use sendKeys() method.
Read data from excel using Apache POI or JXL library
Identify the text box element using Selenium
Use sendKeys() method to insert the value from excel into the text box
To run only failed test cases, we can use testNG or JUnit annotations and configure the test suite accordingly.
Use testNG or JUnit annotations to mark the test cases as failed or passed
Configure the test suite to run only failed test cases
Use tools like Jenkins to automate the process
Example: @Test(enabled = true, retryAnalyzer = RetryAnalyzer.class) public void testMethod() {}
Example:
Explanation of final key, static, finally, finalized, garbage collection.
Final key - used to declare a constant value that cannot be changed
Static - used to declare a variable or method that belongs to the class rather than an instance of the class
Finally - used to define a block of code that will be executed regardless of whether an exception is thrown or not
Finalized - a method that is called by the garbage collector...
Answering the question to write an xpath manually.
Identify the element to be located
Determine the unique attributes of the element
Construct the xpath using the identified attributes
Test the xpath to ensure it accurately locates the element
POM stands for Page Object Model. Maven is a build automation tool.
POM is a design pattern used in test automation to create an object repository for web UI elements.
It helps in reducing code duplication and improves code maintainability.
Maven is a popular build automation tool used for managing dependencies and building Java projects.
It uses a pom.xml file to define project dependencies and configurations.
Maven can al...
Agile methodology is an iterative approach to software development that emphasizes collaboration, flexibility, and customer satisfaction. CI/CD pipeline is a set of practices that automate the process of building, testing, and deploying software.
Agile methodology involves breaking down a project into smaller, more manageable pieces called sprints.
Each sprint involves a cross-functional team working together to deliver ...
Keyword driven, Data driven and Hybrid are automation frameworks used in software testing.
Keyword driven framework uses keywords to represent actions and data to be used in testing
Data driven framework uses external data sources to drive the test cases
Hybrid framework combines both keyword and data driven approaches
Keyword driven is best suited for applications with complex user interfaces
Data driven is best suited for...
Assertion is a validation point to check if the expected result matches the actual result. Soft assertion doesn't stop the test execution on failure, while hard assertion does.
Assertion is a way to validate if the expected result matches the actual result
Soft assertion doesn't stop the test execution on failure, but logs the failure and continues with the test
Hard assertion stops the test execution on failure and marks...
Locators are identifiers used to locate web elements on a webpage for automation testing.
Locators can be based on ID, class name, name, tag name, link text, partial link text, CSS selector, or XPath.
For example, a locator for a login button could be 'id=loginButton' or 'xpath=//button[contains(text(),'Login')]'.
Choosing the right locator is important for reliable and efficient test automation.
Locators can be stored in ...
Unit testing is a software testing technique where individual units or components of a software application are tested in isolation.
Unit testing is done by developers during the development phase.
It helps in identifying defects early in the development cycle.
It ensures that each unit/component of the software application is working as expected.
Unit tests are automated and can be run frequently to ensure that changes ma...
SQL query to find the second highest score.
Use the ORDER BY clause to sort the scores in descending order.
Use the LIMIT clause to limit the result to the second row.
Use a subquery to exclude the highest score from the result.
To find duplicate values, iterate through the list and compare each element with the rest of the list.
Create an empty list to store the duplicate values.
Iterate through the list and compare each element with the rest of the list.
If a duplicate is found, add it to the duplicate list.
Return the duplicate list.
There are four types of joins in SQL: Inner Join, Left Join, Right Join, and Full Outer Join.
Inner Join: returns only the matching rows from both tables
Left Join: returns all the rows from the left table and matching rows from the right table
Right Join: returns all the rows from the right table and matching rows from the left table
Full Outer Join: returns all the rows from both tables, with NULL values in the columns w
Primary key, foreign key, and unique key are all used in SQL to enforce data integrity and relationships between tables.
A primary key is a unique identifier for a record in a table.
A foreign key is a field in one table that refers to the primary key in another table.
A unique key ensures that a column or set of columns in a table contains only unique values.
Primary keys and unique keys can be used to enforce data integr...
To take backup of a table and insert values in the same table of another database.
Use SQL Server Management Studio to take backup of the table
Restore the backup in the target database
Use SQL queries to insert values from source table to target table
Good test cases require clear objectives, thorough planning, and attention to detail.
Identify the objective of the test case
Ensure the test case is specific, measurable, achievable, relevant, and time-bound (SMART)
Consider all possible scenarios and edge cases
Document the expected results
Include preconditions and post-conditions
Ensure the test case is repeatable and reproducible
Review and validate the test case with st
Bug life cycle is the process of identifying, reporting, resolving, and verifying software defects.
Bug is identified by testers or users
Bug is reported to the development team
Development team resolves the bug
Bug fix is verified by testers
Bug is closed if verified or reopened if not
Bug life cycle stages include new, open, assigned, resolved, verified, and closed
A sprint is a time-boxed period in Agile methodology during which a team completes a set amount of work.
Sprints usually last 1-4 weeks
At the beginning of each sprint, the team plans the work they will complete
The team works on the planned work during the sprint
At the end of the sprint, the team demonstrates the completed work to stakeholders
The team then reflects on the sprint and plans for the next one
To track tasks in Jira, I will create issues, assign them to team members, set priorities, and update their status.
Create issues in Jira for each task
Assign the issues to team members
Set priorities for each issue
Update the status of each issue as it progresses
Use Jira's reporting features to track progress and identify bottlenecks
Get interview-ready with Top Capgemini Interview Questions
I applied via Naukri.com and was interviewed in Dec 2021. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed before Dec 2021. There were 2 interview rounds.
A program to reverse a given string
Create an empty string to store the reversed string
Iterate through the given string from the end and append each character to the new string
Return the reversed string
To find the color of a webelement in Selenium, use the getCssValue() method.
Locate the webelement using any of the available locators in Selenium
Use the getCssValue() method to get the value of the CSS property 'color'
The value returned will be in the format 'rgba(255, 0, 0, 1)'
Use any color picker tool to convert the RGB value to the corresponding color name
I applied via Naukri.com and was interviewed in Aug 2021. There was 1 interview round.
I applied via Approached by Company and was interviewed before Sep 2021. There was 1 interview round.
Oops concepts are the principles of Object-Oriented Programming that focus on encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: bundling data and methods together in a class
Inheritance: creating new classes from existing ones
Polymorphism: ability of objects to take on many forms
Abstraction: hiding unnecessary details and exposing only essential features
Locators in Selenium are used to identify web elements on a web page.
Locators are used to find and interact with web elements on a web page.
There are different types of locators in Selenium such as ID, Name, Class Name, Tag Name, Link Text, and Partial Link Text.
Locators can be used with various Selenium commands such as click(), sendKeys(), getText(), etc.
Using the right locator strategy is important for efficient and...
Some of the top questions asked at the Capgemini Automation Test Engineer interview -
The duration of Capgemini Automation Test Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 36 interviews
3 Interview rounds
based on 116 reviews
Rating in categories
Consultant
55.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Associate Consultant
50.7k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Consultant
46.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Analyst
20.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
20.3k
salaries
| ₹0 L/yr - ₹0 L/yr |
Wipro
Accenture
Cognizant
TCS