how can we retrieve ten rows from the data table using

loop concept?

Answer Posted / sreeprasad

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 ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

When to use descriptive programming?

795


What r the different filters in defect in quality center

3503


How to start recording using quicktest professional (qtp)?

798


Object repositories types, which and when to use?

816


What is the difference between run time object and test object in QTP?

785


Could anyone help me for the below scenario: i am using the descriptive programming for my account, in which we have to generate the contract in the MS-word. when i generate this doc, we need to click on enable macros to continue further. but i am unable to make qtp to click on this. if anybody faced the problem like this??? pls help to get it resolved? Thanks in advance

1620


How to execute a winrunner script in quicktest professional (qtp)?

691


Is it possible to call win runner script in qtp?

842


In qtp, how you can use xpath to identify objects?

823


Output values? i want a practical example

1508


What are the different recording modes?

735


Can QTP be used for GUI testing ?, We are using Java with MySQL and Operating system is Linux. We are NOT using the web.

2130


What test you perform mostly? Regression or retesting in your testing process?

789


What are the various automation frameworks available in qtp?

727


How to change the priorities of the recovery scenario properties?

828