0

I need to integrate selenium server (java) tests results with PractiTest (test management tool). To do that I need to save my test results into a JSON file. How can I do that?

Taly
  • 39
  • 2
  • What Testing framework you are using? TestNG or JUnit? How do you save your test results now? – CARE Jul 18 '16 at 13:33
  • I am using eclipse with junit and currently saving my results into a text file – Taly Jul 19 '16 at 08:59

1 Answers1

-1

Use a java test framework that supports json reports, or write your own report formatter for the test framework you're using. Most test frameworks for java support generating the test report in whatever format you want.

Mobrockers
  • 2,128
  • 1
  • 16
  • 28
  • I am using JUnit but when try to import a json library it does not recognize it: import org.junit.? – Taly Jul 19 '16 at 09:32