sealockw
13 years agoNew Contributor
Data driven test won't stop
Hi All,
Having an odd problem with a data driven test - being fairly new to TestComplete I thought I'd post this here to see if anyone has had a similar problem. We created a data driven keyword test to validate some data on one of our forms, and it works pretty good. We are using an Excel worksheet for our data, there is about 200 rows and 5 columns of data, and there are no blank cells in any of the data. The problem we're having is that the first 200 times through the data driven loop everything works fine, however, TestComplete tries the loop 201 times, and of course that last time it fails because the entire row is empty. In the data driven loop we did not define how many rows to execute as we expect this list of data to expand as time goes on. We've tried everything else, i.e., validating that rows 201+ are all entirely blank. We've even tried reducing the number of rows down to 4 and TestComplete still tries the loop 5 times. We've also copy and pasted just the table data to a new Excel sheet and it still tries to do more data driven loops than data rows. The especially odd thing is that when we were developing the test we started with a sheet with 4 rows of data, and it worked as expected. This problem started after we expanded the worksheet to 200 rows of data, and the problem continues even if we reduce the worksheet to the original 4 rows of data.
So, is TestComplete supposed to automatically figure out the end of the Excel file? Has anyone else had an issue like this?
Thanks.
Having an odd problem with a data driven test - being fairly new to TestComplete I thought I'd post this here to see if anyone has had a similar problem. We created a data driven keyword test to validate some data on one of our forms, and it works pretty good. We are using an Excel worksheet for our data, there is about 200 rows and 5 columns of data, and there are no blank cells in any of the data. The problem we're having is that the first 200 times through the data driven loop everything works fine, however, TestComplete tries the loop 201 times, and of course that last time it fails because the entire row is empty. In the data driven loop we did not define how many rows to execute as we expect this list of data to expand as time goes on. We've tried everything else, i.e., validating that rows 201+ are all entirely blank. We've even tried reducing the number of rows down to 4 and TestComplete still tries the loop 5 times. We've also copy and pasted just the table data to a new Excel sheet and it still tries to do more data driven loops than data rows. The especially odd thing is that when we were developing the test we started with a sheet with 4 rows of data, and it worked as expected. This problem started after we expanded the worksheet to 200 rows of data, and the problem continues even if we reduce the worksheet to the original 4 rows of data.
So, is TestComplete supposed to automatically figure out the end of the Excel file? Has anyone else had an issue like this?
Thanks.