Posted On: Apr 06, 2020
This is a feature that lets the test method to be terminated when it is taking a longer time than the specified time to execute. Some test gets struck or may take a longer time than to complete than the execution and to handle these scenarios, we can specify timeout so it gets terminated as it reaches the specified time. This Timeout can be specified in two ways. They are at the suite level and at each test method level. Specifying at suite level applies for all the tests in the test suite. Specifying at the method level is applicable only for that method.
Never Miss an Articles from us.
TestNG is a testing framework written in Java to cover a wide array of test categories like unit testing, functional testing, end-to-end test, integration test, etc. It is inspired from JUnit and NUni...
Some of the important features of TestNG framework are,Support for Annotation. Support for data-driven-testing and parameters. Support for multiple instances in the same test class. Has a good ...
The full form of TestNG is Test Next Generation....