Java/JVMTechnology

Working with TestNG Annotations (Part1)

TestNG is a Java Framework to set up the execution flow of the code and for reporting purpose.  Annotations used in TestNG: Annotation Description @BeforeSuite BeforeSuite annotation method runs only once before all tests from the suite. @AfterSuite AfterSuite annotation method runs only once after all tests from the suite. @BeforeClass BeforeClass Method runs only […]

Automation TestingTechnology

How to Add Screenshots to TestNG Report?

Taking screenshots during testing is often considered a good practice. Adding a screenshot to the test reports provides complete clarity and visibility of the application such as if the application is working smoothly or something in the application needs to be fixed. It also makes the report meaningful and presentable. While carrying out manual testing one […]

Ubaid Ahmed
Ubaid Ahmed
Read