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

Answer Posted / uday kumar. a

Assume "Column1" is my column name in the Global Data
table, then use this code:
for i=1 to 10
datatable.setcurrentrow(i)
returnvalue=datatable.value("Column1","Global")
msgbox(returnvalue)
next

Is This Answer Correct ?    18 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can any body please tell me the steps of keyword driven framework of QTP.

1567


How to handle dynamic objects in quicktest professional (qtp)?

546


For example you are checking bit map check point before coming to the results. How can you say it is passed? Or failed? Anyways?

617


i'm using the qtp to test to vb appliction,i wanted to get the new application's title.i didn't want to use the winAPI to get it ,i 'd like to know whether a QTP function can do it. Eg: SystemUtil.Run "C:\Program Files\.....","","","" 'run an application, and misure the application is activating,then how to get the hwn wihtout using windowns api

1491


what are the limitations of smart identification in qtp 9.0

1925






What are the different types of functions available in qtp and explain ?

569


hi can any body give me a script for creating a modularity or keyword driven framework..i am working as a qtp tester for 2 months but still i am not exposed to framework in my company

1428


How does qtp identify objects in the application?

583


What are the different types of qtp test assets and their extensions?

599


How to data driven test for Win objects in QTP ?

1475


How can you identify the browser and its information using the qtp script?

585


How you can find length of array in qtp?

542


How does qtp identify the object in the application?

537


why you have standardized functions? plzzz guys with real time exp. do answer

1437


What is contained in the object repository?

619