2 Replies
      Latest reply on Dec 6, 2018 12:39 PM by ericn1967
      Dimu4 Level 1 Level 1 (0 points)

        Currently working on integrating my UITest-run results into TestRail, so after every test run it marks my tests as Pass\Fail in testrail.

        The idea I have is:

        1. In CI create a "pre-build" script that will create a test run in testrail.
        2. During execution of automation, in test tearDown() get the result of a test(if a test failed or not), save it all into json file. - here is the first question, how can I get if a test failed?
        3. Once all tests are done, run a "post-build" script to get updated json file and send request to test rail(which will mark pass\fail tests)

        Anyone who already worked on this, does it sound right for you?

        Are there any build-in methods that could help me to achive the goal?