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 / pushkar1206
datatable.AddSheet"pushkar"
datatable.ImportSheet "C:UserspushkarDesktopBook1.xls","Sheet1","pushkar"
rw=datatable.GetSheet("pushkar").GetRowCount
clm=datatable.GetSheet("pushkar").GetParameterCount
For i=1 to rw step 2
For j=1 to clm
a=datatable.GetSheet("pushkar").GetParameter(j).valuebyrow(i)
msgbox a
Next
Next
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Explain qtp(quick test professional)?
What is checkpoints for qtp?
Explain the concept of object repository?
Is any limitation to xml checkpoints?
Which recording modes need more memory?
what QTP Options do you know?
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?
Explain more about the Test Fusion Report of QTP?
Differences between text and test area checkpoints?
What are the differences between table and db checkpoints?
Why qtp the best testing tool?
Discuss quicktest professional environment?
Can we use index on view?
Explain data driven framework?
What is fragmentation and paging?