Amit
Amit

Reputation: 1

TestNg output on console

How would I display the following log in Eclipse on the terminal when I run the program from the console?

PASSED: session("liferay", [liferay.xml], "10.95.102.5", "2")
PASSED: session("tomcat_linux", [tomcat_linux.xml], "10.95.102.35", "1")

Upvotes: 0

Views: 3032

Answers (1)

Mrunal Gosar
Mrunal Gosar

Reputation: 4683

If the above statements are part of Reporter.log() Then you just need to pass one more parameter something like this Reporter.log("message",true) If it is a part of TestNG logging then just increase the verbose to level 10. If you are running through TestNg.xml then in the suite node you can find verbose attribute. Let me know if this helps.

Upvotes: 2

Related Questions