Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-22220

TestLink Plugin is not executing testng method and showing Not Run in jenkins excution report

      TestLink Plugin is not executing testng method and showing Not Run in jenkins execution report

      Following are testlink, jenkins and testlink plug in versions that used for configuration.
      TestLink 1.9.9
      Jenkins ver. 1.523
      Jenkins TestLink Plugin - 3.10

      Created testlink project,testplan and custom fields, refer attachments for details.

      In test suite, 2 test cases are present
      Login test which uses following java class to execute
      com.mycompany.myproject.testscripts.ConceptTest

      and for this used custom field is - TestMethod

      java class com.mycompany.myproject.testscripts.ConceptTest contains several testng methods refer attached source file
      eg login, registration etc

      Registration test used following value for custom field

      TestMethod: com.mycompany.myproject.testscripts.ConceptTest#TestLinkTest11

      Actual registration test script present in testng method - TestLinkTest11

      After executing above configuration jenkins and testlink test execution result says - Not run in result screen. refer screenshots for reference

          [JENKINS-22220] TestLink Plugin is not executing testng method and showing Not Run in jenkins excution report

          subbu m added a comment -

          hi, i also having this issue, any workaround please

          i think I also noted if i just place a some testNg-result.xml file in working folder of the Item/Project , its not reading either

          please let us know the stable version to roll back

          thanks in advance
          subbu

          subbu m added a comment - hi, i also having this issue, any workaround please i think I also noted if i just place a some testNg-result.xml file in working folder of the Item/Project , its not reading either please let us know the stable version to roll back thanks in advance subbu

          Hi I am also facing same issue.

          Jenkins 1.560
          TestLink 1.9.7

          Please let us know if there is any workaround for time being.

          Thanks
          Yagna

          Yagnanarayana Dande added a comment - Hi I am also facing same issue. Jenkins 1.560 TestLink 1.9.7 Please let us know if there is any workaround for time being. Thanks Yagna

          Seb N added a comment -

          Hi Dattatrya,

          In your Jenkins config, in the Testlink section, have you set up a 'Result Seeking Strategy' ? I do not see this part in your screenshot. For your case you probably want to choose 'TestNG method name'.

          Regards,
          Seb

          Seb N added a comment - Hi Dattatrya, In your Jenkins config, in the Testlink section, have you set up a 'Result Seeking Strategy' ? I do not see this part in your screenshot. For your case you probably want to choose 'TestNG method name'. Regards, Seb

          Hi Seb,

          Please find attached result-seeking-stratergy.png scrrenshot.

          Also I am facing issue for executing tests present in 2 different classes.

          Thanks,
          Datta

          Dattatrya More added a comment - Hi Seb, Please find attached result-seeking-stratergy.png scrrenshot. Also I am facing issue for executing tests present in 2 different classes. Thanks, Datta

          I have tried 'TestNG method name' but no luck.

          Thanks,
          Datta

          Dattatrya More added a comment - I have tried 'TestNG method name' but no luck. Thanks, Datta

          Niranjan Khare added a comment - - edited

          Hi,
          I am able to see TestNG results in Jenkins, but the Testlink result stays at tests not executed.

          Testlink 1.9.10, Testlink plugin: 3.1 ; Jenkins : 1.582;

          I'd like to know if this issue has some work-around?

          Results of more investigation:

          If I use TestNG Class name as Result seeking strategy, the Testlink results is updated correctly, if I use TestNG Method name as Result seeking strategy, I see the problem.

          Niranjan Khare added a comment - - edited Hi, I am able to see TestNG results in Jenkins, but the Testlink result stays at tests not executed. Testlink 1.9.10, Testlink plugin: 3.1 ; Jenkins : 1.582; I'd like to know if this issue has some work-around? Results of more investigation: If I use TestNG Class name as Result seeking strategy, the Testlink results is updated correctly, if I use TestNG Method name as Result seeking strategy, I see the problem.

          Hello Team, I also getting same issue. Can you help me to fix it ?

          Thank you 

          vaibhav khachane added a comment - Hello Team, I also getting same issue. Can you help me to fix it ? Thank you 

          Hi vaibhavkhachane

          I haven't worked on the fix yet. It should be fairly simple, the problem for me is time to set up the environment to reproduce it.

          Bruno P. Kinoshita added a comment - Hi vaibhavkhachane I haven't worked on the fix yet. It should be fairly simple, the problem for me is time to set up the environment to reproduce it.

            kinow Bruno P. Kinoshita
            dmore Dattatrya More
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated: