Details

    • Similar Issues:

      Description

      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

        Attachments

          Activity

          Hide
          jimsears Jim Sears added a comment -

          Hi, this issue is 5 months old but has not update. Will this issue be worked or reviewed anytime soon? I have the same issue where the timeout is ignored the job hangs until I abort it.

          Show
          jimsears Jim Sears added a comment - Hi, this issue is 5 months old but has not update. Will this issue be worked or reviewed anytime soon? I have the same issue where the timeout is ignored the job hangs until I abort it.
          Hide
          nykolaj79 Nicolae Cacior-Salistean added a comment -

          same happens to me also and we are 24.06.2019.

          Error: There was an error reading from the pipe: Unrecognized error 109 (0x6d).\n bei System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData)
          bei QTObjectModelLib.Test.Stop()
          bei HpToolsLauncher.GuiTestRunner.ExecuteQTPRun(TestRunResults testResults)
          Test result: Error

          Show
          nykolaj79 Nicolae Cacior-Salistean added a comment - same happens to me also and we are 24.06.2019. Error: There was an error reading from the pipe: Unrecognized error 109 (0x6d).\n bei System.RuntimeType.ForwardCallToInvokeMember(String memberName, BindingFlags flags, Object target, Int32[] aWrapperTypes, MessageData& msgData) bei QTObjectModelLib.Test.Stop() bei HpToolsLauncher.GuiTestRunner.ExecuteQTPRun(TestRunResults testResults) Test result: Error
          Hide
          nykolaj79 Nicolae Cacior-Salistean added a comment -

          with UFT v14.51 same UFT Script fails with UFT v14.52.

          Show
          nykolaj79 Nicolae Cacior-Salistean added a comment - with UFT v14.51 same UFT Script fails with UFT v14.52.

            People

            • Assignee:
              tamasflorin Tamas Florin
              Reporter:
              jozsabelatamas Bela - Tamas Jozsa
            • Votes:
              2 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: