i
Coforge
Work with us
Filter interviews by
Fetching data from Excel involves using libraries like Apache POI or OpenPyXL in Java or Python respectively.
Use Apache POI for Java: Load workbook and sheet, iterate through rows and cells.
Example in Java: Workbook workbook = WorkbookFactory.create(new FileInputStream("file.xlsx"));
Use OpenPyXL for Python: Load workbook and access sheets using workbook['SheetName'].
Example in Python: wb = load_workbook('file.xlsx...
Retrieve the highest stock price from a dynamic web table using web scraping techniques.
Use a web scraping library like BeautifulSoup (Python) or Selenium for dynamic content.
Identify the table structure in the HTML to locate stock names and prices.
Extract stock prices and convert them to a comparable format (e.g., float).
Iterate through the extracted data to find the maximum price and its corresponding stock name...
The program compresses the string by counting consecutive characters and appending counts to the output.
Input: 'aabbcccd' -> Output: 'aa2bb2ccc3d1'
Counts consecutive characters: 'aa' -> 'a2', 'bb' -> 'b2', 'ccc' -> 'c3', 'd' -> 'd1'
Final output combines characters and their counts.
This Java program shifts all zeros in an array to the end while maintaining the order of non-zero elements.
Initialize a count variable to track the position of non-zero elements.
Iterate through the array and copy non-zero elements to the front.
Fill the remaining positions in the array with zeros after processing all elements.
Example: For input [0, 1, 0, 3, 12], output will be [1, 3, 12, 0, 0].
XPath expression helps locate the discount percentage of a phone on Flipkart by its name.
Use the phone's name to identify the specific product element.
XPath syntax: //div[contains(@class, 'product-name') and contains(text(), 'PhoneName')]//following-sibling::div[contains(@class, 'discount')]
Replace 'PhoneName' with the actual name of the phone you're searching for.
Ensure the XPath accurately reflects the structure...
I have 5 years of experience in using Selenium with C# for automation testing of web applications.
Developed automation scripts using Selenium WebDriver with C# for regression testing
Implemented Page Object Model design pattern for better code maintenance
Used NUnit or MSTest for test execution and reporting
Integrated with CI/CD tools like Jenkins for automated test runs
Handled dynamic elements and pop-ups using exp...
Program to count characters in a string input
Use a loop to iterate through each character in the string
Use a dictionary to store the count of each character
Handle both uppercase and lowercase characters separately
Our current project framework is based on Selenium WebDriver and TestNG for automated testing of web applications.
Utilizing Selenium WebDriver for browser automation
Implementing TestNG for test case management and execution
Integrating with Jenkins for continuous integration
Using Page Object Model design pattern for better test maintenance
Throw and throws are keywords in Java used for exception handling. Throw is used to throw an exception while throws is used to declare an exception.
Throw is used to explicitly throw an exception in a method.
Throws is used to declare the exceptions that a method may throw.
Throw is followed by an instance of an exception class.
Throws is followed by the name of the exception class or classes separated by commas.
Throw...
Creating a BDD login scenario with DataTables involves defining scenarios and implementing step definitions for data-driven testing.
Define a feature file with a scenario outline for login.
Use DataTables to pass multiple sets of login credentials.
Example: Given I have the following login details: | username | password |
Implement step definitions to handle the DataTable input.
Use assertions to verify successful or f...
I appeared for an interview in Jan 2025.
I am a highly experienced Senior Test Engineer with a strong background in software testing and quality assurance.
Over 8 years of experience in software testing
Proficient in test planning, execution, and reporting
Skilled in automation testing tools such as Selenium and JUnit
Experience in testing web and mobile applications
Strong problem-solving and analytical skills
I have 5 years of experience in using Selenium with C# for automation testing of web applications.
Developed automation scripts using Selenium WebDriver with C# for regression testing
Implemented Page Object Model design pattern for better code maintenance
Used NUnit or MSTest for test execution and reporting
Integrated with CI/CD tools like Jenkins for automated test runs
Handled dynamic elements and pop-ups using explicit...
I appeared for an interview in Apr 2025, where I was asked the following questions.
The program compresses the string by counting consecutive characters and appending counts to the output.
Input: 'aabbcccd' -> Output: 'aa2bb2ccc3d1'
Counts consecutive characters: 'aa' -> 'a2', 'bb' -> 'b2', 'ccc' -> 'c3', 'd' -> 'd1'
Final output combines characters and their counts.
Creating a BDD login scenario with DataTables involves defining scenarios and implementing step definitions for data-driven testing.
Define a feature file with a scenario outline for login.
Use DataTables to pass multiple sets of login credentials.
Example: Given I have the following login details: | username | password |
Implement step definitions to handle the DataTable input.
Use assertions to verify successful or failed...
XPath expression helps locate the discount percentage of a phone on Flipkart by its name.
Use the phone's name to identify the specific product element.
XPath syntax: //div[contains(@class, 'product-name') and contains(text(), 'PhoneName')]//following-sibling::div[contains(@class, 'discount')]
Replace 'PhoneName' with the actual name of the phone you're searching for.
Ensure the XPath accurately reflects the structure of t...
This Java program shifts all zeros in an array to the end while maintaining the order of non-zero elements.
Initialize a count variable to track the position of non-zero elements.
Iterate through the array and copy non-zero elements to the front.
Fill the remaining positions in the array with zeros after processing all elements.
Example: For input [0, 1, 0, 3, 12], output will be [1, 3, 12, 0, 0].
Retrieve the highest stock price from a dynamic web table using web scraping techniques.
Use a web scraping library like BeautifulSoup (Python) or Selenium for dynamic content.
Identify the table structure in the HTML to locate stock names and prices.
Extract stock prices and convert them to a comparable format (e.g., float).
Iterate through the extracted data to find the maximum price and its corresponding stock name.
Exam...
Fetching data from Excel involves using libraries like Apache POI or OpenPyXL in Java or Python respectively.
Use Apache POI for Java: Load workbook and sheet, iterate through rows and cells.
Example in Java: Workbook workbook = WorkbookFactory.create(new FileInputStream("file.xlsx"));
Use OpenPyXL for Python: Load workbook and access sheets using workbook['SheetName'].
Example in Python: wb = load_workbook('file.xlsx'); w...
I applied via Naukri.com and was interviewed in Aug 2024. There were 2 interview rounds.
Our current project framework is based on Selenium WebDriver and TestNG for automated testing of web applications.
Utilizing Selenium WebDriver for browser automation
Implementing TestNG for test case management and execution
Integrating with Jenkins for continuous integration
Using Page Object Model design pattern for better test maintenance
Program to count characters in a string input
Use a loop to iterate through each character in the string
Use a dictionary to store the count of each character
Handle both uppercase and lowercase characters separately
I appeared for an interview in Nov 2024, where I was asked the following questions.
I applied via Approached by Company and was interviewed in Dec 2022. There were 4 interview rounds.
I applied via Recruitment Consulltant and was interviewed before Feb 2023. There was 1 interview round.
I applied via Naukri.com and was interviewed before Sep 2022. There were 4 interview rounds.
Half hour coding test, Remove duplicate values for string for the Automation platform
I applied via Naukri.com and was interviewed before Oct 2021. There were 3 interview rounds.
Top trending discussions
Some of the top questions asked at the Coforge Senior Test Engineer interview -
based on 12 interview experiences
Difficulty level
Duration
based on 216 reviews
Rating in categories
Senior Software Engineer
4.9k
salaries
| ₹6 L/yr - ₹26.6 L/yr |
Technical Analyst
2.8k
salaries
| ₹9.7 L/yr - ₹38.4 L/yr |
Software Engineer
2.2k
salaries
| ₹2.4 L/yr - ₹10 L/yr |
Senior Test Engineer
1.8k
salaries
| ₹4.8 L/yr - ₹20 L/yr |
Technology Specialist
1.3k
salaries
| ₹12 L/yr - ₹42 L/yr |
Capgemini
Cognizant
Accenture
Infosys