Categories

Apr 16 in QuickTest Professional (QTP)
Q:

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

1 Answer

Apr 16
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”)
Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

Madanswer
Apr 13 in QuickTest Professional (QTP)
Jan 16 in QuickTest Professional (QTP)
Apr 16 in QuickTest Professional (QTP)
...