i
Coforge
Filter interviews by
I applied via Referral and was interviewed in Apr 2024. There was 1 interview round.
Singleton design pattern ensures a class has only one instance and provides a global point of access to it.
Ensures a class has only one instance
Provides a global point of access to that instance
Commonly used in scenarios where only one instance of a class is needed, such as database connections or logging
I have extensive experience in automation testing projects, including designing test cases, developing automation scripts, and executing tests.
Designed test cases based on requirements and user stories
Developed automation scripts using tools like Selenium and Appium
Executed tests on different platforms and browsers to ensure compatibility
Integrated automation tests into CI/CD pipelines for continuous testing
Performed r...
I applied via Company Website and was interviewed in Jul 2022. There were 3 interview rounds.
Coding round is a basic data structure round like linked list stack
To reverse a string in Java, use the StringBuilder class and its reverse() method.
Create a StringBuilder object with the given string as its argument
Call the reverse() method on the StringBuilder object
Convert the StringBuilder object back to a string using the toString() method
Alternatively, you can use a loop to iterate through the characters of the string and append them to a new string in reverse order
Linked is a data structure that stores elements in a linear sequence and maintains a link between them.
There are two types of linked lists: singly linked list and doubly linked list.
In a singly linked list, each element has a link to the next element.
In a doubly linked list, each element has a link to both the next and previous elements.
Linked lists are commonly used in computer science for implementing dynamic data st...
OOPs stands for Object-Oriented Programming. It is a programming paradigm based on the concept of objects.
There are four main pillars of OOPs: Encapsulation, Inheritance, Polymorphism, and Abstraction.
Encapsulation is the process of hiding the implementation details of an object from the outside world.
Inheritance is the process of creating new classes from existing ones, inheriting their properties and methods.
Polymorp...
Inheritance is a mechanism where a new class is derived from an existing class. Abstraction is a process of hiding implementation details.
Inheritance allows a subclass to inherit properties and methods of a superclass.
Abstraction allows a class to provide only essential features and hide the implementation details.
Inheritance is a 'is-a' relationship while abstraction is a 'has-a' relationship.
Inheritance can lead to t...
Overriding is when a subclass provides a specific implementation of a method that is already provided by its parent class. Overloading is when a class has two or more methods with the same name but different parameters.
Overriding is used for runtime polymorphism
Overloading is used for compile-time polymorphism
Overriding method must have the same name, return type, and parameters as the method it is overriding
Overloadin...
Empowering women requires creating a supportive environment and providing equal opportunities.
Promote gender equality in education and employment
Provide access to resources and support networks
Encourage women to pursue leadership roles
Combat gender-based violence and discrimination
Challenge societal norms and stereotypes
Advocate for policies that support women's rights
Coforge interview questions for designations
I applied via Naukri.com and was interviewed in Jun 2022. There was 1 interview round.
Interview questions for Automation Test Engineer on encapsulation, abstraction, Selenium dropdown and Appium configuration.
Encapsulation is the process of hiding implementation details from the user.
Abstraction is the process of hiding unnecessary details from the user.
Selenium can locate dropdown using Select class and its methods.
Appium configuration questions may include setting up desired capabilities, specifying a
Get interview-ready with Top Coforge Interview Questions
I applied via Campus Placement and was interviewed before Aug 2021. There were 3 interview rounds.
Basic aptitude questions
String manipulation code
Use string methods like split(), replace(), substring() etc.
Loop through the string to manipulate each character
Regular expressions can also be used for complex manipulations
Top trending discussions
I applied via Naukri.com and was interviewed in Sep 2024. There was 1 interview round.
A constructor is a special type of method in a class that is automatically called when an object of that class is created.
Constructors have the same name as the class they belong to
They are used to initialize the object's state or perform any necessary setup
Constructors can have parameters to customize the initialization process
Example: public class Car { public Car(String color) { this.color = color; } }
Yes, a static method can be overridden in Java using the concept of method hiding.
In Java, static methods cannot be overridden in the traditional sense like instance methods.
When a subclass defines a static method with the same signature as a static method in the superclass, it is called method hiding.
Method hiding does not follow polymorphism and is resolved at compile time based on the reference type.
Example: class...
Yes, a static local variable can be created inside a static method.
Yes, a static local variable can be declared inside a static method in programming languages like C++.
Static local variables retain their values between function calls.
Example: static void myStaticMethod() { static int count = 0; count++; }
String memory allocation is dynamic and depends on the length of the string.
String memory allocation is dynamic and can change based on the length of the string.
In Java, a String object is stored in the heap memory.
Each character in a String typically takes up 2 bytes of memory.
String objects in Java are immutable, meaning once a String object is created, it cannot be changed.
Yes, you can create a static method inside an abstract class or interface.
Static methods can be defined in interfaces since Java 8.
Static methods in interfaces are used for providing utility methods that are not tied to any specific instance of the interface.
Static methods in abstract classes can be used for common functionality that does not require an instance of the class.
The parent class of Java is the Object class.
All classes in Java are directly or indirectly derived from the Object class.
The Object class is the root class in Java's class hierarchy.
It provides methods that are common to all objects in Java, such as toString(), equals(), and hashCode().
Window Handles in Selenium are unique identifiers used to handle multiple browser windows in a Selenium test script.
Window Handles are unique alphanumeric strings assigned to each browser window opened by Selenium.
They are used to switch between different browser windows during a test script execution.
Window Handles can be obtained using getWindowHandles() method in Selenium.
Example: Set
I applied via Naukri.com and was interviewed in Oct 2024. There was 1 interview round.
Java OOPs concepts are used in automation framework design for better code organization and reusability.
Encapsulation: Used to hide the internal implementation details of classes and provide access through methods.
Inheritance: Allows for code reuse by creating parent-child relationships between classes.
Polymorphism: Enables methods to behave differently based on the object they are called on.
Abstraction: Helps in defin...
OTP can be handled by generating, sending, and verifying it in automated tests.
Generate OTP using a random number generator
Send OTP to the user via email, SMS, or any other communication channel
Verify OTP entered by the user against the generated OTP
To start Appium in automation, you need to install Appium server, set up desired capabilities, and run the server.
Install Appium server using npm install -g appium
Set up desired capabilities in your test script
Start the Appium server using the command appium
Types of mobile apps include native apps, web apps, and hybrid apps.
Native apps are developed for specific platforms like iOS or Android
Web apps are accessed through a web browser and do not need to be downloaded from an app store
Hybrid apps combine elements of both native and web apps
Examples include Instagram (native), Twitter (web), and Uber (hybrid)
Program to remove duplicate letters in a string
Iterate through the string and keep track of seen characters in a set
Append characters to a new string only if they are not already in the set
Return the new string without duplicate letters
Swipe action in mobile devices can be performed using swipe() method in Appium or TouchAction class in Selenium.
Use swipe() method in Appium to perform swipe action in mobile devices
Alternatively, use TouchAction class in Selenium for swipe action
Specify the start and end coordinates for the swipe action
Adjust the duration and speed of the swipe as needed
posted on 30 Dec 2024
Reverse a string using Java program and handle stale element in Selenium
Create a Java program to reverse a string using StringBuilder or char array
In Selenium, handle stale element exception by refreshing the element or using WebDriverWait
Example: Java program - input: 'hello', output: 'olleh'; Selenium - handle stale element by refreshing the element before interacting with it
My expected salary is based on my experience, skills, and the market rate for Automation Test Engineers.
I have researched the average salary range for Automation Test Engineers in this location.
I am looking for a competitive salary that reflects my expertise in automation testing.
I am open to negotiation based on the overall compensation package offered.
posted on 11 Sep 2024
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
A program to count the number of integers and characters in a given string.
Iterate through each character in the string and check if it is an integer or a character.
Use isdigit() function to check if a character is an integer.
Keep separate counters for integers and characters.
Return the counts of integers and characters at the end.
Final is a keyword in Java used to restrict inheritance, finally is a block used in exception handling, and finalize is a method used for cleanup.
Final is a keyword in Java used to restrict inheritance or prevent method overriding.
Finally is a block used in exception handling to ensure a piece of code is always executed, whether an exception is thrown or not.
Finalize is a method in Java used for cleanup operations befo
Assertion is a statement that checks if a condition is true, while validation/verification is the process of confirming that a product meets specified requirements.
Assertion is used to validate the expected outcome of a test case.
Validation/verification is the process of checking if the product meets the specified requirements.
Assertions are typically used within test scripts to verify the expected behavior of the syst...
based on 7 reviews
Rating in categories
Senior Software Engineer
4.8k
salaries
| ₹6.3 L/yr - ₹25.1 L/yr |
Technical Analyst
2.5k
salaries
| ₹9.4 L/yr - ₹38.4 L/yr |
Software Engineer
2k
salaries
| ₹2.2 L/yr - ₹9.5 L/yr |
Senior Test Engineer
1.8k
salaries
| ₹4.7 L/yr - ₹19.5 L/yr |
Technology Specialist
1.2k
salaries
| ₹11.8 L/yr - ₹42 L/yr |
Capgemini
Cognizant
Accenture
Infosys