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
When we r doing data driven test with chkpts, i want to insert formulae in data sheet but i didn't get. How we wil do that plz. explain in detail.
What is the architecture of your project? Can any one answer for this question plz........
Diff b/w Health care domain and Banking Domain?
www.icici.com ,after this.. home page wll came, in this page what r the items we r going to test for manual and what are items we r going to test for QTP... explian clearly with example
What is the extension of qtp local repository?
How to use actions in qtp ?
What are the differences between quicktest professional (qtp) and winrunner?
Which HTML specification will be adhered to? How strictly? What variations will be allowed for targeted browsers?
How to build scripts that access data from external sources?
Discuss quicktest professional environment?
How many add-ins comes by default with quicktest professional?
What if recovery scenarios is also failed for identify the alert ? (We are handling unexpected popup through recovery scenarios but if still recovery scenarios also failed than what should be the approach)
How u will do versioning in QTP?
What is difference between run time object and test object?
how can i pass a "cript"as a parameter in to a function