i
Coforge
Work with us
Filter interviews by
This program identifies and prints duplicate characters from a given string input.
Use a hash map or dictionary to count occurrences of each character.
Iterate through the string and update the count for each character.
After counting, filter characters that have a count greater than 1.
Example: For input 'programming', output should be 'g', 'r'.
Consider case sensitivity: 'A' and 'a' should be treated as different cha...
You can obtain the page source of a website using Selenium by calling the getPageSource() method.
Instantiate a WebDriver object for the desired browser
Navigate to the website using get() method
Use getPageSource() method to retrieve the page source
XPaths are used in testing to locate elements on a web page for automation testing purposes.
XPaths are used to locate elements based on their attributes, such as ID, class, name, etc.
Absolute XPaths start with the root node and specify the complete path to the element.
Relative XPaths start from the current node and specify the path to the element relative to the current node.
XPaths can also be used to locate eleme...
This task involves reversing the characters of a string after sorting them in alphabetical order.
Convert the string to a character array.
Sort the character array alphabetically.
Reverse the sorted character array.
Convert the reversed array back to a string.
Example: 'banana' -> ['a', 'a', 'b', 'n', 'n'] -> ['n', 'n', 'b', 'a', 'a'] -> 'nnbaa'
Java method to remove duplicate values from an array of strings efficiently.
Use a HashSet to store unique values: HashSet<String> uniqueStrings = new HashSet<>(Arrays.asList(array));
Convert back to array: String[] result = uniqueStrings.toArray(new String[0]);
Example: Input: {'apple', 'banana', 'apple'}, Output: {'apple', 'banana'}
Stream API can also be used: Arrays.stream(array).distinct().toArray(Str...
Use a program to handle JavaScript callback functions.
Create a function that takes a callback function as a parameter
Invoke the callback function within the main function
Pass arguments to the callback function if needed
Create a counter using JavaScript
Declare a variable to store the count
Create a function to increment the count
Display the count on the webpage
Workload model is a representation of the workload that a system or application is expected to handle.
It includes information on the types of tasks, frequency of tasks, and the resources required to complete the tasks.
Workload models help in performance testing by simulating real-world scenarios and predicting system behavior under different workloads.
Examples of workload models include steady state, ramp-up, and ...
Exception handling in JS and Cypress involves using try-catch blocks to handle errors and prevent test failures.
Use try-catch blocks to handle exceptions in JavaScript and Cypress tests
Catch specific errors to handle them appropriately
Use assertions to check for expected errors in Cypress tests
Correlation in performance testing, AWS knowledge, parametrization vs correlation, challenges in correlation, motivating new customers for performance testing, using perfmon, rampup/rampdown/steady state, concurrent vs simultaneous users, matrices in HTML report
Correlation in performance testing ensures that the response time of different components in a system are correlated to each other
AWS knowledge is importan...
I applied via Naukri.com and was interviewed in Sep 2023. There were 2 interview rounds.
Create a counter using JavaScript
Declare a variable to store the count
Create a function to increment the count
Display the count on the webpage
Exception handling in JS and Cypress involves using try-catch blocks to handle errors and prevent test failures.
Use try-catch blocks to handle exceptions in JavaScript and Cypress tests
Catch specific errors to handle them appropriately
Use assertions to check for expected errors in Cypress tests
Use a program to handle JavaScript callback functions.
Create a function that takes a callback function as a parameter
Invoke the callback function within the main function
Pass arguments to the callback function if needed
Correlation in performance testing, AWS knowledge, parametrization vs correlation, challenges in correlation, motivating new customers for performance testing, using perfmon, rampup/rampdown/steady state, concurrent vs simultaneous users, matrices in HTML report
Correlation in performance testing ensures that the response time of different components in a system are correlated to each other
AWS knowledge is important for...
I appeared for an interview before Feb 2024.
You can obtain the page source of a website using Selenium by calling the getPageSource() method.
Instantiate a WebDriver object for the desired browser
Navigate to the website using get() method
Use getPageSource() method to retrieve the page source
I appeared for an interview before Apr 2024, where I was asked the following questions.
A testing framework is a structured environment that facilitates automated testing, ensuring consistency and efficiency.
Frameworks can be categorized into types: Unit Testing (e.g., JUnit), Integration Testing (e.g., TestNG), and End-to-End Testing (e.g., Selenium).
They provide reusable components, reducing redundancy in test scripts and improving maintainability.
Frameworks often include reporting tools to track test r...
Top trending discussions
posted on 7 Mar 2024
I applied via Approached by Company and was interviewed in Aug 2024. There was 1 interview round.
60 mins aptitude and reasoning questions with Java syntax’s related questions
I applied via Naukri.com and was interviewed in Mar 2024. There were 2 interview rounds.
Coding questions with MCQs and 2 programming
posted on 29 Nov 2024
I appeared for an interview in May 2024.
Some of the top questions asked at the Coforge Senior QA Engineer interview -
based on 5 interview experiences
Difficulty level
Duration
based on 9 reviews
Rating in categories
Senior Software Engineer
4.9k
salaries
| ₹6.6 L/yr - ₹22.8 L/yr |
Technical Analyst
2.8k
salaries
| ₹17.9 L/yr - ₹32 L/yr |
Software Engineer
2.3k
salaries
| ₹3.6 L/yr - ₹8 L/yr |
Senior Test Engineer
1.8k
salaries
| ₹6.1 L/yr - ₹17.7 L/yr |
Technology Specialist
1.4k
salaries
| ₹21.8 L/yr - ₹39 L/yr |
Capgemini
Cognizant
Accenture
Infosys