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

          Dattatrya More created issue -

          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
          Dattatrya More made changes -
          Attachment New: result-seeking-stratergy.png [ 25817 ]

          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
          Nalin Makar made changes -
          Component/s Original: testng [ 15801 ]
          Description Original:
          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
          New: 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

          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.
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 154300 ] New: JNJira + In-Review [ 178758 ]

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

              Created:
              Updated: