+1 vote
in QuickTest Professional (QTP) by

In datatable sheet in UFT, how to read a value from the cell?

1 Answer

0 votes
by
To read a value from the cell, we follow 2 step process

a)      We set the row pointer in first step

b)      In second step we define the parameter/column name from the sheet to read

Example:

For this example, we have set the row pointer to 2 in transaction sheet

Datatable.GetSheet(“Transactions”).SetCurrentRow(2)

Now, we have to specify that we want to read a value from the module_name column from the transaction sheet

   Print datatable.Value (“Module_Name, “Transactions”)

Related questions

+1 vote
asked Apr 13, 2020 in QuickTest Professional (QTP) by rajeshsharma
0 votes
asked Apr 13, 2020 in QuickTest Professional (QTP) by rajeshsharma
...