i
Capgemini
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I appeared for an interview in Dec 2024.
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
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
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
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.
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.
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
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:]
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...
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
What people are saying about Capgemini
A framework is a set of guidelines, coding standards, concepts, and practices to help automate testing efficiently.
Framework provides a structure for organizing test scripts, data, and reusable components.
It helps in maintaining consistency and reusability of test scripts.
Frameworks can be data-driven, keyword-driven, or hybrid depending on the requirements.
Examples of frameworks include Selenium WebDriver, TestNG, JUn
TestNG was used for automated testing in order to facilitate easy test case management, parallel execution, and reporting.
TestNG allows for easy grouping and prioritization of test cases.
It supports parallel execution of test cases, improving efficiency.
TestNG provides detailed test reports, making it easier to identify and debug issues.
Annotations in TestNG help in defining the test methods and their dependencies.
Test...
Capgemini interview questions for designations
I applied via Walk-in and was interviewed in Jul 2024. There was 1 interview round.
Reverse a string using an array of characters.
Create an array of characters to store the string.
Iterate through the string and store each character in the array.
Reverse the array of characters to get the reversed string.
Get interview-ready with Top Capgemini Interview Questions
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
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 {}
I applied via Naukri.com and was interviewed in Aug 2023. There was 1 interview round.
throw is used to throw an exception in Java, while throws is used to declare exceptions that a method can throw.
throw is used to explicitly throw an exception in Java code
throws is used in method signature to declare the exceptions that the method can throw
Example: throw new Exception("Something went wrong!");
Example: public void someMethod() throws IOException {}
Some of the top questions asked at the Capgemini Automation Engineer interview -
based on 15 interviews
3 Interview rounds
based on 25 reviews
Rating in categories
Bangalore / Bengaluru
4-7 Yrs
₹ 6-10.5 LPA
Consultant
55.4k
salaries
| ₹5.1 L/yr - ₹17.5 L/yr |
Associate Consultant
50.7k
salaries
| ₹3 L/yr - ₹11.9 L/yr |
Senior Consultant
46.6k
salaries
| ₹7.5 L/yr - ₹25 L/yr |
Senior Analyst
21k
salaries
| ₹2.2 L/yr - ₹9 L/yr |
Senior Software Engineer
20.4k
salaries
| ₹3.5 L/yr - ₹12.6 L/yr |
Wipro
Accenture
Cognizant
TCS