i
Capgemini
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Recruitment Consulltant and was interviewed in Apr 2024. There was 1 interview round.
OOPs concepts refer to Object-Oriented Programming principles like Inheritance, Encapsulation, Polymorphism, and Abstraction.
Inheritance: Allows a class to inherit properties and behavior from another class.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Polymorphism: Ability of a function to behave differently based on the object it is acting upon.
Abstraction: Hiding the complex im...
Test plan outlines the scope, approach, resources, and schedule of testing. Test strategy defines the testing approach for the entire project.
Test plan is a document that outlines the testing scope, objectives, and schedule.
Test strategy is a high-level document that defines the testing approach for the entire project.
Test plan is more detailed and specific to a particular testing phase or cycle.
Test strategy is more g...
I applied via Referral and was interviewed before Aug 2021. There were 5 interview rounds.
There will be Aptitude test
Coding test are important to be clear
I applied via Naukri.com and was interviewed in May 2021. There was 1 interview round.
Framework design involves creating a structured approach to automate testing.
Identify the testing requirements and objectives
Choose a suitable automation tool
Create a modular and reusable code structure
Implement error handling and reporting mechanisms
Integrate with version control and continuous integration systems
Ensure scalability and maintainability
Examples: Keyword-driven, Data-driven, Hybrid frameworks
To read data from Excel, we can use libraries like Apache POI or OpenCSV.
Create a FileInputStream object to read the Excel file
Create a Workbook object using the FileInputStream object
Get the sheet from the Workbook object using sheet name or index
Iterate through rows and columns to read data
Close the Workbook and FileInputStream objects
posted on 18 Mar 2022
I appeared for an interview in Feb 2022.
Sprint retrospective is a meeting held at the end of a sprint to review the team's performance and identify areas for improvement.
It is a time-boxed meeting
It is attended by the entire team including the product owner and scrum master
The team discusses what went well, what didn't go well, and what can be improved in the next sprint
Action items are identified and assigned to team members for follow-up
The goal is to cont...
Sprint backlog is a prioritized list of tasks to be completed during a sprint.
It is created during sprint planning
It contains user stories, bugs, and technical tasks
It is updated daily during the sprint
It helps the team to stay focused on the sprint goal
It is owned by the development team
I applied via Referral and was interviewed in Nov 2021. There was 1 interview round.
My framework is a hybrid framework that combines data-driven and keyword-driven approaches.
The framework uses Excel sheets to store test data and keywords.
It uses Selenium WebDriver for browser automation.
It has a modular structure with reusable functions and libraries.
It generates detailed HTML reports for test results.
It supports parallel execution of tests.
It has built-in exception handling and logging mechanisms.
Maven is a build automation tool used primarily for Java projects.
Maven uses a Project Object Model (POM) to manage dependencies and build process
It uses a central repository to download dependencies
Maven has a defined directory structure for projects
Plugins can be added to extend Maven's functionality
settings.xml is a configuration file used by Maven to customize its behavior.
It contains information about the local repository location, proxy settings, and server credentials.
It can be used to define profiles for different environments.
It is located in the .m2 directory in the user's home directory.
It can be overridden by using the -s or --settings command-line option.
To link TestNG file in Maven POM, add the TestNG dependency and plugin in POM.xml
Add TestNG dependency in POM.xml
Add TestNG plugin in POM.xml
Configure TestNG plugin to run the TestNG XML file
Example:
Select class in Selenium is used to handle dropdowns and multi-select options on a web page.
Syntax: Select select = new Select(driver.findElement(By.id("dropdownId")));
Methods: selectByVisibleText(), selectByValue(), selectByIndex(), getOptions(), isMultiple(), getAllSelectedOptions(), deselectAll(), deselectByVisibleText(), deselectByValue(), deselectByIndex()
Select class is used to handle dropdowns and multi-select o...
Jenkins is an open-source automation server used for continuous integration and delivery. It allows creating and managing jobs.
Jenkins is a popular tool for automating software development processes.
It provides a web-based interface for creating and managing jobs.
Jobs in Jenkins are used to define tasks and workflows for building, testing, and deploying software.
To create a job in Jenkins, navigate to the Jenkins dashb...
To point to any other branch in Jenkins, use the 'Branch specifier' field in the 'Source Code Management' section.
In the Jenkins job configuration, go to the 'Source Code Management' section
Select the appropriate SCM tool (e.g. Git, SVN)
In the 'Branch specifier' field, enter the name of the branch you want to point to (e.g. 'develop', 'feature/xyz')
Save the configuration and run the job
I don't have the available data to answer this question.
N/A
Polymorphism is the ability of an object to take on many forms. It allows objects of different classes to be treated as if they were the same type.
Polymorphism is achieved through method overriding and method overloading
Example: A parent class Animal has a method called makeSound(). Child classes like Dog, Cat, and Cow can override this method to make their own unique sound.
Another example is method overloading where a...
Abstraction is a way of hiding implementation details. An interface is a contract that specifies the behavior of a class.
Abstraction is achieved through abstract classes and interfaces
Abstract classes can have both abstract and non-abstract methods
Interfaces can only have abstract methods and constants
A class can implement multiple interfaces but can only inherit from one abstract class
Abstract classes can have constru...
SQL query to delete duplicate records
Use the DELETE statement with a subquery to identify and delete duplicate records
The subquery should select the duplicate records based on the columns that define uniqueness
Use the ROW_NUMBER() function to assign a unique number to each row, and delete rows with a number greater than 1
SQL query to get the 10th highest salary from employee table
Use ORDER BY and LIMIT clauses
Subquery can be used to get the 10th highest salary
A 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
Hashmaps, inheritance, webdriver, cucumber, testng framework, maven dependencies,extent reports, excel handling
Sample codes for automation using Selenium WebDriver, Maven, Git, Jenkins
Selenium WebDriver: driver.findElement(By.id("elementID")).sendKeys("text")
Maven: mvn clean install
Git: git clone https://github.com/username/repository.git
Jenkins: create a new job and configure it to run the automation tests
based on 2 interviews
Interview experience
based on 5 reviews
Rating in categories
Consultant
55.6k
salaries
| ₹5.2 L/yr - ₹18 L/yr |
Associate Consultant
50.7k
salaries
| ₹3 L/yr - ₹11.9 L/yr |
Senior Consultant
46.8k
salaries
| ₹7.5 L/yr - ₹25 L/yr |
Senior Analyst
20.9k
salaries
| ₹2.2 L/yr - ₹9 L/yr |
Senior Software Engineer
20.5k
salaries
| ₹3.5 L/yr - ₹12.9 L/yr |
Wipro
Accenture
Cognizant
TCS