Access Datatable Values

How can we access values from datatable ?

Questions by pvsagar   answers by pvsagar

Showing Answers 1 - 3 of 3 Answers

We have a datatable Object in QTP which provides many methods to access the values and update values.

Assuming you have values in the Datatable.

Lets say you  want to get value of the second row and first column of global sheet

then
Datatable.SetCurrentRow(2) ' Set row to get the value
msgbox Datatable.Value("ColumnName", dtglobalsheet)

If that does not answer you ques let me know what specific you need

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions