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?

Hi

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

 

 

7 days ago.
Add Comment
  • 0 Answer(s)
  • Your Answer

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