Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

0 like 0 dislike
500 views
by The go-to Tester (158 points)
edited by

Every method of page objects contains Console.WriteLine() to logging what happens at certain moment. Log entries are mixed, when I run the tests in parallel. How to organize logging when tests run in parallel?

1 Answer

0 like 0 dislike
by The go-to Tester (181 points)
selected by
 
Best answer
At this point I do not have any readymade framework in mind, but you can quickly create static HashTree where you can store test name and test execution logs. Once all your executions are over, somewhere during after suite part, you can print complete log or store those in file.

 

Hope that helps!


This site is for software testing professionals, where you can ask all your questions and get answers from 1300+ masters of the profession. Click here to submit yours now!

...