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

Timeout is Not Stopping UFT

XMLWordPrintable

      We have set a Timeout of 10 mins.

      If the script is frozen or UFT is not reacting the call: QTPApplication.Test.Stop will never finish.

      The plugin in this case,  is  unable to stop the Execution and wait there ... well for a long time.

      If I kill the UFT process manually I get this ( StackTraceIn my case it means that UFT was stuck there for more than a minute)

       

      My proposal is to start a totally separate process that will act like a timebomb. After a specific Timeout it simply kills UFT. This process should be stopped if the Test Case is finished and for each test Execution rescheduled.
      C:\work\jenkins\workspace\IEC\TA_IEC_AllTests\IEC\tests\001_change_and_release_management\T0001_R30_TC_Core_CreateCR_and_Derive_CO
      [Test Set: 001_change_and_release_management] Running test: C:\work\jenkins\workspace\IEC\TA_IEC_AllTests\IEC\tests\001_change_and_release_management\T0001_R30_TC_Core_CreateCR_and_Derive_CO
      [Test Set: 001_change_and_release_management] Error: There was an error reading from the pipe: Die Pipe wurde beendet. (109, 0x6d).
      [Test Set: 001_change_and_release_management] at System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
      [Test Set: 001_change_and_release_management] at QTObjectModelLib.Test.Stop()
      [Test Set: 001_change_and_release_management] at HpToolsLauncher.GuiTestRunner.ExecuteQTPRun(TestRunResults testResults)
      [Test Set: 001_change_and_release_management] Test result: Error
      [Test Set: 001_change_and_release_management] 05.10.2017 17:13:26 Test complete: C:\work\jenkins\workspace\IEC\TA_IEC_AllTests\IEC\tests\001_change_and_release_management\T0001_R30_TC_Core_CreateCR_and_Derive_CO

            aslaakso Anda Sorina Laakso
            jozsabelatamas Bela - Tamas Jozsa
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: