i
Capgemini
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
Regression testing is re-running functional and non-functional tests to ensure previously developed and tested software still performs correctly after a change.
Regression testing involves re-running tests to ensure that new code changes have not adversely affected existing functionality.
It helps in identifying any defects introduced in the code due to recent changes.
Examples of regression testing tools include Selenium
Performance testing is the process of determining the speed, responsiveness, and stability of a system under a specific workload.
Performance testing helps identify bottlenecks and optimize system performance.
It involves simulating real-world scenarios to measure how the system behaves under different conditions.
Automation testing is preferred over manual testing for performance testing due to its ability to run tests r...
Different contract types refer to various ways in which agreements can be structured between parties.
Different contract types include fixed-price, cost-reimbursable, time and materials, and incentive contracts.
Each contract type has its own advantages and disadvantages, and is suitable for different project scenarios.
For example, a fixed-price contract provides certainty in terms of cost, while a cost-reimbursable cont
I applied via Naukri.com and was interviewed in Oct 2022. There were 3 interview rounds.
Python has several built-in datatypes including numeric, sequence, and mapping types.
Numeric types include integers, floating-point numbers, and complex numbers.
Sequence types include lists, tuples, and range objects.
Mapping types include dictionaries.
Other datatypes include boolean, bytes, and sets.
Yes, it is possible to concatenate a string and integer using type conversion.
Convert the integer to a string using str() function and then concatenate with the string.
Use format() method to insert the integer value into the string.
Use f-strings to directly insert the integer value into the string.
XPath is a language used to locate elements in an XML or HTML document. Absolute and relative XPaths differ in their starting point.
XPath is used to navigate through elements and attributes in an XML or HTML document
Elements can be located using absolute or relative XPaths
Absolute XPaths start from the root node and are more specific but less flexible
Relative XPaths start from the current node and are more flexible but
Selenium supports various locators such as ID, Name, Class Name, Tag Name, Link Text, Partial Link Text, CSS Selector and XPath.
ID locator is the most efficient and reliable locator
Name locator is used for locating elements by their name attribute
Class Name locator is used for locating elements by their class attribute
Tag Name locator is used for locating elements by their tag name
Link Text locator is used for locating...
findelement returns the first matching element while findelements returns a list of all matching elements.
findelement is used to locate the first matching element on a web page
findelements is used to locate all matching elements on a web page
findelement throws NoSuchElementException if no matching element is found
findelements returns an empty list if no matching element is found
Exceptions in Selenium are errors that occur during test execution.
Some common exceptions in Selenium are NoSuchElementException, TimeoutException, StaleElementReferenceException, and ElementNotVisibleException.
NoSuchElementException occurs when an element cannot be found on the page.
TimeoutException occurs when a command takes too long to execute.
StaleElementReferenceException occurs when an element is no longer attac...
To select a value from dropdown in Selenium, use the Select class and its methods.
Locate the dropdown element using any of the locators like ID, name, class name, etc.
Create an object of the Select class and pass the dropdown element as a parameter.
Use the Select class methods like selectByVisibleText(), selectByValue(), or selectByIndex() to select the desired option.
Finally, use the assert statement to verify if the
Synchronization is the process of coordinating the execution of multiple threads to ensure proper order of execution.
Synchronization can be achieved using techniques like locks, semaphores, and monitors.
Locks are used to ensure that only one thread can access a shared resource at a time.
Semaphores are used to control access to a shared resource by limiting the number of threads that can access it at once.
Monitors are u...
Break, continue and pass are control statements used in loops. Break terminates the loop, continue skips an iteration and pass does nothing.
Break is used to terminate a loop when a certain condition is met
Continue is used to skip an iteration of a loop when a certain condition is met
Pass is used as a placeholder when a statement is required syntactically but no action is needed
Full join is a type of SQL join that returns all the rows from both tables, matching rows from both tables and nulls where there is no match.
Full join is also known as a full outer join.
It is used to combine data from two tables where some of the data may not match.
The result set includes all the rows from both tables, with nulls where there is no match.
Full join is represented by the keyword 'FULL OUTER JOIN' in SQL.
E...
Query to find second highest salary in SQL
Use the ORDER BY clause to sort the salaries in descending order
Use the LIMIT clause to select the second highest salary
Use a subquery to exclude the highest salary from the results
To fetch 1st 5 records in SQL, use the LIMIT clause.
Use the SELECT statement to specify the columns to retrieve.
Use the FROM clause to specify the table to retrieve data from.
Use the LIMIT clause to specify the number of records to retrieve.
The syntax is: SELECT column1, column2, ... FROM table_name LIMIT 5;
The first 5 records will be returned.
To copy a table in MySQL, use the CREATE TABLE statement with the SELECT statement.
Use the CREATE TABLE statement with the SELECT statement to copy a table.
Specify the new table name after the CREATE TABLE statement.
Specify the original table name after the SELECT statement.
Add any additional conditions or clauses as needed.
Example: CREATE TABLE new_table SELECT * FROM original_table WHERE condition;
To fetch unique elements from a column, use the DISTINCT keyword in SQL.
Use the SELECT statement with the DISTINCT keyword.
Specify the column name from which you want to fetch unique elements.
Example: SELECT DISTINCT column_name FROM table_name;
You can also use GROUP BY clause to group the unique elements based on another column.
Example: SELECT column_name, COUNT(*) FROM table_name GROUP BY column_name;
SQL query to find names of employees starting with 'A'
Use the SELECT statement to retrieve data from the employee table
Use the LIKE operator to match the names starting with 'A'
Use the % wildcard to match any number of characters after 'A'
To open a file and read repeating words, use file handling and string manipulation techniques.
Open the file using file handling techniques in the programming language of your choice.
Read the contents of the file and store it in a string variable.
Split the string into an array of words using a delimiter such as space or comma.
Loop through the array and use a dictionary or hash table to count the frequency of each word.
P...
Generating random emails in Python with constant domain
Use the random module to generate random strings for the username part of the email
Combine the random username with the constant domain name
Ensure the generated email is unique if required
Python provides random module to generate random data and numbers.
Import random module
Use random.randint() to generate random integer within a range
Use random.choice() to select a random element from a list
Use random.random() to generate a random float between 0 and 1
Use random.uniform() to generate a random float within a range
Arrays are fixed in size, while lists can grow or shrink dynamically.
Arrays are a collection of elements of the same data type, while lists can contain elements of different data types.
Arrays are accessed using an index, while lists are accessed using an iterator.
Arrays are faster for accessing elements, while lists are faster for inserting or deleting elements.
Examples of arrays include int[] and char[], while example
To run a test suite using robotframework command line, use the 'robot' command followed by the path to the test suite file.
Open the command prompt or terminal
Navigate to the directory containing the test suite file
Enter the command 'robot' followed by the name of the test suite file
Add any additional options or arguments as needed
Press enter to execute the command
Example: robot my_test_suite.robot
Example with options: ...
To validate data after page refresh in Selenium, we can refresh the page and then use explicit wait to validate the data.
Refresh the page using driver.navigate().refresh() method
Use explicit wait to wait for the element to be visible on the page
Validate the data using getText() or getAttribute() method
Example: driver.navigate().refresh(); WebDriverWait wait = new WebDriverWait(driver, 10); wait.until(ExpectedConditions...
As a Senior Automation Test Engineer, my roles and responsibilities include designing and implementing automated test scripts, identifying and reporting software defects, and collaborating with cross-functional teams to ensure high-quality software delivery.
Designing and implementing automated test scripts using tools like Selenium, Appium, or JUnit
Identifying and reporting software defects and working closely with dev...
I prefer not to disclose my current CTC. As for my expected CTC, I am looking for a competitive salary based on my experience and skills.
I am open to negotiation based on the job responsibilities and company's budget
I have researched the market rates for similar positions and have a realistic expectation
I am looking for a salary that reflects my experience and skills
I am also interested in other benefits such as health
Yes, I am willing to relocate to Hyderabad.
I am open to new opportunities and experiences in different locations.
I have researched about Hyderabad and I am excited about the city's culture and opportunities.
I am ready to adapt to a new environment and build a life in Hyderabad.
What people are saying about Capgemini
I applied via Naukri.com and was interviewed in May 2023. There were 3 interview rounds.
Capgemini interview questions for popular designations
I applied via Naukri.com and was interviewed before Apr 2023. There were 3 interview rounds.
Get interview-ready with Top Capgemini Interview Questions
I applied via Naukri.com and was interviewed in Apr 2023. There was 1 interview round.
Great and tough question
Tough 3 questions and one of the best way to
Interact
I applied via Naukri.com and was interviewed in Jul 2023. There were 3 interview rounds.
Need to write advance c programming,use case of bit wise operator, link list programs
I applied via Naukri.com and was interviewed in Jul 2023. There were 3 interview rounds.
Code snippets for taking a screenshot, printing dropdown values, and implementing implicit wait in automation testing.
For taking a screenshot: Use Selenium's TakesScreenshot interface to capture the screenshot and save it to a file.
For printing dropdown values: Use Selenium's Select class to select the dropdown element and then iterate through all options to print their values.
For implicit wait: Use Selenium's WebDrive...
Static and final are keywords in Java. StringBuffer is synchronized while StringBuilder is not. The pattern can be displayed using loops.
Static keyword is used to create class-level variables or methods. Final keyword is used to make a variable constant.
StringBuffer is synchronized and thread-safe, while StringBuilder is not synchronized and faster.
Pattern program can be implemented using nested loops to print the desi
Interview experience
based on 39.5k reviews
Rating in categories
Consultant
55.1k
salaries
| ₹5.2 L/yr - ₹18 L/yr |
Associate Consultant
51.9k
salaries
| ₹2.9 L/yr - ₹11.8 L/yr |
Senior Consultant
45.9k
salaries
| ₹7.5 L/yr - ₹25 L/yr |
Senior Analyst
20.4k
salaries
| ₹2 L/yr - ₹7.5 L/yr |
Senior Software Engineer
19.8k
salaries
| ₹3.5 L/yr - ₹12.5 L/yr |
Wipro
Accenture
Cognizant
TCS