in QuickTest Professional (QTP) by
Q:

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

Related questions

+1 vote
asked Apr 13, 2020 in QuickTest Professional (QTP) by rajeshsharma
+1 vote
asked Jan 16, 2020 in QuickTest Professional (QTP) by JackTerrance
+1 vote
asked Apr 16, 2020 in QuickTest Professional (QTP) by Robindeniel
+1 vote
asked Sep 12, 2020 in QuickTest Professional (QTP) by JackTerrance
+1 vote
asked Jan 16, 2020 in QuickTest Professional (QTP) by JackTerrance
...