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 applied via Naukri.com and was interviewed in May 2021. There was 1 interview round.
posted on 10 Feb 2021
I applied via Naukri.com and was interviewed before Aug 2021. There were 3 interview rounds.
Code writing task for Automation Test Engineer position
Open Notepad
Write code for the given task
Share screen to show the code
Ensure code is well-structured and follows best practices
My automation framework is a hybrid framework that uses both data-driven and keyword-driven approaches.
The framework is built using Selenium WebDriver and TestNG.
It uses Excel sheets to store test data and Apache POI library to read/write data from/to Excel.
The framework has a modular structure with reusable functions and libraries.
It uses Page Object Model design pattern to maintain object repository.
The framework gen...
HashMap and HashTable are both data structures used to store key-value pairs, but they differ in their implementation and features.
HashMap is not synchronized and allows null values and keys, while HashTable is synchronized and does not allow null values or keys.
HashMap is faster than HashTable for non-thread-safe operations, but HashTable is safer for thread-safe operations.
HashMap uses Iterator to traverse the elemen...
Abstract class is a class that cannot be instantiated while abstract method is a method without implementation.
Abstract class can have both abstract and non-abstract methods while abstract method can only exist in an abstract class or interface.
Abstract class can have constructors while abstract method cannot.
Abstract class can provide default implementation for its non-abstract methods while abstract method cannot.
Exa...
posted on 3 Aug 2022
posted on 25 Jun 2024
Technical questions in apti
Reverse words in a string with first letter capitalized, create a diamond pattern, and program on drop-down.
To reverse words in a string with first letter capitalized, split the string into words, reverse each word, capitalize the first letter, and join them back together.
For creating a diamond pattern program, use nested loops to print spaces and stars in a specific pattern.
For a program on drop-down, you can create a...
I was interviewed before Mar 2022.
Basic aptitude questions and 2 programming questions
Code to reverse a string
Create an empty string variable to store the reversed string
Loop through the original string from the end to the beginning
Add each character to the empty string variable
Return the reversed string
Palindrome code in Java
A palindrome is a word, phrase, number, or other sequence of characters that reads the same forward and backward
To check if a string is a palindrome, we can compare the first and last characters, then the second and second-to-last characters, and so on
We can use a loop to iterate through the string and compare the characters
We can also use StringBuilder to reverse the string and compare it to the
I applied via Approached by Company and was interviewed in Apr 2024. There was 1 interview round.
based on 1 interview
Interview experience
based on 1 review
Rating in categories
Senior Software Engineer
4.9k
salaries
| ₹0 L/yr - ₹0 L/yr |
Technical Analyst
2.6k
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Engineer
2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Test Engineer
1.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Technology Specialist
1.2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Capgemini
Cognizant
Accenture
Infosys