i
Coforge
Filter interviews by
I applied via Approached by Company and was interviewed in Apr 2023. There were 2 interview rounds.
BDD framework is a software development process that encourages collaboration between developers, QA, and non-technical stakeholders.
BDD stands for Behavior Driven Development
Uses natural language to define requirements and tests
Focuses on the behavior of the system from the end user's perspective
Uses tools like Cucumber, SpecFlow, or JBehave
Feature file with feature for automation testing
Feature: Login functionality
Scenario: User logs in with valid credentials
Given user is on the login page
When user enters valid username and password
Then user should be logged in successfully
To run a feature file, use a test automation tool like Cucumber or SpecFlow.
Use a test automation tool like Cucumber or SpecFlow to run feature files
Create a test runner class or configuration file to specify which feature file to run
Execute the test runner class or configuration file to run the feature file
Check the test results to see if the feature file ran successfully
The number of feature files will depend on the project requirements and the level of granularity in test scenarios.
Number of feature files can vary based on the size and complexity of the project
Each feature file typically represents a specific functionality or feature being tested
Feature files can be organized based on modules, user stories, or test scenarios
No, a class cannot be an interface in programming.
A class is a blueprint for objects, while an interface is a contract for classes to implement certain methods.
A class can implement multiple interfaces, but it cannot extend multiple classes.
Interfaces cannot have constructors or instance variables, while classes can have both.
Class is a blueprint for objects, while interface is a contract for classes to implement certain methods.
Class can have both data members and methods, while interface can only have method signatures.
A class can implement multiple interfaces, but can only inherit from one class.
Interfaces are used to achieve multiple inheritance in Java.
Classes can have constructors, while interfaces cannot.
Example: Class 'Car' can have...
A program to replace all vowels with 'x' in a given string.
Iterate through each character in the string
Check if the character is a vowel (a, e, i, o, u)
If it is a vowel, replace it with 'x'
Return the modified string
Different types of asserts used in Selenium include assert, verify, and waitForAssert
Assert: Stops the execution if the verification fails
Verify: Continues the execution even if the verification fails
waitForAssert: Waits for a certain condition to be true before proceeding
I applied via Naukri.com and was interviewed before Dec 2020. There were 3 interview rounds.
I appeared for an interview before Jun 2020.
posted on 10 Feb 2021
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 13 Jan 2025
I appeared for an interview in Dec 2024.
posted on 25 Apr 2024
I applied via Naukri.com and was interviewed before Apr 2023. There were 3 interview rounds.
posted on 3 Aug 2022
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<String> handles = driver.
I applied via Recruitment Consulltant and was interviewed in Jul 2024. There was 1 interview round.
I am a dedicated Automation Test Engineer with 5 years of experience in creating and executing test cases for software applications.
Experienced in creating automated test scripts using tools like Selenium and Appium
Proficient in writing test cases, executing tests, and reporting defects
Skilled in analyzing test results and providing recommendations for improvements
Strong knowledge of software testing methodologies and ...
Project framework is a structure that provides guidelines, best practices, and tools for developing and maintaining software projects.
Project framework defines the overall structure of the project, including directories, files, and naming conventions.
It includes guidelines for coding standards, testing procedures, and documentation requirements.
Frameworks like Selenium, TestNG, and JUnit provide tools and libraries for...
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Senior Software Engineer
4.9k
salaries
| ₹6.4 L/yr - ₹23.6 L/yr |
Technical Analyst
2.6k
salaries
| ₹9.5 L/yr - ₹38.4 L/yr |
Software Engineer
2k
salaries
| ₹2 L/yr - ₹9.5 L/yr |
Senior Test Engineer
1.8k
salaries
| ₹4.6 L/yr - ₹19 L/yr |
Technology Specialist
1.2k
salaries
| ₹12 L/yr - ₹42 L/yr |
Capgemini
Cognizant
Accenture
Infosys