03-05-2009, 08:43 PM
Checkout the DataTable under the following help:
QuickTest Object model reference -> Utility Objects -> DataTable object.
I have used once like this to read from the global data table: DataTable("Name", dtGlobalSheet)
This will read the data under column: Name, of the row that corresponds to current iteration.
Also was able to access like this (my global data table has been just named 'Global"):
If you look at the help, you will find some more info, so that you can access data at specific row, column.
Tips: When you read values...pay attention to the type of the data...After the value is read, may be you want to convert into String using CStr(...) so that you can compare easily...
QuickTest Object model reference -> Utility Objects -> DataTable object.
I have used once like this to read from the global data table: DataTable("Name", dtGlobalSheet)
This will read the data under column: Name, of the row that corresponds to current iteration.
Also was able to access like this (my global data table has been just named 'Global"):
Code:
DataTable.GetSheet("Global").GetParameter("Type").value
Tips: When you read values...pay attention to the type of the data...After the value is read, may be you want to convert into String using CStr(...) so that you can compare easily...