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

Answer Posted / srikanth

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("Column1","Global")
msgbox(returnvalue)
next

Is This Answer Correct ?    7 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an optional step in qtp ?

627


Does QTP10 supports Windows 7OS +IE 9 combination? Which is the preffered combination ,Plz let me know?

2966


Connect to QC using AOM.

1228


one screen page,that contains file , browse , update and cancel buttons.when we browse a file it should get update otherwise it should go to previous page.write negative test case for that.

1513


If I change the object name in one action will it be updated in all the actions? Or not?

590






I have created 3 actions in test action1, action2, action3 but I want run action 1,action 3,action2 how can you change in the actions in keyword view?

604


what r the main attributes of test automation?

1472


Should have experience in framework means?

1411


Explain measuring transaction.

578


In qtp, how you can remove the spaces from string?

538


Which scripting language used by quicktest professional?

524


What is expert view in qtp?

573


How you calling actions in qtp?

621


What is the extension of the qtp local repository?

557


What is a quick test professional?

618