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.
Solved! Go to Solution.
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.
@TanyaGorbunova wrote:
Thanks everyone for the help!
@Nursyamim, have you managed how to resolve your question?
Please share your code.
Basically, what that error ususally indicates is that the result set of the DDT is empty.
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.
Sounds like your DDT loop may be one row off. And yes, we'd like to see the code.
Code please.
@vthomeschoolmom wrote:
Code please.
Figure below shows the Excel file (EquipmentOverlay) used in my DDL. It contain 1 data only in line 2.
Figure below shows the KeywordTest (DDL) where the error point to this line.
Figure below shows my DDL that I used which Start record From the beginning and End record To record number 1.
@Marsha_R, You may see my new reply with some screenshots.
I suggest putting a breakpoint just before the loop and using debug to step through it. Then you can see what it's really doing.
Is this what you mean? Sorry, I'm new to TestComplete. Btw, this is the Dispatch_List_All test item.
Yes, and you can use this to run the test one step at a time.
https://support.smartbear.com/testcomplete/docs/testing-with/debugging/running/stepping-through.html
This way you can see exactly what's happening when.
User | Count |
---|---|
5 | |
4 | |
3 | |
2 | |
1 |