i
Capgemini
Filter interviews by
A prime number is a number greater than 1 that has no positive divisors other than 1 and itself.
Start by checking if the number is less than 2, if so it is not a prime number
Loop through numbers from 2 to the square root of the number and check if the number is divisible by any of them
If the number is not divisible by any number in the loop, then it is a prime number
Desired Capabilities are a set of key-value pairs used to configure the WebDriver browser during test automation.
Used to set properties for WebDriver browser
Can be used to configure browser settings like browser name, version, platform, etc.
Helps in customizing the behavior of the browser during automation tests
Background keyword in BDD is used to define common steps that are executed before each scenario in a feature file.
Background keyword is used to reduce duplication of common steps in scenarios.
It is placed at the beginning of a feature file before scenarios.
All steps defined under Background keyword are executed before each scenario in the feature file.
It helps in maintaining consistency and readability of feature ...
The framework used in the project is a combination of data-driven and keyword-driven frameworks.
The framework allows for easy maintenance and scalability of test cases.
It separates test data from test scripts, making it easier to update test data without changing the scripts.
Reusable functions and libraries are used to reduce redundancy in test scripts.
Test cases are written in a modular fashion, allowing for easy...
What people are saying about Capgemini
Hooks in BDD are special methods that allow for setup and teardown actions before and after scenarios in test automation.
Hooks are used to perform actions before and after scenarios in BDD tests.
They can be used for setup (Before) and teardown (After) actions.
Hooks help in reducing code duplication and improving test maintenance.
Examples include setting up test data before a scenario and cleaning up resources afte...
Sorting a map based on values
Use a TreeMap to automatically sort a map based on values
Implement a custom Comparator to sort the map based on values
Convert the map to a list of entries, then sort the list based on values
Reverse a string by iterating through each character and appending to a new string.
Iterate through each character of the input string
Append each character to a new string in reverse order
Return the reversed string
Different exceptions in Selenium include NoSuchElementException, ElementNotVisibleException, StaleElementReferenceException, TimeoutException, and WebDriverException.
NoSuchElementException: Thrown when an element could not be found in the DOM.
ElementNotVisibleException: Thrown when an element is present in the DOM but not visible.
StaleElementReferenceException: Thrown when the element is no longer attached to the DOM.
T...
A prime number is a number greater than 1 that has no positive divisors other than 1 and itself.
Start by checking if the number is less than 2, if so it is not a prime number
Loop through numbers from 2 to the square root of the number and check if the number is divisible by any of them
If the number is not divisible by any number in the loop, then it is a prime number
I applied via Naukri.com and was interviewed in Mar 2024. There was 1 interview round.
The framework used in the project is a combination of data-driven and keyword-driven frameworks.
The framework allows for easy maintenance and scalability of test cases.
It separates test data from test scripts, making it easier to update test data without changing the scripts.
Reusable functions and libraries are used to reduce redundancy in test scripts.
Test cases are written in a modular fashion, allowing for easy debu...
Background keyword in BDD is used to define common steps that are executed before each scenario in a feature file.
Background keyword is used to reduce duplication of common steps in scenarios.
It is placed at the beginning of a feature file before scenarios.
All steps defined under Background keyword are executed before each scenario in the feature file.
It helps in maintaining consistency and readability of feature files...
Hooks in BDD are special methods that allow for setup and teardown actions before and after scenarios in test automation.
Hooks are used to perform actions before and after scenarios in BDD tests.
They can be used for setup (Before) and teardown (After) actions.
Hooks help in reducing code duplication and improving test maintenance.
Examples include setting up test data before a scenario and cleaning up resources after a s...
Java program to reverse a string
Create a char array from the input string
Use two pointers to swap characters from start and end of the array
Convert the char array back to a string and return
Desired Capabilities are a set of key-value pairs used to configure the WebDriver browser during test automation.
Used to set properties for WebDriver browser
Can be used to configure browser settings like browser name, version, platform, etc.
Helps in customizing the behavior of the browser during automation tests
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
Lambda, recursion, list comprehension
Reverse a string by iterating through each character and appending to a new string.
Iterate through each character of the input string
Append each character to a new string in reverse order
Return the reversed string
Sorting a map based on values
Use a TreeMap to automatically sort a map based on values
Implement a custom Comparator to sort the map based on values
Convert the map to a list of entries, then sort the list based on values
Reverse a sentence in java
Write a code for handling windows in selenium
First round was okay
Count number of occourance in a String and remove duplicates
Automation testers ensure software quality through automated testing, writing scripts, and verifying results against expected outcomes.
Test Automation Development: Create and maintain automated test scripts using tools like Selenium or TestNG to ensure software functionality.
Test Planning: Collaborate with QA teams to define test strategies, identify test cases for automation, and prioritize testing efforts.
XPath Profi...
I applied via Approached by Company and was interviewed before Oct 2021. There were 3 interview rounds.
based on 10 interview experiences
Difficulty level
Duration
based on 21 reviews
Rating in categories
Hyderabad / Secunderabad
6-11 Yrs
Not Disclosed
Consultant
58.5k
salaries
| ₹5.3 L/yr - ₹19 L/yr |
Associate Consultant
51.3k
salaries
| ₹2.9 L/yr - ₹12.2 L/yr |
Senior Consultant
49.9k
salaries
| ₹7.8 L/yr - ₹26 L/yr |
Senior Analyst
22k
salaries
| ₹1.6 L/yr - ₹9.1 L/yr |
Senior Software Engineer
21.5k
salaries
| ₹3.5 L/yr - ₹13.4 L/yr |
Wipro
Accenture
Cognizant
TCS