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

Only first QTP test is executed, others are skipped with "QTP is not launched." error

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • Jenkins master 1.606
      Jenkins slave (where QTP tests are run) Windows Server 2012 (amd64)
      HP Application Automation Tools 3.0.7

      1) Install HP Application Automation Tools 3.0.7 Plugin
      2) Select Build action -> Execute HP tests from file system
      3) Fill Tests field -> Specify path to several tests
      4) Trigger job execution
      Actual: only the first test is executed, all other tests are NOT executed and "QTP is not launched" error is reported
      Expected: all specified tests are launched and executed

          [JENKINS-27872] Only first QTP test is executed, others are skipped with "QTP is not launched." error

          Olga Marchenko created issue -
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 162465 ] New: JNJira + In-Review [ 180934 ]
          Yafim Kazak made changes -
          Assignee Original: Ofir Shaked [ ofirshaked ] New: xiwen zhao [ xiwenhpe ]
          xiwen zhao made changes -
          Priority Original: Blocker [ 1 ] New: Major [ 3 ]

          xiwen zhao added a comment - - edited

          cannot reproduce on my machine with UFT 14 build 1708 + Jenkins Plugin 5.0.1-beta-snapshot, by looking at the log i guess after the first run UFT is not closed properly for some reason.
          QA will test again.

          xiwen zhao added a comment - - edited cannot reproduce on my machine with UFT 14 build 1708 + Jenkins Plugin 5.0.1-beta-snapshot, by looking at the log i guess after the first run UFT is not closed properly for some reason. QA will test again.
          xiwen zhao made changes -
          Resolution New: Cannot Reproduce [ 5 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]

          doesn't reproduce anymore. Can be closed

          Igor Tereshchuk added a comment - doesn't reproduce anymore. Can be closed

          I am having the same issue and we use the latest version.  I just checked the code in GitHub and noticed that there is a huge try block that is catched by one Exception:

          https://github.com/jenkinsci/hpe-application-automation-tools-plugin/blob/master/HpToolsLauncher/TestRunners/GuiTestRunner.cs

          Lines: 106 to 203.

          Whatever creates here the issue we have no idea about it as we only get a Qtp Not Launched info.

          Can you please reopen it and or add more debugging info, so that we see at least see which part is the problematic one.

          For 100 lines of code getting only a Qtp NOt Launched message is not helping.

           

          Bela - Tamas Jozsa added a comment - I am having the same issue and we use the latest version.  I just checked the code in GitHub and noticed that there is a huge try block that is catched by one Exception: https://github.com/jenkinsci/hpe-application-automation-tools-plugin/blob/master/HpToolsLauncher/TestRunners/GuiTestRunner.cs Lines: 106 to 203. Whatever creates here the issue we have no idea about it as we only get a Qtp Not Launched info. Can you please reopen it and or add more debugging info, so that we see at least see which part is the problematic one. For 100 lines of code getting only a Qtp NOt Launched message is not helping.  

          I am having the same issue and we use the latest version.  I just checked the code in GitHub and noticed that there is a huge try block that is catched by one Exception:

          https://github.com/jenkinsci/hpe-application-automation-tools-plugin/blob/master/HpToolsLauncher/TestRunners/GuiTestRunner.cs

          Lines: 106 to 203.

          Whatever creates here the issue we have no idea about it as we only get a Qtp Not Launched info.

          Can you please reopen it and or add more debugging info, so that we see at least see which part is the problematic one.

          For 100 lines of code getting only a Qtp NOt Launched message is not helping.

          Bela - Tamas Jozsa added a comment - I am having the same issue and we use the latest version.  I just checked the code in GitHub and noticed that there is a huge try block that is catched by one Exception: https://github.com/jenkinsci/hpe-application-automation-tools-plugin/blob/master/HpToolsLauncher/TestRunners/GuiTestRunner.cs Lines: 106 to 203. Whatever creates here the issue we have no idea about it as we only get a Qtp Not Launched info. Can you please reopen it and or add more debugging info, so that we see at least see which part is the problematic one. For 100 lines of code getting only a Qtp NOt Launched message is not helping.
          Bela - Tamas Jozsa made changes -
          Resolution Original: Cannot Reproduce [ 5 ]
          Status Original: Resolved [ 5 ] New: Reopened [ 4 ]

            xiwenhpe xiwen zhao
            olgamarchenko Olga Marchenko
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: