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

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

548


How will you report the bug and explain the defect tracking sheet you handled?

2552


In the application that I'm testing is having a WYSIWIYG editor.QTP is recording editor's body as web element. I want to add some data to this web Element at run time. The problem is that I cant find a method to add contents to this web Element. Can any one come up with an answer for this. Thankx.

1443


.have you ever written compiled module? if yes , tell me about some of the function that you wrote.

1682


What is a data driven test in qtp?

585






How to analyzing test results using quicktest professional (qtp)?

588


What is different command used in command Prompt while using QTP?

1747


who QTP recognizes the object stored in object repository?

1662


how to know no.of mails in our g mail by using vb-script

1779


What is method name to compare two XML files.

1537


What is the difference in testing a client-server application and a web application?

583


What are the five challenges you faced in QTP?

2754


If the objects hierarchy is changing from build to build, then how you will handle that condition?

619


What are the key elements available in test result window?

624


can i compare two databases using QTP ?

1882