how can we retrieve ten rows from the data table using loop
concept?

Answer Posted / arjuncr

rows=datatable.getrowcount
set globalsheet=datatable.getsheet("global")
for i=1 to rows step 1
datatable.set currentrow(i)

prameterize steps

next

it retrives not only ten rows .even more than 100 rows in a
datatable

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the views available in quicktest professional?

561


before launching qtp, we need to close all the open browsers u dont know what are all the browsers either it might be ie,mozilla etc and u dont know how many brosers are open.... u need to close all these before launching qtp.. can anyone plz temme d solution...

7228


what is meant by function library?Public and private functions in function library? if private functions are applicable for only for the particular test means then y we have to add those to function library?

1375


Did the scripts need lot of maintenance? If yes, why?

3296


Can any one explain me what is the procedure to connect the remote desk by using QTP 9.2 ?

1517






What is a data driven test in qtp?

585


I am trying to install QTP 9.5 but i am getting error message saying that ("Path is \QuickTest Professional\bin\vb_init.exe") vb_init.exe file is not find. can anybody give me the advise what to do ?

1765


Describe how Smart Identification is used

1697


I want to do Certification course in QTP. For this I request you to suggest the best Tutorial in PDF format, if possible, kinldy mail PDF file to my mail-ID: ramakrishna908@gmail.com Regards, krishna.

1467


could any help me please, how to work on visual foxpro application using UFT

1687


What is expert view and keyword view?

625


Hi All, How to Compare two strings character by character in QTP

953


Our company is having a windows client server application developed in vb.net. so there is a treeview and i am not in a position to record the click events in QTP. so kindly help. Vivek

1569


Can launch two instances of qtp on the same machine?

581


How do you delete unwanted results in qtp?

604