i
Capgemini
Filter interviews by
Java provides a simple way to get the length of a string using the length() method from the String class.
Using length() Method: The length of a string can be obtained by calling the length() method on a String object. Example: String str = 'Hello'; int len = str.length();
Returns an Integer: The length() method returns an integer value representing the number of characters in the string.
Handles Empty Strings: If th...
One way to reverse a string is by using a loop to iterate through the characters and build a new string in reverse order.
Create a new empty string to store the reversed string.
Iterate through the original string from the last character to the first.
Append each character to the new string.
Return the reversed string.
API testing is a type of software testing that involves testing APIs directly to ensure they meet functionality, reliability, performance, and security requirements.
API testing involves testing the functionality, reliability, performance, and security of APIs.
It focuses on verifying that the API meets its specifications and works as expected.
API testing can be done manually or using automated tools like Postman or...
I log bugs by documenting detailed steps to reproduce, including screenshots and logs.
Document detailed steps to reproduce the bug
Include screenshots or videos if applicable
Attach relevant logs or error messages
Assign severity and priority levels to the bug
Track bug status and resolution in a bug tracking tool
What people are saying about Capgemini
Regression testing ensures that new code changes do not adversely affect existing functionalities.
Identify critical functionalities to test after changes, e.g., login and payment processing.
Use automated tests for repetitive tasks, like UI checks, to save time.
Prioritize tests based on risk assessment; high-risk areas should be tested first.
Document test cases and results for future reference and compliance.
WHERE is used to filter rows before grouping, HAVING is used to filter groups after grouping.
WHERE is used with SELECT, UPDATE, DELETE statements to filter rows based on a condition
HAVING is used with GROUP BY clause to filter groups based on a condition
WHERE is applied before data is grouped, HAVING is applied after data is grouped
Example: SELECT * FROM table WHERE column = value;
Example: SELECT column, COUNT(*) ...
Java program to manipulate strings and arrays, focusing on common operations and examples.
Creating an array of strings: String[] fruits = {"Apple", "Banana", "Cherry"};
Accessing elements: String firstFruit = fruits[0]; // firstFruit is "Apple"
Looping through the array: for (String fruit : fruits) { System.out.println(fruit); }
Finding the length of the array: int length = fruits.length; // length is 3
Joining string...
A program to count characters in a string
Iterate through the string and count each character
Use a dictionary to store the count of each character
Handle edge cases such as empty string or null input
Framework, wait concepts, frames, and exceptions are important concepts in software testing.
Framework: It is a set of guidelines or rules used to create and structure automated tests.
Wait concepts: Used to handle synchronization issues in test automation, such as implicit, explicit, and fluent waits.
Frames: In web testing, frames are used to divide a web page into multiple sections, each with its own HTML document...
Explaining SQL joins and different types of waits in Selenium
SQL joins are used to combine data from two or more tables based on a related column
There are four types of SQL joins: inner join, left join, right join, and full outer join
Explicit wait is used to wait for a specific condition to occur before proceeding with the test
Implicit wait is used to wait for a certain amount of time before throwing an exception ...
I log bugs by documenting detailed steps to reproduce, including screenshots and logs.
Document detailed steps to reproduce the bug
Include screenshots or videos if applicable
Attach relevant logs or error messages
Assign severity and priority levels to the bug
Track bug status and resolution in a bug tracking tool
Selenium framework is a set of tools, libraries, and best practices used for automated testing of web applications.
Selenium framework allows for writing and executing automated tests for web applications.
It provides features like test case management, reporting, and integration with CI/CD tools.
Popular frameworks built on top of Selenium include TestNG, JUnit, and Cucumber.
Selenium WebDriver is a key component of the f...
Logical reasoning, number series, alphabet series, and blood relations.
Developed a web-based bug tracking system for managing software issues.
Used Java for backend development
Implemented user authentication and authorization
Utilized MySQL database for storing bug information
One way to reverse a string is by using a loop to iterate through the characters and build a new string in reverse order.
Create a new empty string to store the reversed string.
Iterate through the original string from the last character to the first.
Append each character to the new string.
Return the reversed string.
Regression testing ensures that new code changes do not adversely affect existing functionalities.
Identify critical functionalities to test after changes, e.g., login and payment processing.
Use automated tests for repetitive tasks, like UI checks, to save time.
Prioritize tests based on risk assessment; high-risk areas should be tested first.
Document test cases and results for future reference and compliance.
About String program
Fibonacci series coding asked to write and explain
I applied via Naukri.com and was interviewed in May 2024. There were 2 interview rounds.
Documentations play a crucial role in QA processes for ensuring traceability and repeatability of tests.
Documenting test plans, test cases, and test results helps in tracking progress and identifying issues.
Maintaining detailed documentation allows for easy replication of tests and troubleshooting of failures.
Documentation also aids in knowledge transfer among team members and ensures consistency in testing practices.
U...
I applied via Approached by Company and was interviewed in Apr 2024. There was 1 interview round.
I appeared for an interview in Sep 2024.
Questions were most asked on data structure and algorithms
I appeared for an interview in Nov 2024, where I was asked the following questions.
OOP in Java focuses on concepts like encapsulation, inheritance, polymorphism, and abstraction to enhance code organization and reusability.
Encapsulation: Bundling data and methods that operate on the data within a single unit (class). Example: private variables with public getters/setters.
Inheritance: Mechanism where one class inherits properties and behavior from another. Example: class Dog extends Animal.
Polymorphis...
The duration of Capgemini QA Engineer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 28 interview experiences
Difficulty level
Duration
based on 48 reviews
Rating in categories
Consultant
59.1k
salaries
| ₹8.9 L/yr - ₹16.5 L/yr |
Associate Consultant
51.2k
salaries
| ₹4.5 L/yr - ₹10 L/yr |
Senior Consultant
50.7k
salaries
| ₹12.1 L/yr - ₹21 L/yr |
Senior Analyst
22.5k
salaries
| ₹3.1 L/yr - ₹7.5 L/yr |
Senior Software Engineer
21.7k
salaries
| ₹4.7 L/yr - ₹13.1 L/yr |
Wipro
Accenture
Cognizant
TCS