• Icon: Task Task
    • Resolution: Unresolved
    • Icon: Minor Minor
    • testlink-plugin
    • None

      Hi,

      I am having problems with TestLink automatically taking status from Jenkins. The TestNG results show 1 case failed and 3 cases passed, but TestLink shows 4 cases failed. I need TestLink to match TestNG results.

      I tried adding a DataProvider to TestLink and Jenkins, but it didn't work. I might need help figuring that out. I attached a file with an example that resembles closely to what I have.

      Thank you so much!!

          [JENKINS-18916] Jenkins TestLink Automated Testing Help

          Thanks Dong! And thanks for adding the problem description and attaching some example. I'll take a look into it in my next development cycle for the plug-in

          Bruno P. Kinoshita added a comment - Thanks Dong! And thanks for adding the problem description and attaching some example. I'll take a look into it in my next development cycle for the plug-in

          Dong Nguyen added a comment -

          Hi Bruno,

          Is there any updates on my problem? Please let me know.

          Thanks,
          Dong

          Dong Nguyen added a comment - Hi Bruno, Is there any updates on my problem? Please let me know. Thanks, Dong

          Dong Nguyen added a comment -

          Hi Bruno,

          Is there any updates?

          Thanks,
          Dong

          Dong Nguyen added a comment - Hi Bruno, Is there any updates? Thanks, Dong

          Hi Dong! Sorry for taking long to reply.

          Could you provide the TestNG XML's produced after you run your tests with Ant, please? As well as some screen shots with your TestLink & Jenkins configuration, please?

          The docx file looks great too, but with the XML and the screen shots maybe I can reproduce in a test environment in my machine.

          Thanks.
          Bruno

          Bruno P. Kinoshita added a comment - Hi Dong! Sorry for taking long to reply. Could you provide the TestNG XML's produced after you run your tests with Ant, please? As well as some screen shots with your TestLink & Jenkins configuration, please? The docx file looks great too, but with the XML and the screen shots maybe I can reproduce in a test environment in my machine. Thanks. Bruno

          Dong Nguyen added a comment -

          Hi Bruno,

          I am not sure where to look for this information. Can you lead me in the right direction?

          Thanks,
          Dong

          Dong Nguyen added a comment - Hi Bruno, I am not sure where to look for this information. Can you lead me in the right direction? Thanks, Dong

          Sure Dong, take a few screenshots of your Job in Jenkins, your test case, test plan, test project and custom fields in TestLink and attach your TestNG XML's (generated after you've run your tests).

          HTH,
          Bruno

          Bruno P. Kinoshita added a comment - Sure Dong, take a few screenshots of your Job in Jenkins, your test case, test plan, test project and custom fields in TestLink and attach your TestNG XML's (generated after you've run your tests). HTH, Bruno

          Dong Nguyen added a comment -

          Where do I find the TestNG XML's after I generated the tests?

          Dong Nguyen added a comment - Where do I find the TestNG XML's after I generated the tests?

          Dong Nguyen added a comment -

          Screenshots and xml file of a different case

          Dong Nguyen added a comment - Screenshots and xml file of a different case

          Hi Dong! Thanks for the screenshots and XML

          You are running Ant as a build step, and looking for test results in a post build step.

          What you have to do is remove both build steps, and add a single build step to invoke testlink. Within the testlink-plugin build step you can then call Ant, and also look for test results

          At the moment, your job is not connected to TestLink in any way.

          Bruno P. Kinoshita added a comment - Hi Dong! Thanks for the screenshots and XML You are running Ant as a build step, and looking for test results in a post build step. What you have to do is remove both build steps, and add a single build step to invoke testlink. Within the testlink-plugin build step you can then call Ant, and also look for test results At the moment, your job is not connected to TestLink in any way.

          Dong Nguyen added a comment -

          Hi Bruno,

          Thanks for looking at the issue!! Can you give me some examples of testlink-plugin build step? And how can I connect it?

          Thank you so much
          Dong

          Dong Nguyen added a comment - Hi Bruno, Thanks for looking at the issue!! Can you give me some examples of testlink-plugin build step? And how can I connect it? Thank you so much Dong

            kinow Bruno P. Kinoshita
            dnguyen123 Dong Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: