Wipro
10+ Merit Fox Technologies Interview Questions and Answers
Q1. If you put in an Agile project, Will you be able to do in sprint Automation
Yes, if the automation is planned and executed within the sprint timeline.
Automation should be planned and estimated during sprint planning
Automation scripts should be developed and executed within the sprint timeline
Automation results should be reviewed and reported in sprint review
Automation should not impact the sprint goal or other planned tasks
Q2. What are all the status codes available in API testing
There are several status codes available in API testing to indicate the outcome of a request.
200 - OK: The request was successful
201 - Created: The request was successful and a new resource was created
400 - Bad Request: The request was invalid or could not be understood
401 - Unauthorized: Authentication is required and has failed or has not been provided
403 - Forbidden: The server understood the request but refuses to authorize it
404 - Not Found: The requested resource could ...read more
Q3. How to click on the element which is at the bottom of the page
Scroll down to the element and use JavaScript to click on it.
Scroll down to the bottom of the page using the browser's scroll bar or JavaScript
Locate the element using its ID, class name, or XPath
Use JavaScript to click on the element using the click() method
Q4. What is the status code series and explain it
Status code series are 1xx, 2xx, 3xx, 4xx, and 5xx. They indicate the status of HTTP requests and responses.
1xx - Informational responses
2xx - Successful responses
3xx - Redirection messages
4xx - Client error responses
5xx - Server error responses
Q5. Difference between Window Handles and Window Handle
Window handles refer to the unique identifiers assigned to each window opened by a browser.
Window handles are used to switch between different windows in a browser.
Each window opened by a browser is assigned a unique window handle.
Window handles are used in automated testing to interact with different windows.
The plural 'window handles' refers to multiple handles, while 'window handle' refers to a single handle.
Q6. If you assigned new project for you how you will tell the client performance testing is required
I would explain to the client the importance of performance testing in ensuring the project's success and meeting user expectations.
Explain the benefits of performance testing in identifying and resolving performance issues before they impact end users
Provide examples of how performance testing can help optimize application performance and scalability
Highlight the risks of not conducting performance testing, such as potential downtime, slow response times, and negative user e...read more
Q7. Java Exceptions and how it works
Java Exceptions are errors that occur during program execution and can be handled using try-catch blocks.
Exceptions are objects that are thrown when an error occurs
They can be caught and handled using try-catch blocks
There are three types of exceptions: checked, unchecked, and errors
Checked exceptions must be handled or declared in the method signature
Unchecked exceptions and errors do not need to be handled or declared
Examples of exceptions include NullPointerException, Arra...read more
Q8. What's the criteria to choose an automation framework
Criteria for choosing an automation framework include compatibility with technology stack, ease of use, scalability, community support, and cost.
Compatibility with technology stack
Ease of use for team members
Scalability for future needs
Community support for troubleshooting and updates
Cost of implementation and maintenance
Q9. How cucumber works. tell in detail
Cucumber is a BDD tool that allows writing test cases in plain English and automating them.
Cucumber uses Gherkin syntax to write test cases in plain English
It maps the plain English statements to code using step definitions
Cucumber supports multiple programming languages like Java, Ruby, etc.
It integrates with various testing frameworks like JUnit, TestNG, etc.
Cucumber generates reports in various formats like HTML, JSON, etc.
Q10. How to run the Testcases in parallel
Testcases can be run in parallel by using tools like Selenium Grid, TestNG, JUnit, or by writing custom code.
Use Selenium Grid to distribute tests across multiple machines
Use TestNG or JUnit to run tests in parallel within a single machine
Write custom code to execute tests in parallel using threads or processes
Ensure that the tests are independent and do not interfere with each other
Q11. How to run a testcase with multiple data
Testcases with multiple data can be run using data-driven testing approach.
Create a test script that can accept multiple sets of data
Store the data in an external file or database
Iterate through the data and execute the test script for each set of data
Use a testing framework that supports data-driven testing, such as JUnit or TestNG
Q12. How to work with Apache POI
Apache POI is a Java library for working with Microsoft Office documents.
Use POI to read, write, and manipulate Excel, Word, and PowerPoint files
Create a workbook object to work with Excel files
Use the HSSF (Horrible Spreadsheet Format) package for working with Excel files in .xls format
Use the XSSF (XML Spreadsheet Format) package for working with Excel files in .xlsx format
Use the HWPF (Horrible Word Processor Format) package for working with Word files in .doc format
Use th...read more
Q13. Write a program to reverse a number
Program to reverse a number
Convert the number to a string
Reverse the string
Convert the reversed string back to a number
Q14. Common exceptions faced in selenium
Common exceptions in Selenium include ElementNotVisibleException, NoSuchElementException, TimeoutException, StaleElementReferenceException, and WebDriverException.
ElementNotVisibleException occurs when an element is present in the DOM but not visible on the page
NoSuchElementException occurs when an element cannot be found on the page
TimeoutException occurs when a command takes too long to complete
StaleElementReferenceException occurs when an element is no longer attached to t...read more
Q15. Difference between throws and throw
throws is a keyword used in method signature to indicate that the method can throw an exception, while throw is used to explicitly throw an exception.
throws is used in method signature to declare the exceptions that can be thrown by the method
throw is used to explicitly throw an exception
throws is a keyword, while throw is a statement
Example: public void method() throws IOException { //code }
Example: throw new IOException();
Q16. How many types of Performance Testing
There are four main types of Performance Testing: Load Testing, Stress Testing, Endurance Testing, and Spike Testing.
Load Testing: Testing the system under normal and peak load conditions to ensure it can handle expected user traffic.
Stress Testing: Testing the system beyond its normal capacity to identify breaking points.
Endurance Testing: Testing the system under sustained load to ensure it can handle prolonged use.
Spike Testing: Testing the system's reaction to sudden spik...read more
Interview Process at Merit Fox Technologies
Reviews
Interviews
Salaries
Users/Month