Reporter.reportevent micFail, “Login Authorization”, “Failed successfully” in QTP. What is the equivalent line in Java Selenium using TestNG

I am converting from QTP line to Selenium java Lines using TestNG for Reporting.

Can you please help?


I am not sure what u are trying to achive

but i guess u wanna log your results using testng


you can try this line

Reporter.log(“your message here”);

and it will appear in ur testng reports



on July 18, 2017.
Add Comment
  • 0 Answer(s)
  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.