help! how to get total row count in Excel File datasource?
SOLVED- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2012
11:04 AM
12-06-2012
11:04 AM
help! how to get total row count in Excel File datasource?
hi,
I need some help here, I need to get the total row count in a Excel File which is used as DataSource. Does anyone know hot to do that?
Thanks,
Sherry
I need some help here, I need to get the total row count in a Excel File which is used as DataSource. Does anyone know hot to do that?
Thanks,
Sherry
Solved! Go to Solution.
2 REPLIES 2
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-21-2019
12:13 PM
08-21-2019
12:13 PM
To get the total number of rows in the Excel.
def rowCount = testRunner.testCase.getTestStepByName('DataSource').rowCount;
or
def rowCount =testRunner.testCase.testSteps["DataSource"].rowCount;
Note: Assuming that DataSource is the name of the Step.
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-05-2019
06:54 AM
09-05-2019
06:54 AM
Hi all,
Thanks for the reply, @georgetjose !
@Sherry, is this what you were looking for?
Olga Terentieva
SmartBear Assistant Community Manager
