Forum Discussion

Nursyamim's avatar
Nursyamim
Occasional Contributor
6 years ago

Error: Either BOF or EOF is True, or the current record has been deleted

Hi,

 

I'm confused with this error. I used DDT to read From Begining To 1 of the excel file.

The excel file contain 1 line data, but still the error said "Either BOF or EOF is True, or the current record has been deleted. Requested operation requires a current record".

 

I really need the solution asap. Thank you.

  • Nursyamim's avatar
    Nursyamim
    6 years ago

    I just add another data in the excel sheet. Means that the excel sheet contain two line of data and TestComplete throw no error anymore.


    TanyaYatskovska wrote:

    Thanks everyone for the help!

    Nursyamim, have you managed how to resolve your question?


     

  • tristaanogre's avatar
    tristaanogre
    Esteemed Contributor

    Please share your code.

    Basically, what that error ususally indicates is that the result set of the DDT is empty. 

    • AlexKaras's avatar
      AlexKaras
      Champion Level 3

      what that error ususally indicates is that the result set of the DDT is empty. 

      ... and my guess that this may be because you specified that the first row of data set contains column names while they are absent.

       

      • Marsha_R's avatar
        Marsha_R
        Moderator

        Sounds like your DDT loop may be one row off.  And yes, we'd like to see the code.