ContributionsMost RecentMost LikesSolutionsRe: how to get total row count in Excel File Datasource def sourceName = testRunner.testCase.getTestStepByName('DataSource'); def dsRows = sourceName.rowCount; how to add leading zero to a string or integer using groovy script how to add leading zero to a string or integer using groovy script a = 12345 Result should be 0000012345 (Len = 10) SolvedRe: how to get total row count in Excel File Datasource Can we skip first row from the data sheet ?? how to get total row count in Excel File Datasource Using groovy script, 1) how can I get total row count in a Excel File which is used as DataSource? 2) How can I get Data from a specific row in a Excel File which is used as DataSource? Same question was posted couple of years back, no reply for that post. Hopefully I will get an answer form SmartBear Solved