Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getrowcount
#1
Solved: 11 Years, 3 Months, 3 Weeks ago
Extracted Code :
Code:
Dim IntNumberOfIterations

IntNumberOfIterations = DataTable.GetRowCount

Msgbox IntNumberOfIterations
-------------
Though the excel sheet attached to the script has data in only 84 rows, it shows as 65535 ( all rows in excel sheet). How to solve the solution. No. Of rows keep changing according to scenario, so cannot hardcode as 84.
Reply
#2
Solved: 11 Years, 3 Months, 3 Weeks ago
Today I have checked with my senior Automation tester, the solution was that delete all rows that are not needed for the automation test. ( I have already done that before but still the problem was there). Then i realised that one of the whole column was shaded with grey colour in all the cells. I cleared the colour in the column, then it worked fine.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)