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


Please Help Members By Posting Answers For Below Questions

What is the basic concept of quicktest professional (qtp)?

672


Hoe can we do retesting using functions please give the code for it using login page

1650


How can i use virtual objects? If have i created one new virtual object in a virtual object manager by following instructions.

1538


Hi could some one explan what is the use of the function Defination generator, And how to use the function defination generator.. Explan with the example..

1439


How to attach a file to TD?

756






Have you used xml check point in your project? How?

632


your coming from electrical backgroung..but y ur coming to software side?

1471


i need qtp tutorial. pls send it to sridhar.k151@g mail.com

1755


How should I click on the right click menu objects When I trying to add the object properties to the OR.It is showing only Window(Window).Not all the objects of the window. Also while recording I found No script. How to solve this>.

1629


How to associate shared object repository to test in qtp?

615


The structure of keyword driven frame work is like a folder structure the different sub folder are 1-functional libray folder 2-object repository folder 3- database folder 4-appliction1.xls 5-initalzation vbs file 6-sequence file 7-driver script 8-test case list file My question is whether these are in a local server machine or in our pc.((whether It like Vss). can u give example of driver script(code)

2898


can any body tell me how i create a simple script and apply output value on it .pls send me a step by step process

1365


Explain the qtp test phases.

706


Hi Samrat, Thank u very much, what u said it is right.

1474


Hi, My name is kishan. I have good Conceptual Knowledge on QTP. In order to Boost up my Confidence Level, I want to do a Project oriented Training only on QTP in Hyderabad. Kindly Let me know which is the Best QTP Project Training Institute in Hyderabad. Thanks in Advance kishan

2173