need to change exception message.How to Change Exception Message in TestNG Report and change this Exception message into correct error message this report using different code for TestNG report.
Using This Code., Link Given.. Link: http://www.seleniumeasy.com/testng-tutorials/testng-customize-emailable-html-report-example