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
Is This Answer Correct ? | 13 Yes | 0 No |
Post New Answer View All Answers
What are benefits of qtp?
How will you handle java tree in qtp?
What are the various types of Actions in UFT?
What are table and db checkpoints?
What is exact meaning of Database Checkpoint in QTP 9.2 and what are the different types of the database check points?
Which is the best QTP training institute in Delhi/NCR region and what is the approximate fee for QTP course (Basics and Advanced)
How many types of recording modes in qtp?
What is the difference between run time object and test object?
what is the difference between the modular framework and datadriven frame work
What is fragmentation and paging?
Please provide specific examples of advanced/creative usage of QTP, including how impact & benefits for your project
Whats the realtime QTP testing process
What is the difference between call to existing action and copy of an action?
what difference between runtime object and text object and what property they have. whether they have same properties or different properties.
How to run an integrated test scenario using Multiple Actions? How to use the QTP Step Generator?