
Coforge


10+ Coforge Test Engineer Interview Questions and Answers
Q1. What is webdriver driver=new chrome driver()
The code initializes a new instance of the ChromeDriver class in Selenium WebDriver.
WebDriver is an interface in Selenium that provides methods for browser automation
ChromeDriver is a class that implements the WebDriver interface for Chrome browser
The 'new' keyword creates a new instance of the ChromeDriver class
The assignment 'driver = new ChromeDriver()' initializes the driver variable with the new instance
Q2. What is authorisation and authentication? What is the use of Auth key. Types of Auth key.
Authorization is the process of determining if a user has the permission to access a resource, while authentication is the process of verifying the identity of a user.
Authorization determines what a user can do, while authentication verifies who the user is.
Authentication can be done using passwords, biometrics, tokens, etc.
Authorization can be role-based, attribute-based, or rule-based.
Auth key is a unique identifier used for authentication purposes.
Types of Auth keys includ...read more
Q3. Why we use normalisation in database? Types of joins. Difference between DBMS and RDBMS. What is trigger?
Normalization is used in databases to reduce data redundancy and improve data integrity.
Normalization helps in organizing data in a database by eliminating redundant data and ensuring data integrity.
It reduces data redundancy by breaking down large tables into smaller ones and linking them using relationships.
Types of joins include inner join, outer join, left join, and right join.
DBMS stands for Database Management System, while RDBMS stands for Relational Database Managemen...read more
Q4. What is given,when ,then in api
Given-When-Then is a testing methodology used in API testing to define the preconditions, actions, and expected outcomes of a test case.
Given: Defines the preconditions or initial state of the system
When: Defines the actions or events that occur in the system
Then: Defines the expected outcomes or results of the actions taken
Q5. What is oops concept in automation
OOPs concept in automation refers to the use of object-oriented programming principles in designing and implementing automated tests.
Encapsulation: grouping related data and functions into a single unit (class) to hide implementation details
Inheritance: creating new classes from existing ones to reuse code and add new functionality
Polymorphism: using a single interface to represent multiple types of objects
Abstraction: focusing on essential features and ignoring implementatio...read more
Q6. What is pojo in api?
POJO stands for Plain Old Java Object. It is a simple Java class that has private fields and public getters and setters.
POJO is used to represent data in a structured format
It is commonly used in API development to transfer data between client and server
POJO classes do not have any business logic or annotations
Example: Employee POJO class with private fields like name, age, and public getters and setters
POJO classes are easy to read, write, and maintain
Q7. What is jenkins in cicd
Jenkins is an open-source automation server that helps to automate the software development process.
Jenkins is used for continuous integration and continuous delivery/deployment (CI/CD) pipelines.
It can be used to build, test, and deploy software automatically.
Jenkins supports a wide range of plugins and integrations with other tools.
It provides a web-based interface for managing and monitoring the CI/CD pipelines.
Jenkins can be configured to trigger builds automatically when...read more
Q8. Write java program to reverse the words in given sentence.
Java program to reverse words in a given sentence.
Split the sentence into words using split() method
Reverse the array of words
Join the reversed words back into a sentence
Q9. Difference between web service and API.
Web service is a type of API that is accessed over the web using HTTP, while API is a set of rules and protocols for building and interacting with software applications.
Web service is accessed over the web using HTTP
API is a set of rules and protocols for building and interacting with software applications
Web service is a type of API
Q10. Find duplicate words from given sentence
Identify duplicate words in a given sentence
Split the sentence into individual words
Create a hashmap to store word frequencies
Iterate through the words and check if they already exist in the hashmap
If a word is already in the hashmap, it is a duplicate
Q11. how to reverse a string?
To reverse a string, iterate through the characters in the string and build a new string in reverse order.
Iterate through the characters of the string from end to start
Append each character to a new string to build the reversed string
Return the reversed string as the result
Q12. Explain entirely about the life cycle
The software development life cycle (SDLC) is a process used to design, develop, test, and deploy software applications.
SDLC consists of several phases: requirements gathering, design, development, testing, deployment, and maintenance.
Each phase has specific activities and deliverables.
Requirements gathering involves understanding the needs of the stakeholders and documenting them.
Design phase includes creating the architecture, database design, and user interface design.
Deve...read more
Q13. Difference between list and set
List is an ordered collection of elements with duplicates allowed, while set is an unordered collection of unique elements.
List maintains the order of elements, while set does not guarantee any specific order.
List allows duplicate elements, while set does not allow duplicates.
List is implemented using ArrayList, LinkedList, etc., while set is implemented using HashSet, TreeSet, etc.
Q14. Explain oops concept.
OOPs (Object-Oriented Programming) is a programming paradigm based on the concept of objects, which can contain data and code.
OOPs focuses on creating objects that interact with each other to solve a problem.
It involves concepts like classes, objects, inheritance, polymorphism, and encapsulation.
For example, a class 'Car' can have objects like 'BMW', 'Toyota', etc. with properties and methods specific to each object.
Q15. Life cycle of product
The product life cycle refers to the stages a product goes through from its introduction to its decline.
Introduction stage: The product is launched and introduced to the market.
Growth stage: The product gains popularity and sales increase.
Maturity stage: Sales stabilize and the product reaches its peak.
Decline stage: Sales decline as the product becomes outdated or replaced by newer alternatives.
Examples: iPhone life cycle - introduction of new models, growth in sales, maturi...read more
Q16. Explain all Oops concept.
Oops concepts are the principles of Object-Oriented Programming, including 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 to present the same interface for different data types.
Abstraction: Hiding the complex implementation details and showing only the necessary features.
Interview Process at Coforge Test Engineer

Top Test Engineer Interview Questions from Similar Companies








Reviews
Interviews
Salaries
Users/Month

