TestNG verbose config

In testng.xml, the "verbose" attribute of the suite tag is very useful for troubleshooting configuration related error. Its values can be set as 1 to 10, and smaller value means lower verbose and bigger value means higher verbose.

Passing testng command line arguments from ant

How to pass testng command line arguments dynamically when Ant is used for invoking testng task.

Passing parameters to testng xml from ant on jenkins

With Jenkins “This build is parameterized” feature, we can dynamically pass testng parameters (i.e. test config or data input) through Ant.

TestNG custom listener and reporter

TestNG custom listener to log individual result of test method execution and custom reporter to log summary report of test suite execution.

Log4j TestNG reporter appender

When developing test automation framework in java with TestNG and log4j, one can append log4j logs to the "Reporter output" section of TestNG html report and this post shows how to achieve that.

TestNG parameters and dataprovider

TestNG parameters and dataprovider.