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
How many add-ins comes by default with qtp?
What are the differences between qtp and winrunner?
How to use transactions in qtp?
hi guys, pls tell me for testing institution training hub, hitech city is best or not?
please post the interview questions for QA position in FACTSET
How to start recording using quicktest professional?
What is the syntax to call one script from another? And what can be the syntax to call one “action” in another?
what the difference between shared repository and per action repository?
What are the key elements available in test result window?
action contains public and private functions but do we resuable that action or not..If it is reusable How..plz tell me the ans
what is the frame work in J-meter?
What is fragmentation and paging?
What are the technics follow in writing VB script?
Explain quicktest professional testing process?
what are the challenges you have faced while testing web based application using the automation tools ?