QTP Data Table Having 10 records with 10 to 15 fields(lets
say).now i want to get alternative records from datatable.pls
can any one answer it?

Answer Posted / veeranki naveen goud

set dtsheet1 = datatable.GetSheet(1)
rcount = dtsheet1.GetRowCount
ccount = dtsheet1.GetParameterCount
For i = 1 to rcount step 2
dtsheet1.SetCurrentRow i
For j = 1 to ccount
n = dtsheet1.GetParameter(j).ValueByRow(i)
msgbox n
Next
Next




Regards,
Veeranki Naveen,
Noida.

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many add-ins comes by default with qtp?

547


What are the differences between qtp and winrunner?

537


How to use transactions in qtp?

565


hi guys, pls tell me for testing institution training hub, hitech city is best or not?

1323


please post the interview questions for QA position in FACTSET

3954






How to start recording using quicktest professional?

610


What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?

704


what the difference between shared repository and per action repository?

551


What are the key elements available in test result window?

629


action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans

1630


what is the frame work in J-meter?

1605


What is fragmentation and paging?

1594


What are the technics follow in writing VB script?

1535


Explain quicktest professional testing process?

564


what are the challenges you have faced while testing web based application using the automation tools ?

598