Forum Discussion

abishekhari007's avatar
abishekhari007
Contributor
4 years ago

Error: This operation returned because the timeout period expired in testcomplete

I got an error like below

Error: This operation returned because the timeout period expired in testcomplete

 

I increase the auto wait timeout to 50000, but still I get the same, how do it rectify it?

  • AlexKaras's avatar
    AlexKaras
    4 years ago

    Hi,

     

    Weird...

    Is there any helpful info in the Details pane for the error record?

    I would:

    a) Check stepping-over in debugger that the error is triggered by the 'if' statement indeed; and

    b) Check that the menu item referenced by the current value of the 'i' index exists and is visible on screen (again, using debugger).

     

    If the above does not help, I have no better idea but to create Support ticket via the https://support.smartbear.com/message/?prod=TestComplete form.

     

  • AlexKaras's avatar
    AlexKaras
    Champion Level 3

    Hi,

     

    Can you provide a context? Like problem's screenshot, test code, what line triggers the error, etc.

     

    • abishekhari007's avatar
      abishekhari007
      Contributor

      When i click on the log step, it takes me to the If condition as mentioned in the screenshots

       

      • AlexKaras's avatar
        AlexKaras
        Champion Level 3

        Hi,

         

        Weird...

        Is there any helpful info in the Details pane for the error record?

        I would:

        a) Check stepping-over in debugger that the error is triggered by the 'if' statement indeed; and

        b) Check that the menu item referenced by the current value of the 'i' index exists and is visible on screen (again, using debugger).

         

        If the above does not help, I have no better idea but to create Support ticket via the https://support.smartbear.com/message/?prod=TestComplete form.