Multiple choice technology testing

To retrieve the number of rows in datatable, which of the following methods can be used?

  1. GetCount

  2. Count

  3. RowCount

  4. GetRowCount

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

In QTP/UFT DataTable object, the GetRowCount method is used to retrieve the number of rows in a sheet. Common alternatives like GetCount, Count, or RowCount do not exist or serve different purposes in the DataTable object model.